-
-
Notifications
You must be signed in to change notification settings - Fork 188
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
TASK: Level up to phpstan 2 (Flow 9 adjustments) #3217
Conversation
Neos.Flow/Classes/Persistence/Doctrine/Mapping/Driver/FlowAnnotationDriver.php
Outdated
Show resolved
Hide resolved
Neos.FluidAdaptor/Classes/Core/Parser/Interceptor/ResourceInterceptor.php
Show resolved
Hide resolved
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.
Generally like this very much, left some questions
61e68f7
to
fe8df10
Compare
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.
.
Neos.FluidAdaptor/Classes/Core/Parser/Interceptor/ResourceInterceptor.php
Show resolved
Hide resolved
fe8df10
to
162cc34
Compare
ee9dfbc
to
1d29723
Compare
1d29723
to
085967a
Compare
9d12dc0
to
490eb2d
Compare
This is now ready to be merged. The tests are now completely green with phpstan level 2. NOTE FOR REVIEWERS |
Thänks @kitsunet ❤️ |
Fyi i also created a backport for Flow 8.3 #3264 |
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.
+1 by reading
i think it would make sense to merge the backport first to not mess to much with the history: #3264 The backport basically contains all changes of |
22cc909
to
100c5f3
Compare
c96b531
to
5dd18f1
Compare
…:process` early return Previously it was assumed that `$node` is always a `TextNode`, as the following code implies, by calling for example `getText`. This might fail, as this is a generic processor. And for full correctness we will just early return instead of causing an error.
…ation This must be cleaned up at some point: See #3272
5dd18f1
to
984971c
Compare
As the issue is fixed: phpstan/phpstan#8629
The upgrade to phpstan level two was introduced via #3264, this holds the flow 9 specific adjustments.
Related (phpstan level 1) #3216
Upgrade instructions
Review instructions
Checklist
FEATURE|TASK|BUGFIX
!!!
and have upgrade-instructions