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

Test with PHPCS 4.x and allow installation when using PHPCS 4.x #107

Closed jrfnl closed 4 years ago

jrfnl commented 4 years ago

Proposed Changes

Development for PHPCS 4.x has started in a new 4.0 branch.

This PR is two-fold:

  1. On the one hand, it adds testing against PHPCS 4.x to the Travis matrix as an early warning system in case any cross-version compatibility fixes would be needed for the plugin itself. The build against 4.x-dev has been added to allow_failures for now. Note: as PHPCompatibility currently doesn't allow for PHPCS 4.x (yet), I'm aliasing the install to 3.9.99 for testing purposes in the Travis build only.
  2. On the other hand, it allows installation in combination with PHPCS 4.x, which will in turn allow external standards which require this plugin, to start testing their standard against the PHPCS 4.x-dev branch. As it was now, external standards would get the plugin at version 0.4.4 as that's the last version with a PHPCS * constraint.

Related Issues