fix code quality issues
Showing
- .gitlab-ci.yml 1 addition, 0 deletions.gitlab-ci.yml
- composer.json 2 additions, 2 deletionscomposer.json
- ruleset.xml 1 addition, 11 deletionsruleset.xml
- src/MessageTrait.php 7 additions, 7 deletionssrc/MessageTrait.php
- src/Request.php 2 additions, 1 deletionsrc/Request.php
- src/Server.php 56 additions, 3 deletionssrc/Server.php
- src/ServerRequest.php 9 additions, 29 deletionssrc/ServerRequest.php
- src/ServerResponse.php 2 additions, 1 deletionsrc/ServerResponse.php
- tests/ClientRequestTest.php 66 additions, 66 deletionstests/ClientRequestTest.php
- tests/ClientResponseTest.php 117 additions, 117 deletionstests/ClientResponseTest.php
... | ... | @@ -4,8 +4,8 @@ |
"type": "library", | ||
"license": "MIT", | ||
"scripts": { | ||
"code-style": "phpcs --colors --standard=PSR2 src && phpcs --colors --standard=PSR2 --ignore=example tests", | ||
"code-quality": "phpmd src,tests ansi ruleset.xml", | ||
"code-style": "phpcs --colors --standard=PSR2 src && phpcs --colors --standard=PSR2 tests", | ||
"code-quality": "phpmd src ansi ruleset.xml", | ||
"test": "phpunit --stderr", | ||
"coverage": "phpunit --stderr --coverage-text" | ||
}, | ||
... | ... |
Please register or sign in to comment