|
|
|
@ -51,14 +51,14 @@
|
|
|
|
|
"allow-plugins": {
|
|
|
|
|
"phpstan/extension-installer": true
|
|
|
|
|
},
|
|
|
|
|
"process-timeout": 0,
|
|
|
|
|
"sort-packages": true
|
|
|
|
|
"process-timeout": 0,
|
|
|
|
|
"sort-packages": true
|
|
|
|
|
},
|
|
|
|
|
"scripts": {
|
|
|
|
|
"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-server": "echo \"Running Test Server\" && php -S localhost:8000 -t tests/server/",
|
|
|
|
|
"test-server-v2": "echo \"Running Test Server\" && php -S localhost:8000 -t tests/server-v2/",
|
|
|
|
|
"test-server": "echo \"Running Test Server\" && php -S localhost:8000 -t tests/server/",
|
|
|
|
|
"test-server-v2": "echo \"Running Test Server\" && php -S localhost:8000 -t tests/server-v2/",
|
|
|
|
|
"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",
|
|
|
|
|
"beautify": "phpcbf --standard=phpcs.xml",
|
|
|
|
|