Skip to content

Commit 85cb389

Browse files
Show a hint for the php-cs fix when the check fails
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
1 parent 833d1d2 commit 85cb389

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ jobs:
3333
- name: Install dependencies
3434
run: composer i
3535
- name: Run coding standards check
36-
run: composer run cs:check
36+
run: composer run cs:check || ( echo 'Please run `composer run cs:fix` to format your code' && exit 1 )"

0 commit comments

Comments
 (0)