Skip to content

Commit f44544a

Browse files
committed
Adjust configuration for running tests
To ensure we can load some of phpunit's internal classes
1 parent 34efe0f commit f44544a

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828
"autoload-dev": {
2929
"psr-4": {
3030
"DMS\\PHPUnitExtensions\\ArraySubset\\Tests\\": "tests"
31-
}
31+
},
32+
"classmap": [
33+
"vendor/phpunit/phpunit/tests/"
34+
]
3235
}
3336
}

phpstan.neon.dist

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
includes:
22
- vendor/phpstan/phpstan-phpunit/extension.neon
33
- vendor/phpstan/phpstan-strict-rules/rules.neon
4-
- vendor/phpstan/phpstan-beberlei-assert/extension.neon
54

65
parameters:
76

phpunit.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
beStrictAboutOutputDuringTests="true"
88
beStrictAboutTodoAnnotatedTests="true"
99
beStrictAboutChangesToGlobalState="true"
10+
bootstrap="vendor/autoload.php"
1011
>
1112
<testsuites>
1213
<testsuite name="unit">

0 commit comments

Comments
 (0)