1
0
mirror of https://github.com/dannyvankooten/AltoRouter.git synced 2025-08-04 15:37:45 +02:00

check php syntax with error_reporting=-1

This commit is contained in:
Danny van Kooten
2025-01-11 20:13:29 +01:00
parent 9931b97642
commit f440bb654d

View File

@@ -31,6 +31,6 @@
},
"scripts": {
"test": "vendor/bin/phpunit",
"check-syntax": "find . -name '*.php' -not -path './vendor/*' -print0 | xargs -0 -n1 php -l"
"check-syntax": "find . -name '*.php' -not -path './vendor/*' -print0 | xargs -0 -n1 php --define error_reporting=-1 -l"
}
}