File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 3636 "lpv:application-version-guard" : " Checks that the application version matches the given Git tag." ,
3737 "lpv:application-phar-version-guard" : " Checks that the PHAR version matches the given Git tag." ,
3838 "lpv:static-analyse" : " Runs a static code analysis via PHPStan." ,
39- "lpv:validate-gitattributes" : " Checks the leanness of this package."
39+ "lpv:validate-gitattributes" : " Checks the leanness of this package." ,
40+ "lpv:pre-commit-check" : " Does a final (aggregated) check before committing."
4041 },
4142 "scripts" : {
4243 "lpv:test" : " phpunit" ,
4748 "lpv:application-version-guard" : " php bin/application-version --verify-tag-match=bin" ,
4849 "lpv:application-phar-version-guard" : " php bin/application-version --verify-tag-match=phar" ,
4950 "lpv:static-analyse" : " phpstan analyse --configuration phpstan.neon.dist" ,
50- "lpv:validate-gitattributes" : " bin/lean-package-validator validate"
51+ "lpv:validate-gitattributes" : " bin/lean-package-validator validate" ,
52+ "lpv:pre-commit-check" : [
53+ " @lpv:test" ,
54+ " @lpv:cs-lint" ,
55+ " @lpv:static-analyse"
56+ ]
5157 },
5258 "config" : {
5359 "preferred-install" : " dist" ,
You can’t perform that action at this time.
0 commit comments