Skip to content

Commit 2b53203

Browse files
committed
minor #1586 CI: run PHP CS Fixer on PHP 8.2 (rosier)
This PR was merged into the main branch. Discussion ---------- CI: run PHP CS Fixer on PHP 8.2 By running PHP CS Fixer on the lowest supported PHP version of this project, which is currently PHP 8.2, PHP CS Fixer can also catch the use of invalid syntax that works only on newer PHP versions. This [doc](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/doc/support_new_PHP_version.rst) also recommends to run PHP CS Fixer on same PHP version as platform PHP version of the codebase. Commits ------- 017adae CI: run PHP CS Fixer on PHP 8.2
2 parents c5d841b + 017adae commit 2b53203

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/lint.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
uses: actions/checkout@v4
2222

2323
- name: PHP-CS-Fixer
24-
uses: docker://oskarstark/php-cs-fixer-ga
24+
uses: docker://ghcr.io/php-cs-fixer/php-cs-fixer:3-php8.2
2525
with:
26-
args: --diff --dry-run
26+
args: check --diff --using-cache=no
2727

2828
linters:
2929
name: Linters

0 commit comments

Comments
 (0)