Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Composer: add PHPCSUtils and PHPCSExtra as dependencies
Composer: * Add PHPCSUtils and PHPCSExtra as dependencies. * Remove the DealerDirect plugin from `require-dev` as well as from `suggests` as it comes with PHPCSUtils/PHPCSExtra automatically and not having it here may prevent conflicts with allowed versions in the future. Travis: * Alias PHPCS 4.x to `3.9.99` to allow testing with the dependencies before PHPCS 4.x is officially supported by them. * When testing with PHPCS 4.x, we need `--prefer-source` as otherwise the test files we use from PHPCS itself won't be included. The way I've implemented this uses a [new feature](composer/composer#6301) which is available since Composer 1.10.0 to selectively download from source. This prevents *all* packages being downloaded from source for the PHPCS `4.x` build, which would slow down the build and negate the Travis caching. Note: the install/upgrade instructions in the Readme and other documentation will be addressed in a separate PR late in the 3.0 cycle, so as not to confuse people using the latest release, while 3.0.0 development is ongoing.
- Loading branch information