-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Provide PHP 8.1 support #27
Conversation
- Adds 8.1 to the PHP constraint - Changes how we replace zend-escaper - Renames "replace" to "conflict" in `composer.json`, and sets the constraint for "zend-escaper" to "*" - Removes laminas-zendframework-bridge requirement - Adds Laminas CI configuration to ignore PHP platform req on PHP 8.1 builds Signed-off-by: Matthew Weier O'Phinney <[email protected]>
This patch also resolves #13 |
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.
Psalm seems to complain in this one:
Error: Syntax error, unexpected '=' on line 125
In part to ensure that psalm is running with the same version on the CI platform. Signed-off-by: Matthew Weier O'Phinney <[email protected]>
Syntax flagged is valid under PHP 8, which is the only time the symfony/polyfill-mbstring bootstrap80.php file should be loaded. Signed-off-by: Matthew Weier O'Phinney <[email protected]>
Yep - it's a PHP 8-specific symfony/polyfill-mbstring file; it should be excluded from our scans (as it's in the vendor tree), but for some reason is still showing. I updated the baseline so that it gets ignored, and tests are now green. |
This patch provides PHP 8.1 support, by making the following changes:
composer.json
, and sets the constraint for "zend-escaper" to "*"Fixes #13