Skip to content

Commit 4d8148a

Browse files
committed
Update: run php-cs-fixer on PHP v7.4 as min supported version
1 parent f0ba28d commit 4d8148a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/lint.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ jobs:
1515
- name: Setup PHP
1616
uses: shivammathur/setup-php@v2
1717
with:
18-
php-version: 8.2
18+
php-version: 7.4
1919
tools: php-cs-fixer:3.51, cs2pr
2020

2121
- uses: actions/cache@v4
2222
with:
2323
path: '.php-cs-fixer.cache'
24-
key: ${{ github.repository }}-8.2-phpcsfixer-${{ github.ref_name }}
24+
key: ${{ github.repository }}-7.4-phpcsfixer-${{ github.ref_name }}
2525
restore-keys: |
26-
${{ github.repository }}-8.2-phpcsfixer-master
27-
${{ github.repository }}-8.2-phpcsfixer-
26+
${{ github.repository }}-7.4-phpcsfixer-master
27+
${{ github.repository }}-7.4-phpcsfixer-
2828
2929
- name: Run PHP-CS-Fixer
3030
# Using cs2pr settings, see: https://github.com/shivammathur/setup-php#tools-with-checkstyle-support
31-
run: 'php-cs-fixer fix --dry-run --format checkstyle | cs2pr'
31+
run: 'php-cs-fixer fix --dry-run --format=checkstyle | cs2pr'

0 commit comments

Comments
 (0)