Skip to content

Commit cf2f922

Browse files
committed
Trigger CI failure when phpcbf cannot fix the file
1 parent 48436c8 commit cf2f922

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ jobs:
4343
- stage: Apply fixes
4444
before_script:
4545
- cp -R tests/input/ tests/input2/
46-
script: vendor/bin/phpcbf tests/input2; diff tests/input2 tests/fixed
46+
script: vendor/bin/phpcbf tests/input2; [ $? -ne 2 ] && diff tests/input2 tests/fixed

0 commit comments

Comments
 (0)