Skip to content

Commit 9d788b9

Browse files
committed
build: add test scripts
1 parent 03b433b commit 9d788b9

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

composer.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,19 @@
2929
}
3030
],
3131

32+
"scripts": {
33+
"phpunit": "vendor/bin/phpunit --configuration phpunit.xml",
34+
"phpstan": "vendor/bin/phpstan analyse --level 6 src --memory-limit 256M",
35+
"phpcs": "vendor/bin/phpcs src --standard=phpcs.xml",
36+
"phpmd": "vendor/bin/phpmd src/ text phpmd.xml",
37+
"test": [
38+
"@phpunit",
39+
"@phpstan",
40+
"@phpcs",
41+
"@phpmd"
42+
]
43+
},
44+
3245
"autoload": {
3346
"psr-4": {
3447
"Gt\\TypeSafeGetter\\": "./src"

0 commit comments

Comments
 (0)