Skip to content

Commit 553aef6

Browse files
committed
GH Actions/reusable-testing: remove redundant step
`setup-php` will automatically install a compliant version of Composer based on the PHP version. No need to have the extra step.
1 parent f6e8d8e commit 553aef6

1 file changed

Lines changed: 1 addition & 13 deletions

File tree

.github/workflows/reusable-testing.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -222,19 +222,7 @@ jobs:
222222
- name: Check out source code
223223
uses: actions/checkout@v4
224224

225-
- name: Set up PHP environment (PHP 5.6 - 7.1)
226-
if: ${{ matrix.php < '7.2' }}
227-
uses: shivammathur/setup-php@v2
228-
with:
229-
php-version: '${{ matrix.php }}'
230-
coverage: none
231-
tools: composer:2.2,cs2pr
232-
env:
233-
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
234-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
235-
236-
- name: Set up PHP environment (PHP 7.2+)
237-
if: ${{ matrix.php >= '7.2' }}
225+
- name: Set up PHP environment
238226
uses: shivammathur/setup-php@v2
239227
with:
240228
php-version: '${{ matrix.php }}'

0 commit comments

Comments
 (0)