Skip to content

Commit

Permalink
Add PHPUnit 10
Browse files Browse the repository at this point in the history
  • Loading branch information
odan committed Jul 13, 2024
1 parent fb82ee2 commit f9ae9f4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"require-dev": {
"phpstan/phpstan": "^1",
"phpunit/phpunit": "^9",
"phpunit/phpunit": "^9 || ^10",
"slim/psr7": "^1.6",
"squizlabs/php_codesniffer": "^3.10"
},
Expand All @@ -51,6 +51,9 @@
"@stan",
"@test:coverage"
],
"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"
"test:coverage": [
"@putenv XDEBUG_MODE=coverage",
"phpunit --configuration phpunit.xml --do-not-cache-result --colors=always --coverage-clover build/logs/clover.xml --coverage-html build/coverage --coverage-text"
]
}
}

0 comments on commit f9ae9f4

Please sign in to comment.