Skip to content

Commit 1598de7

Browse files
committed
Final fixes
1 parent 78ea9f4 commit 1598de7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,22 +60,25 @@ jobs:
6060
needs: [composer]
6161
strategy:
6262
matrix:
63-
command: ['php-cs-fixer fix -vvv --dry-run --diff', 'phpcs --extensions=php -p --standard=ruleset.xml .']
63+
command: ['php-cs-fixer fix -vvv', 'phpcs --extensions=php -p --standard=ruleset.xml .']
6464
steps:
6565
- uses: actions/checkout@v4
6666
- uses: actions/cache/restore@v4
6767
with:
6868
path: libraries/vendor
6969
key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }}
7070
- name: Check PHP code style
71+
id: check-codestyle
72+
continue-on-error: true
7173
env:
7274
PHP_CS_FIXER_IGNORE_ENV: true
7375
run: |
7476
git config --global --add safe.directory $GITHUB_WORKSPACE
7577
./libraries/vendor/bin/${{ matrix.command }}
7678
- uses: parkerbxyz/suggest-changes@v2
7779
with:
78-
comment: 'Your code does not comply with our codestyle. Please commit the suggested changes.'
80+
comment: 'Your code does not meet our codestyle requirements. Please commit the suggested changes.'
81+
event: 'REQUEST_CHANGES'
7982

8083
code-style-js-css:
8184
name: Check Javascript & CSS code style

0 commit comments

Comments
 (0)