Skip to content

Commit

Permalink
add and configure command lint
Browse files Browse the repository at this point in the history
Signed-off-by: Crisciany Silva <[email protected]>
Signed-off-by: Any97Cris <[email protected]>
  • Loading branch information
Any97Cris committed Feb 22, 2024
1 parent 7aae006 commit 86d854b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
"cs:check": "phpcs --standard=PSR12 -n src tests/Unit",
"cs:fix": "phpcbf --standard=PSR12 -n src tests/Unit",
"test:unit": "phpunit --no-coverage",
"test:coverage": "XDEBUG_MODE=coverage phpunit"
"test:coverage": "XDEBUG_MODE=coverage phpunit",
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './vendor-bin/*' -print0 | xargs -0 -n1 php -l"
},
"config": {
"allow-plugins": {
Expand Down

0 comments on commit 86d854b

Please sign in to comment.