Skip to content

Commit

Permalink
check php syntax with error_reporting=-1
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyvankooten committed Jan 11, 2025
1 parent 9931b97 commit f440bb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}

0 comments on commit f440bb6

Please sign in to comment.