Skip to content

Commit a6a253b

Browse files
committed
Add new Composer script
1 parent d7e7152 commit a6a253b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

composer.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,13 @@
3636
"cs-lint": "Checks for coding standard violations.",
3737
"application-version-guard": "Checks that the application version matches the given Git tag.",
3838
"validate-gitattributes": "Checks the leanness of this package.",
39-
"static-analyse": "Runs a static code analysis via PHPStan."
39+
"static-analyse": "Runs a static code analysis via PHPStan.",
40+
"pre-commit-check": [
41+
"test",
42+
"cs-lint",
43+
"static-analyse",
44+
"application-version-guard"
45+
]
4046
},
4147
"scripts": {
4248
"test": "phpunit",

0 commit comments

Comments
 (0)