Skip to content

Commit 613215b

Browse files
committed
update rector workflow template - PHP range from 8.1 to 8.4
1 parent d1f31cb commit 613215b

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/Template/.github/workflows/rector.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
strategy:
2727
fail-fast: false
2828
matrix:
29-
php-versions: ['7.4', '8.0', '8.1', '8.2']
29+
php-versions: ['8.1', '8.2', '8.3', '8.4']
3030

3131
steps:
3232
- name: Checkout
@@ -54,10 +54,15 @@ jobs:
5454

5555
- name: Install dependencies
5656
run: |
57+
OPTIONS='--no-progress --no-interaction --prefer-dist --optimize-autoloader'
58+
if [[ '${{ matrix.php-versions }}' == '8.4' ]]; then
59+
OPTIONS="$OPTIONS --ignore-platform-reqs"
60+
fi
61+
5762
if [ -f composer.lock ]; then
58-
composer install --no-progress --no-interaction --prefer-dist --optimize-autoloader
63+
composer install $OPTIONS
5964
else
60-
composer update --no-progress --no-interaction --prefer-dist --optimize-autoloader
65+
composer update $OPTIONS
6166
fi
6267
6368
- name: Rector Cache

0 commit comments

Comments
 (0)