PHPCSStandards / composer-installer

Composer installer for PHP_CodeSniffer coding standards
https://packagist.org/packages/dealerdirect/phpcodesniffer-composer-installer
MIT License
552 stars 36 forks source link

Allow installation on PHP 8 #106

Closed jrfnl closed 4 years ago

jrfnl commented 4 years ago

Proposed Changes

As it was, the plugin when used by external standards, would block them from being tested on PHP 8.

As all the dependencies in the require section allow for PHP 8, there is no reason not to allow it.

The only dependencies currently in use which do not allow for PHP 8 yet are in the require-dev section. See the below output.

This includes updating the Travis script to:

As the Travis build on PHP nightly passes, I'm semi-confident that all should be good, though confidence will grow once we add more unit/integration tests.

# composer prohibits php:8

composer/composer          1.9.3   requires  php (^5.3.2 || ^7.0)
composer/semver            1.5.1   requires  php (^5.3.2 || ^7.0)
seld/jsonlint              1.7.2   requires  php (^5.3 || ^7.0)
symfony/console            v4.4.4  requires  php (^7.1.3)
symfony/filesystem         v4.4.4  requires  php (^7.1.3)
symfony/finder             v4.4.4  requires  php (^7.1.3)
symfony/process            v4.4.4  requires  php (^7.1.3)
symfony/service-contracts  v2.0.1  requires  php (^7.2.5)
Potherca commented 4 years ago

Nice work! Merging to master.