Skip to content

Commit 1cfdaaf

Browse files
committed
build: fix php server
Closes #7
1 parent 854c530 commit 1cfdaaf

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

composer.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,19 @@
4949
}
5050
},
5151
"scripts": {
52-
"coverage": "vendor/bin/phpunit --coverage-clover=coverage.xml",
53-
"fix": "vendor/bin/phpcbf src tests",
54-
"htmlCoverage": "vendor/bin/phpunit --coverage-html coverage",
52+
"fix": [
53+
"vendor/bin/phpcbf src tests"
54+
],
55+
"htmlCoverage": [
56+
"@server",
57+
"vendor/bin/phpunit --coverage-html coverage"
58+
],
5559
"phpcs": "vendor/bin/phpcs --standard=phpcs.xml $(find . -name '*.php');",
5660
"phpmd": "vendor/bin/phpmd src,tests text ./phpmd.xml",
57-
"phpunit": "vendor/bin/phpunit",
61+
"phpunit": [
62+
"@server",
63+
"vendor/bin/phpunit"
64+
],
5865
"server": "php -S localhost:9888 -t tests/Proxy/ &",
5966
"tests": [
6067
"clear",

0 commit comments

Comments
 (0)