-
-
Notifications
You must be signed in to change notification settings - Fork 189
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
BUGFIX: Fix PhpAnalyzer to support PHP 8 #2640
Conversation
019d90c
to
b3ef1cb
Compare
@kitsunet You gave a comment about this in Slack, will you give some more details on it here, and comment on, whether or not this is a possible fix to the issue described? |
The issue in question is certainly easy enough to fix and fine by me to do so. My concern is that we haven't tested these versions with PHP 8 at all and regardless if you define php 8 as platform requirement in your project our third party dependencies in older versions might not work well with php 8 (and won't upgrade due to the restrictions we set on them because of breaking changes). @albe did quite a lot in regards to PHP 8 and might say something about compatibility for those older versions. |
I only run composer with PHP 8 on my local machine and the platform config says PHP 7:
Flow also runs in the Docker container with PHP 7, so there should be no problems. |
@albe I've added you as a reviewer due to your work on PHP8 - can you perhaps say something about compatibility, this issue and corresponding PR? :) |
This is basically a backport of the change here https://github.com/neos/flow-development-collection/pull/2287/files#diff-1cd00214dc173a34516d6f0aa372b178fc74317426c648d9487e9a28e15c9963 and it should be fully backwards compatible (with the |
I need it for a 5.3 project, but you're right, it's not a security fix 😅 |
When running composer with PHP 8, the PhpAnalyzer did not work properly. Fixes: neos#2639
b3ef1cb
to
7dd591e
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.
Yeah, okay for me :)
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.
Fine by reading
When running composer with PHP 8, the PhpAnalyzer did not work properly.
Fixes: #2639
Checklist