Open pabamato opened 10 months ago
Thanks for flagging this @pabamato!
I've managed to replicate this issue, but can't seem to find a way to resolve it 🤔 Do you have any thoughts here? The other option is that we add the following to the installation instructions until v10 of PHPCompatibility and V3 of PHPCompatibilityWP are released, which would resolve this issue.
composer require --dev phpcompatibility/php-compatibility:"dev-develop as 9.99.99"
Hi @darylldoyle, thanks for checking. I'm not sure we can resolve the issue without requiring the package at the project level. The proposed solution works for me.
Describe the bug
If you clone the project and run composer install, it installs
phpcompatibility/php-compatibility dev-develop
which has the latest PHP sniffs.But when is installed via package in a project, is still using
phpcompatibility/php-compatibility 9.3.5
:As a temp fix I added, the alias to my project:
composer require --dev phpcompatibility/php-compatibility:"dev-develop as 9.99.99"
Steps to Reproduce
create a file for testing
Screenshots, screen recording, code snippet
Environment information
No response
WordPress information
No response
Code of Conduct