Skip to content

Commit be7096f

Browse files
authored
Merge pull request #115 from doctrine/ci-fix
Trigger CI failure when phpcbf cannot fix the file
2 parents 48436c8 + cf2f922 commit be7096f

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)