Skip to content

Commit 4e37fb9

Browse files
committed
WAIT - PHPCSDevCS compatibility with PHPCS 4.x (may take a while) | GH Actions: run CS check against PHPCS 4.x dev
1 parent 9db39be commit 4e37fb9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/cs.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@ jobs:
3939
run: |
4040
# The sniff stage doesn't run the unit tests, so no need for PHPUnit.
4141
composer remove --no-update --dev phpunit/phpunit --no-scripts --no-interaction
42-
# Using PHPCS `3.x` as an early detection system for bugs upstream.
43-
# This should be changed to 4.x, but we'll need to wait for PHPCSDevCS to be compatible with 4.x.
44-
composer require --no-update squizlabs/php_codesniffer:"3.x-dev" --no-interaction
42+
# Using PHPCS `4.x` as an early detection system for bugs upstream.
43+
composer require --no-update squizlabs/php_codesniffer:"4.x-dev" --no-interaction
4544
4645
# Install dependencies and handle caching in one go.
4746
# @link https://github.com/marketplace/actions/install-php-dependencies-with-composer

0 commit comments

Comments
 (0)