-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Allow use of PHPCompatibilty:dev-develop #40
Comments
@GaryJones I have a feeling I already answered this for you before ? Either way, the answer hasn't changed: composer config minimum-stability dev
composer require --dev phpcompatibility/php-compatibilitywp
composer require --dev phpcompatibility/php-compatibility:"dev-develop as 9.99.99" The We ourselves use the same principle to already run the tests against PHPCompatibility
Note: once PHPCompatibility 10.0.0 has come out, this repo will get a 3.0.0 release based on PHPCompatibility 10.0.0. |
I thought you had too, but I couldn't remember it :-) Thank you! |
@GaryJones No worries. |
The PHPCompatibilityWP package is tied to the 9.x release of the PHPCompatibility package. The current 9.3.5 release of PHPCompatibility has not been updated since December 2019 and I believe is missing quite a few updated sniffs for PHP 8.x syntax. See: PHPCompatibility/PHPCompatibility@9.3.5...develop This labels the PHPCompatibility `develop` branch as a 9.99.99 release, which satisifies the PHPCompatibilityWP requirements and improves scanning for PHP 8.x compatibility. See: PHPCompatibility/PHPCompatibilityWP#40 (comment) Changes: * `composer config minimum-stability dev` * `composer require --dev phpcompatibility/php-compatibility:"dev-develop as 9.99.99"` * `composer update phpcompatibility/phpcompatibility-wp`
tnx, needed this, happy ny |
Installing the master branch / latest release of PHPCompatibilityWP will use PHPCompatibility
^9.0
.It would be useful to be able to install a (temporary) version of PHPCompatibilityWP that would use the
dev-develop
branch of PHPComapatibility, so that sniffs with some PHP 8 focus can be used.What's the best way of providing that?
(Either as a new branch here, or instructions in the readme on how users can adapt their project / global install)
The text was updated successfully, but these errors were encountered: