Skip to content

Commit 1d3ca7f

Browse files
committed
ci: update PHPCS dev branch from master to 3.x
The PHPCS repository moved from squizlabs to phpcsstandards and no longer has a master branch. The dev CI jobs need to track the 3.x branch until WPCS (and by extension VIPCS) is compatible with PHPCS 4.x.
1 parent d14c4c5 commit 1d3ca7f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/basics.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ jobs:
4242
run: composer validate --no-check-all --strict
4343

4444
- name: 'Composer: adjust dependencies'
45-
# Using PHPCS `master` as an early detection system for bugs upstream.
46-
run: composer require --no-update --no-scripts squizlabs/php_codesniffer:"dev-master" --no-interaction
45+
# Using PHPCS `3.x` as an early detection system for bugs upstream.
46+
run: composer require --no-update --no-scripts squizlabs/php_codesniffer:"3.x-dev" --no-interaction
4747

4848
# Install dependencies and handle caching in one go.
4949
# @link https://github.com/marketplace/actions/install-php-dependencies-with-composer

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ jobs:
117117
if: ${{ matrix.dependencies == 'dev' }}
118118
run: >
119119
composer require --no-update --no-scripts --no-interaction
120-
squizlabs/php_codesniffer:"dev-master"
120+
squizlabs/php_codesniffer:"3.x-dev"
121121
phpcsstandards/phpcsutils:"dev-develop"
122122
phpcsstandards/phpcsextra:"dev-develop"
123123
sirbrillig/phpcs-variable-analysis:"2.x"

0 commit comments

Comments
 (0)