tidy composer.json

This commit is contained in:
Leon 2021-01-15 12:14:45 +10:00
parent 5542916001
commit 9b4a5ec795

View file

@ -54,12 +54,11 @@
},
"scripts": {
"phpstan": "php -d memory_limit=-1 vendor/bin/phpstan analyse",
"phpcs": "vendor/bin/phpcs --standard=./tools/phpcs.xml --ignore='/tests/*,/vendor/*,/coverage/*' ./",
"phpcbf": "vendor/bin/phpcbf --standard=./tools/phpcs.xml --ignore='/tests/*,/vendor/*,/coverage/*' ./",
"phpcs": "vendor/bin/phpcs --standard=./tools/phpcs.xml --ignore='/tests/*,/vendor/*' ./",
"phpcbf": "vendor/bin/phpcbf --standard=./tools/phpcs.xml --ignore='/tests/*,/vendor/*' ./",
"phpunit": "vendor/bin/phpunit ./tests/unit/",
"php73": "vendor/bin/phpcs --standard=PHPCompatibility --runtime-set testVersion 7.3 --ignore='/tests/*,/vendor/*,/coverage/*' ./",
"php74": "vendor/bin/phpcs --standard=PHPCompatibility --runtime-set testVersion 7.4 --ignore='/tests/*,/vendor/*,/coverage/*' ./",
"coverage": "vendor/bin/phpunit tests/unit --coverage-html coverage --whitelist src/",
"php73": "vendor/bin/phpcs --standard=PHPCompatibility --runtime-set testVersion 7.3 --ignore='/tests/*,/vendor/*' ./",
"php74": "vendor/bin/phpcs --standard=PHPCompatibility --runtime-set testVersion 7.4 --ignore='/tests/*,/vendor/*' ./",
"lint": "vendor/bin/parallel-lint --exclude vendor .",
"test": [
"composer validate --strict",