Skip to content

Commit bea2bbd

Browse files
committed
3666: Update to latest actions, PHP_CS_FIXER_IGNORE_ENV to allow PHP 8.4
1 parent e9b195b commit bea2bbd

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/pr.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
name: Validate composer (PHP ${{ matrix.php}})
1111
steps:
1212
- name: Checkout
13-
uses: actions/checkout@v3
13+
uses: actions/checkout@v4
1414

1515
- name: Setup PHP, with composer and extensions
1616
uses: shivammathur/setup-php@v2
@@ -71,7 +71,7 @@ jobs:
7171
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
7272
steps:
7373
- name: Checkout
74-
uses: actions/checkout@v3
74+
uses: actions/checkout@v4
7575

7676
- name: Setup PHP, with composer and extensions
7777
uses: shivammathur/setup-php@v2
@@ -114,7 +114,7 @@ jobs:
114114
name: PHP Coding Standards Fixer (PHP ${{ matrix.php }})
115115
steps:
116116
- name: Checkout
117-
uses: actions/checkout@v3
117+
uses: actions/checkout@v4
118118

119119
- name: Setup PHP, with composer and extensions
120120
uses: shivammathur/setup-php@v2
@@ -138,7 +138,7 @@ jobs:
138138
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
139139

140140
- name: php-cs-fixer
141-
run: phpdbg -qrr ./vendor/bin/php-cs-fixer fix --dry-run
141+
run: composer coding-standards-check
142142

143143
phpunit:
144144
runs-on: ubuntu-latest
@@ -160,7 +160,7 @@ jobs:
160160
name: PHP Unit tests (PHP ${{ matrix.php }})
161161
steps:
162162
- name: Checkout
163-
uses: actions/checkout@v3
163+
uses: actions/checkout@v4
164164

165165
- name: Setup PHP, with composer and extensions
166166
uses: shivammathur/setup-php@v2
@@ -197,7 +197,7 @@ jobs:
197197
php: ["8.4"]
198198
steps:
199199
- name: Checkout
200-
uses: actions/checkout@v3
200+
uses: actions/checkout@v4
201201
with:
202202
fetch-depth: 2
203203

@@ -235,7 +235,7 @@ jobs:
235235
fail-fast: false
236236
steps:
237237
- name: Checkout
238-
uses: actions/checkout@v3
238+
uses: actions/checkout@v4
239239
with:
240240
fetch-depth: 2
241241

@@ -275,7 +275,7 @@ jobs:
275275
fail-fast: false
276276
steps:
277277
- name: Checkout
278-
uses: actions/checkout@v3
278+
uses: actions/checkout@v4
279279
with:
280280
fetch-depth: 2
281281

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,10 @@
114114
"assets:install %PUBLIC_DIR%": "symfony-cmd"
115115
},
116116
"coding-standards-apply": [
117-
"vendor/bin/php-cs-fixer fix"
117+
"PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer fix"
118118
],
119119
"coding-standards-check": [
120-
"vendor/bin/php-cs-fixer fix --dry-run"
120+
"PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer fix --dry-run"
121121
],
122122
"fixtures-load": [
123123
"bin/console hautelook:fixtures:load --no-interaction"

0 commit comments

Comments
 (0)