File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 1111 ],
1212 "homepage" : " https://github.com/selective-php/test-traits" ,
1313 "require" : {
14- "php" : " ^8 .0"
14+ "php" : " ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4 .0"
1515 },
1616 "require-dev" : {
1717 "friendsofphp/php-cs-fixer" : " ^3" ,
3636 "sort-packages" : true
3737 },
3838 "scripts" : {
39- "cs:check" : " php-cs-fixer fix --dry-run --format=txt --verbose --diff -- config=.cs.php --ansi" ,
40- "cs:fix" : " php-cs-fixer fix --config=.cs.php --ansi" ,
39+ "cs:check" : " php-cs-fixer fix --dry-run --format=txt --verbose --config=.cs.php --ansi" ,
40+ "cs:fix" : " php-cs-fixer fix --config=.cs.php --ansi --verbose " ,
4141 "sniffer:check" : " phpcs --standard=phpcs.xml" ,
4242 "sniffer:fix" : " phpcbf --standard=phpcs.xml" ,
43- "stan" : " phpstan analyse -c phpstan.neon --no-progress --ansi --xdebug " ,
44- "test" : " phpunit --configuration phpunit.xml --do-not-cache-result --colors=always" ,
43+ "stan" : " phpstan analyse -c phpstan.neon --no-progress --ansi" ,
44+ "test" : " phpunit --configuration phpunit.xml --do-not-cache-result --colors=always --display-warnings --display-deprecations --no-coverage " ,
4545 "test:all" : [
4646 " @cs:check" ,
4747 " @sniffer:check" ,
4848 " @stan" ,
4949 " @test"
5050 ],
51- "test:coverage" : " php -d xdebug.mode=coverage -r \" require 'vendor/bin/phpunit';\" -- --configuration phpunit.xml --do-not-cache-result --colors=always --coverage-clover build/logs/clover.xml --coverage-html build/coverage"
51+ "test:coverage" : [
52+ " @putenv XDEBUG_MODE=coverage" ,
53+ " phpunit --configuration phpunit.xml --do-not-cache-result --colors=always --display-warnings --display-deprecations --coverage-clover build/coverage/clover.xml --coverage-html build/coverage --coverage-text"
54+ ]
5255 }
5356}
You can’t perform that action at this time.
0 commit comments