Skip to content

Commit 71ce087

Browse files
authored
Merge pull request #304 from PHPCSStandards/feature/ghactions-minor-tweaks
GH Actions: minor tweaks
2 parents a82cb4d + f323022 commit 71ce087

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.github/workflows/quicktest.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,9 @@ jobs:
7070
- name: "Composer: set PHPCS/PHPCSUtils version for tests (lowest)"
7171
if: ${{ matrix.phpcs_version == 'lowest' }}
7272
run: >
73-
composer update squizlabs/php_codesniffer phpcsstandards/phpcsutils
74-
--prefer-lowest --ignore-platform-req=php+ --no-scripts --no-interaction
73+
composer update --prefer-lowest --no-scripts --no-interaction
74+
squizlabs/php_codesniffer
75+
phpcsstandards/phpcsutils
7576
7677
- name: Lint against parse errors
7778
if: matrix.phpcs_version == 'dev-master'

.github/workflows/test.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,9 @@ jobs:
7676
- name: "Composer: set PHPCS/PHPCSUtils version for tests (lowest)"
7777
if: ${{ matrix.phpcs_version == 'lowest' }}
7878
run: >
79-
composer update squizlabs/php_codesniffer phpcsstandards/phpcsutils
80-
--prefer-lowest --ignore-platform-req=php+ --no-scripts --no-interaction
79+
composer update --prefer-lowest --no-scripts --no-interaction
80+
squizlabs/php_codesniffer
81+
phpcsstandards/phpcsutils
8182
8283
- name: Lint against parse errors
8384
if: matrix.phpcs_version == 'dev-master'
@@ -143,8 +144,9 @@ jobs:
143144
- name: "Composer: set PHPCS/PHPCSUtils version for tests (lowest)"
144145
if: ${{ matrix.phpcs_version == 'lowest' }}
145146
run: >
146-
composer update squizlabs/php_codesniffer phpcsstandards/phpcsutils
147-
--prefer-lowest --ignore-platform-req=php+ --no-scripts --no-interaction
147+
composer update --prefer-lowest --no-scripts --no-interaction
148+
squizlabs/php_codesniffer
149+
phpcsstandards/phpcsutils
148150
149151
- name: Lint against parse errors
150152
if: matrix.phpcs_version == 'dev-master'

0 commit comments

Comments
 (0)