Skip to content

Commit 19c59b7

Browse files
committed
Update
1 parent ed62b16 commit 19c59b7

File tree

5 files changed

+3
-5
lines changed

5 files changed

+3
-5
lines changed

.dev-tools/infection.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
"report": "main"
1414
}
1515
},
16-
"testFramework": "phpunit",
17-
"testFrameworkOptions": "--cache-directory=.phpunit.cache",
1816
"phpUnit": {
1917
"configDir": "..",
2018
"customPath": "../vendor/phpunit/phpunit/phpunit"

.dev-tools/src/InfectionConfigBuilder.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ public function build(): array
4848
'github' => true,
4949
'stryker' => ['report' => 'main'],
5050
],
51-
'testFramework' => 'phpunit',
52-
'testFrameworkOptions' => '--cache-directory=.phpunit.cache',
5351
'phpUnit' => [
5452
'configDir' => '..',
5553
'customPath' => '../vendor/phpunit/phpunit/phpunit',

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
- os: ubuntu-latest
5454
description: 'with calculating code coverage and Infection'
5555
calculate-coverage: true
56-
phpunit-flags: '--cache-directory=.phpunit.cache --coverage-clover=./build/logs/clover.xml'
56+
phpunit-flags: '--coverage-clover=./build/logs/clover.xml'
5757
php-version: '8.4'
5858
FAST_LINT_TEST_CASES: 1
5959
- os: ubuntu-latest

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/vendor/
22
/composer.lock
3+
/phpunit.dist.xml

phpunit.xml renamed to phpunit.dist.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<phpunit xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
44
xsi:noNamespaceSchemaLocation='./vendor/phpunit/phpunit/phpunit.xsd'
55
bootstrap='./tests/autoload.php'
6+
cacheDirectory='.phpunit.cache'
67
cacheResult='false'
78
colors='true'
89
displayDetailsOnTestsThatTriggerDeprecations='true'

0 commit comments

Comments
 (0)