Skip to content

Commit

Permalink
build: fix php server
Browse files Browse the repository at this point in the history
Closes #7
  • Loading branch information
josantonius committed Jul 13, 2022
1 parent 854c530 commit 1cfdaaf
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,19 @@
}
},
"scripts": {
"coverage": "vendor/bin/phpunit --coverage-clover=coverage.xml",
"fix": "vendor/bin/phpcbf src tests",
"htmlCoverage": "vendor/bin/phpunit --coverage-html coverage",
"fix": [
"vendor/bin/phpcbf src tests"
],
"htmlCoverage": [
"@server",
"vendor/bin/phpunit --coverage-html coverage"
],
"phpcs": "vendor/bin/phpcs --standard=phpcs.xml $(find . -name '*.php');",
"phpmd": "vendor/bin/phpmd src,tests text ./phpmd.xml",
"phpunit": "vendor/bin/phpunit",
"phpunit": [
"@server",
"vendor/bin/phpunit"
],
"server": "php -S localhost:9888 -t tests/Proxy/ &",
"tests": [
"clear",
Expand Down

0 comments on commit 1cfdaaf

Please sign in to comment.