Skip to content

Commit c07c8ac

Browse files
committed
Add composer test command
1 parent efc7e3b commit c07c8ac

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

composer.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,12 @@
5959
"php_src": "phpcs --standard=phpcs.xml -s -p --colors ./lib/",
6060
"php_test": "phpcs --standard=phpcs.xml -s -p --colors ./tests/",
6161
"phpmd": "phpmd ./ ansi cleancode,codesize,controversial,design,naming,unusedcode --exclude vendor",
62-
"changelog": "php generateChangelog.php"
62+
"changelog": "php generateChangelog.php",
63+
"test": [
64+
"@php_src",
65+
"@php_test",
66+
"phpunit --colors=always --testdox"
67+
]
6368
},
6469
"scripts-descriptions": {
6570
"phpunit": "Run PHPUnit tests",

0 commit comments

Comments
 (0)