-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
PHP8: add crashing nullable type case #5400
Conversation
Integration test to verify that property promotion with nullable type does not crash the Tokenizer. | ||
--RULESET-- | ||
{ | ||
"ternary_to_elvis_operator": true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
random rule. not related to the problem...
most probably the test case can be moved directly to TokenizerTest
class
Most probably related to #5404 🙂 |
lets restart the CI and confirm that assumption. but looks promising indeed |
In general, after #5404 tokenizer works properly with property promotion and nullable types and as long as test cases have proper Side questions:
|
fd47229
to
6e027cb
Compare
@Wirone , can you please point to cases where
probably code create before
I did rebase and cannot see the link content anymore. Anyway, could be related to GitHub Action configuration: |
works smoothly now, looks like #5404 saved the day indeed!
|
This PR was squashed before being merged into the 2.17 branch. Discussion ---------- Add PHP8 integration test ref #4702 There are ~3~ 4 cases still crashing in the spec files: - [x] nullsafe operator -> PHP 8.0.1 to be released at 7th - [x] attributes #5406 - [x] union types for method parameters #5405 - [x] union types for class properties #5439 I also found the following issues that I raised as separated PRs: - [x] ~#5396~ -> #5397 - [x] ~#5400~ -> #5404 Commits ------- 324929f Add PHP8 integration test
Sorry for radio silence, I missed this notification. I did not see any |
anyone willing to take over?