File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ test: test-report test-fix
6
6
7
7
test-report : vendor
8
8
@if [ $( PHP_74_OR_NEWER) -eq 1 ]; then git apply tests/php-compatibility.patch; fi
9
- @vendor/bin/phpcs ` find tests/input/* | sort` --report=summary --report-file=phpcs.log; diff tests/expected_report.txt phpcs.log; if [ $$ ? -ne 0 ] && [ $( PHP_74_OR_NEWER) -eq 1 ]; then git apply -R tests/php-compatibility.patch; exit 1; fi
9
+ @vendor/bin/phpcs ` find tests/input/* | sort` --report=summary --report-file=phpcs.log; diff -u tests/expected_report.txt phpcs.log; if [ $$ ? -ne 0 ] && [ $( PHP_74_OR_NEWER) -eq 1 ]; then git apply -R tests/php-compatibility.patch; exit 1; fi
10
10
@if [ $( PHP_74_OR_NEWER) -eq 1 ]; then git apply -R tests/php-compatibility.patch; fi
11
11
12
12
test-fix : vendor
You can’t perform that action at this time.
0 commit comments