Skip to content

Commit

Permalink
check php syntax with error_reporting enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyvankooten committed Jan 11, 2025
1 parent 8bd00e9 commit b1a4b1e
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 @@ -37,6 +37,6 @@
"ext-soap": "Needed to support VIES VAT number validation"
},
"scripts": {
"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 b1a4b1e

Please sign in to comment.