Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/cs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ jobs:
run: |
# The sniff stage doesn't run the unit tests, so no need for PHPUnit.
composer remove --no-update --dev phpunit/phpunit --no-scripts --no-interaction
# Using PHPCS `master` as an early detection system for bugs upstream.
composer require --no-update squizlabs/php_codesniffer:"dev-master" --no-interaction
# Using PHPCS `3.x` as an early detection system for bugs upstream.
# This should be changed to 4.x, but we'll need to wait for PHPCSDevCS to be compatible with 4.x.
composer require --no-update squizlabs/php_codesniffer:"3.x-dev" --no-interaction

# Install dependencies and handle caching in one go.
# @link https://github.com/marketplace/actions/install-php-dependencies-with-composer
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/quicktest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
strategy:
matrix:
php: ['5.4', 'latest']
phpcs_version: ['3.1.0', 'dev-master']
phpcs_version: ['3.1.0', '3.x-dev']

exclude:
# PHP 3.1.0 is incompatible with PHP >= 8.0.
Expand All @@ -107,8 +107,12 @@ jobs:
- php: 'latest'
phpcs_version: '3.8.0'

- php: '7.2'
phpcs_version: '4.0.0'
- php: '7.2'
phpcs_version: '4.x-dev'
- php: 'latest'
phpcs_version: '4.0.0'
- php: 'latest'
phpcs_version: '4.x-dev'

Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,17 +113,27 @@ jobs:
#
# Additionally, PHPCS 4.x has a minimum version requirement of PHP 7.2.
php: ['5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5']
phpcs_version: ['dev-master', '4.x-dev']
phpcs_version: ['3.x-dev', '4.0.0', '4.x-dev']

exclude:
- php: '5.4'
phpcs_version: '4.0.0'
- php: '5.4'
phpcs_version: '4.x-dev'
- php: '5.5'
phpcs_version: '4.0.0'
- php: '5.5'
phpcs_version: '4.x-dev'
- php: '5.6'
phpcs_version: '4.0.0'
- php: '5.6'
phpcs_version: '4.x-dev'
- php: '7.0'
phpcs_version: '4.0.0'
- php: '7.0'
phpcs_version: '4.x-dev'
- php: '7.1'
phpcs_version: '4.0.0'
- php: '7.1'
phpcs_version: '4.x-dev'

Expand Down