Open enkhtulga-gantsagaan opened 2 years ago
@enkhtulga-gantsagaan Ready in draft, but as there is no release of PHPCompatibility yet which includes the PHP 8.1 notices (sorry, they are in develop
), PHPCompatibilty won't throw any errors/warnings for PHP 8.1 issues yet. Adding the ruleset here doesn't make sense yet until PHPCompatiblity 10.0.0 is being released.
You could update the master
branch (or observe that develop
branch git-flow scheme they do) so at least we can move forward
See, https://github.com/PHPCompatibility/PHPCompatibility/issues/1312#issuecomment-2302446408
I've created a fork here, https://github.com/Yapla-Labs/PHPCompatibilitySymfony
So at least I can install this package using the 10.x-dev
branch. I can also add the missing polyfill exclusions as we are using them.
In the composer.json
add,
"repositories": [
{
"type": "vcs",
"url": "https://github.com/Yapla-Labs/PHPCompatibilitySymfony.git"
}
]
And then composer require --dev -W phpcompatibility/phpcompatibility-symfony:dev-master
I realize now that I should have probably checkout a 10.x-dev
branch but oh well.
I'd like to request to add polyfill-php81.