Skip to content

Commit 27d5251

Browse files
committed
Update CI to use 3.x-dev instead of dev-master for PHPCS
1 parent 88299d5 commit 27d5251

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/csqa.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ jobs:
3232
coverage: none
3333
tools: cs2pr
3434

35-
# Using PHPCS `master` as an early detection system for bugs upstream.
35+
# Using PHPCS `3.x-dev` as an early detection system for bugs upstream.
3636
- name: 'Composer: adjust dependencies'
37-
run: composer require --no-update squizlabs/php_codesniffer:"dev-master"
37+
run: composer require --no-update squizlabs/php_codesniffer:"3.x-dev"
3838

3939
# Install dependencies and handle caching in one go.
4040
# @link https://github.com/marketplace/actions/install-composer-dependencies

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,24 +30,24 @@ jobs:
3030
# - PHP 8.0 needs PHPCS 3.5.7+ to run without errors.
3131
# - PHP 8.1 needs PHPCS 3.6.1+ to run without errors.
3232
php: ['7.1', '7.2', '7.3']
33-
phpcs_version: ['3.5.6', 'dev-master']
33+
phpcs_version: ['3.5.6', '3.x-dev']
3434

3535
include:
3636
# Make the matrix complete without duplicating builds run in code coverage.
3737
- php: '8.1'
3838
phpcs_version: '3.6.1'
3939

4040
- php: '8.0'
41-
phpcs_version: 'dev-master'
41+
phpcs_version: '3.x-dev'
4242
- php: '8.0'
4343
phpcs_version: '3.5.7'
4444

4545
- php: '7.4'
46-
phpcs_version: 'dev-master'
46+
phpcs_version: '3.x-dev'
4747

4848
# Experimental builds.
4949
- php: '8.2' # Nightly.
50-
phpcs_version: 'dev-master'
50+
phpcs_version: '3.x-dev'
5151

5252
name: "Test: PHP ${{ matrix.php }} on PHPCS ${{ matrix.phpcs_version }}"
5353

@@ -62,7 +62,7 @@ jobs:
6262
run: |
6363
# On stable PHPCS versions, allow for PHP deprecation notices.
6464
# Unit tests don't need to fail on those for stable releases where those issues won't get fixed anymore.
65-
if [ "${{ matrix.phpcs_version }}" != "dev-master" ]; then
65+
if [ "${{ matrix.phpcs_version }}" != "3.x-dev" ]; then
6666
echo '::set-output name=PHP_INI::error_reporting=E_ALL & ~E_DEPRECATED, display_errors=On, zend.assertions=1'
6767
else
6868
echo '::set-output name=PHP_INI::error_reporting=-1, display_errors=On, zend.assertions=1'

0 commit comments

Comments
 (0)