|
|
@ -55,6 +55,7 @@
|
|
|
|
"scripts": {
|
|
|
|
"scripts": {
|
|
|
|
"test": "phpunit",
|
|
|
|
"test": "phpunit",
|
|
|
|
"test-coverage": "rm clover.xml && XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-html=coverage --coverage-clover=clover.xml && vendor/bin/coverage-check clover.xml 100",
|
|
|
|
"test-coverage": "rm clover.xml && XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-html=coverage --coverage-clover=clover.xml && vendor/bin/coverage-check clover.xml 100",
|
|
|
|
|
|
|
|
"test-coverage:win": "del clover.xml && phpunit --coverage-html=coverage --coverage-clover=clover.xml && coverage-check clover.xml 100",
|
|
|
|
"lint": "phpstan --no-progress -cphpstan.neon",
|
|
|
|
"lint": "phpstan --no-progress -cphpstan.neon",
|
|
|
|
"beautify": "phpcbf --standard=phpcs.xml",
|
|
|
|
"beautify": "phpcbf --standard=phpcs.xml",
|
|
|
|
"phpcs": "phpcs --standard=phpcs.xml -n"
|
|
|
|
"phpcs": "phpcs --standard=phpcs.xml -n"
|
|
|
|