Skip to content

Commit f9ae9f4

Browse files
committed
Add PHPUnit 10
1 parent fb82ee2 commit f9ae9f4

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

composer.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
},
2525
"require-dev": {
2626
"phpstan/phpstan": "^1",
27-
"phpunit/phpunit": "^9",
27+
"phpunit/phpunit": "^9 || ^10",
2828
"slim/psr7": "^1.6",
2929
"squizlabs/php_codesniffer": "^3.10"
3030
},
@@ -51,6 +51,9 @@
5151
"@stan",
5252
"@test:coverage"
5353
],
54-
"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 --coverage-text"
54+
"test:coverage": [
55+
"@putenv XDEBUG_MODE=coverage",
56+
"phpunit --configuration phpunit.xml --do-not-cache-result --colors=always --coverage-clover build/logs/clover.xml --coverage-html build/coverage --coverage-text"
57+
]
5558
}
5659
}

0 commit comments

Comments
 (0)