Skip to content

PHP 8.1 Compatibility #366

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

Merged
merged 1 commit into from
Feb 9, 2022

Conversation

sivaschenko
Copy link
Member

@sivaschenko sivaschenko commented Feb 8, 2022

Preventing the error appearing on PHP 8.1:

------------------------------------------------------------------------------------------------------------------------------------------------------
 1 | ERROR | An error occurred during processing; checking has been aborted. The error message was: trim(): Passing null to parameter #1 ($string) of
   |       | type string is deprecated in
   |       | /Users/sivashch/Projects/magento-coding-standard/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniff.php on line 131
------------------------------------------------------------------------------------------------------------------------------------------------------

Test builds sensitivity improved in #367

Fixes https://jira.corp.magento.com/browse/AC-2349

@sivaschenko
Copy link
Member Author

@magento import pr to magento-commerce/magento-coding-standard

@m2-github-services
Copy link
Contributor

@sivaschenko the Pull Request is successfully imported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants