Add lint and static-analysis

This commit is contained in:
Matias De lellis
2021-09-19 20:16:29 -03:00
parent ec7a773de1
commit 4f5c374495
3 changed files with 77 additions and 0 deletions

9
composer.json Normal file
View File

@@ -0,0 +1,9 @@
{
"require-dev": {
"psalm/phar": "^4.10"
},
"scripts": {
"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
"psalm": "psalm.phar"
}
}