pse-nltjtt opened a new issue #3749:
URL: https://github.com/apache/netbeans/issues/3749


   ### Apache NetBeans version
   
   Apache NetBeans 13
   
   ### What happened
   
   HI, 
   
   First of all, thank you to all the contributors for maintaining this 
NetBeans. 
   
   I'm using NetBean to work on project under PHP 7.4 (properly set in Project 
Properties)
   
   Since PHP 8.1 support and the introduction of the new "readonly" keyword 
(unfortunately used in some of my projects as part of namespace, for models) I 
have a lot of warning and errors.
   
   
![image](https://user-images.githubusercontent.com/4329458/157620299-69fa54f8-ca6c-4327-a348-539a1ce5155a.png)
   
   
![image](https://user-images.githubusercontent.com/4329458/157620429-e1495aa1-ff4a-44de-8a0e-644100ad521e.png)
   
   This new keyword was introduced in commits : 
   
https://github.com/apache/netbeans/commit/6c4457f594f3ed7a6340d39fc872a2800fb36aa3
   
https://github.com/apache/netbeans/commit/5f3e694a37a0342834a760df18641eebc3638251
   
   Is it possible to silent keyword notices, warnings and errors according to 
the project's PHP version ?
   
   PS : since PHP 8.0 keywords seems to be allowed in namespace.
   
   
![image](https://user-images.githubusercontent.com/4329458/157623404-408b0757-1ce9-4962-926d-dcaff6b0eb3b.png)
   
   https://3v4l.org/UEnf8
   
   
   ### How to reproduce
   
   _No response_
   
   ### Did this work correctly in an earlier version?
   
   Apache NetBeans 12.6
   
   ### Operating System
   
   Debian GNU/Linux 10 (buster) Linux 4.19.0-18-amd64 x86-64
   
   ### JDK
   
   OpenJDK Runtime Environment 11.0.14+9-post-Debian-1deb10u1
   
   ### Apache NetBeans packaging
   
   Third-party package
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to