File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 11.PHONY : test test-report test-fix update-compatibility-patch
22
3- PHP_74_OR_NEWER = ` php -r " echo (int) version_compare(PHP_VERSION, '7.4', '>=');" `
3+ PHP_74_OR_NEWER: = $( shell php -r "echo (int) version_compare(PHP_VERSION, '7.4', '>=');")
44
55test : test-report test-fix
66
@@ -17,10 +17,11 @@ test-fix: vendor
1717
1818update-compatibility-patch :
1919 @git apply tests/php-compatibility.patch
20- @echo -e " Please open your editor and apply your changes\n"
20+ @printf " Please open your editor and apply your changes\n"
2121 @until [ " $$ {compatibility_resolved}" == " y" ]; do read -p " Have finished your changes (y|n)? " compatibility_resolved; done && compatibility_resolved=
2222 @git diff -- tests/expected_report.txt tests/fixed > .tmp-patch && mv .tmp-patch tests/php-compatibility.patch && git apply -R tests/php-compatibility.patch
2323 @git commit -m ' Update compatibility patch' tests/php-compatibility.patch
2424
2525vendor : composer.json
2626 composer update
27+ touch -c vendor
You can’t perform that action at this time.
0 commit comments