From f440bb654de71137421a8097dfc418c6dca85bbd Mon Sep 17 00:00:00 2001 From: Danny van Kooten Date: Sat, 11 Jan 2025 20:13:29 +0100 Subject: [PATCH] check php syntax with error_reporting=-1 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 1146b8d..49e9aaa 100644 --- a/composer.json +++ b/composer.json @@ -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" } }