-
Notifications
You must be signed in to change notification settings - Fork 874
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP 8.2 Support #5300
PHP 8.2 Support #5300
Conversation
- #4725 - https://wiki.php.net/rfc/null-false-standalone-types - Fix `UnusableTypesHintError` - Add/Fix unit tests
- #4725 - https://wiki.php.net/rfc/true-type - Fix `UnusableTypesHintError` and CC - Add/Fix unit tests for the Hint, the Navigator and CC
…-true-as-stand-alone-types PHP 8.2 Support: Allow `null`, `false`, and `true` as stand-alone types
- #4725 - https://wiki.php.net/rfc/readonly_classes - Fix the grammar file - Add `PHP82UnhandledError` - Add/Fix unit tests for the parser, the lexter, and the index
- #4725 - https://wiki.php.net/rfc/readonly_classes - Fix hints for readonly classes - Add the code template for a readonly class - Add unit tests for hints, formatter, and CC
PHP 8.2 Support: Readonly classes
- https://issues.apache.org/jira/browse/NETBEANS-5599 - RFC:https://wiki.php.net/rfc/new_in_initializers - Support for field and method access for constant (e.g. `const C = new A(); C->field; C->method();`) - Fix the parser - Fix PHP81UnhandledError
- #4725 - https://wiki.php.net/rfc/fetch_property_in_const_expressions - Fix the grammar file - Fix CC: add the readonly name property to enums - Add/Fix unit tests for the parser and CC
…ms-in-const-expressions PHP 8.2 Support: Fetch properties of enums in const expressions
- #4725 - https://wiki.php.net/rfc/constants_in_traits - Fix the grammar file - Fix `PHP82UnhandledError` - Add/Fix unit tests for the parser, the lexer, and `IncorrectEnumHintError`
- #4725 - https://wiki.php.net/rfc/constants_in_traits - Add trait constants to the index - Fix the navigator - Add unit tests for the index and the navigator
- #4725 - https://wiki.php.net/rfc/constants_in_traits - Fix coloring for trait constants - Add unit tests
- #4725 - https://wiki.php.net/rfc/constants_in_traits - Fix the code completion feature - Add unit tests
- #4725 - https://wiki.php.net/rfc/constants_in_traits - Fix the mark occurrences and the go to declaration - Add unit tests
- #4725 - https://wiki.php.net/rfc/dnf_types - Fix the grammar file, `PHP82UnhandledError`, and `UnusableTypeHintError` - Add/Fix unit tests for the parser
PHP 8.2 Support: Constants in Traits and Disjunctive Normal Form Types
I plan to merge this PR later today, once the checks are finished. Please, let me know if I should not do it. Thanks. |
It should be no problem. Thanks! |
restarted the failing job which is unrelated to this PR. This branch here seems to be fairly old since I still see travis in the checks. Although it would be better to rebase it to latest master, i think it might be still ok to merge since the PHP job didn't have any changes recently (and wasn't tested on travis). |
OK, so merging 🤞 |
#4725
This is a partial support. Some features don't work.