File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -60,22 +60,25 @@ jobs:
60
60
needs : [composer]
61
61
strategy :
62
62
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 .']
64
64
steps :
65
65
- uses : actions/checkout@v4
66
66
- uses : actions/cache/restore@v4
67
67
with :
68
68
path : libraries/vendor
69
69
key : ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }}
70
70
- name : Check PHP code style
71
+ id : check-codestyle
72
+ continue-on-error : true
71
73
env :
72
74
PHP_CS_FIXER_IGNORE_ENV : true
73
75
run : |
74
76
git config --global --add safe.directory $GITHUB_WORKSPACE
75
77
./libraries/vendor/bin/${{ matrix.command }}
76
78
- uses : parkerbxyz/suggest-changes@v2
77
79
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'
79
82
80
83
code-style-js-css :
81
84
name : Check Javascript & CSS code style
You can’t perform that action at this time.
0 commit comments