Skip to content

Commit beabd03

Browse files
authored
Merge pull request #272 from ergebnis/fix/require
Fix: Suggest and require `phpunit/phpunit:^10.0.1` as development dependency
2 parents 6226d12 + e400a4f commit beabd03

File tree

4 files changed

+2230
-2207
lines changed

4 files changed

+2230
-2207
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
88

99
For a full diff see [`2.1.1...main`][2.1.1...main].
1010

11+
### Changed
12+
13+
- Suggested and required `phpunit/phpunit` as a development dependency to allow usage with `phpunit/phpunit` when installed as PHAR ([#272]), by [@localheinz]
14+
1115
## [`2.1.1`][2.1.1]
1216

1317
For a full diff see [`2.1.0...2.1.1`][2.1.0...2.1.1].
@@ -118,5 +122,6 @@ For a full diff see [`7afa59c...1.0.0`][7afa59c...1.0.0].
118122
[#222]: https://github.com/ergebnis/phpunit-slow-test-detector/pull/222
119123
[#224]: https://github.com/ergebnis/phpunit-slow-test-detector/pull/224
120124
[#243]: https://github.com/ergebnis/phpunit-slow-test-detector/pull/243
125+
[#272]: https://github.com/ergebnis/phpunit-slow-test-detector/pull/272
121126

122127
[@localheinz]: https://github.com/localheinz

composer-require-checker.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
11
{
2-
"symbol-whitelist": []
2+
"symbol-whitelist": [
3+
"PHPUnit\\Event\\Code\\Test",
4+
"PHPUnit\\Event\\Telemetry\\Duration",
5+
"PHPUnit\\Event\\Telemetry\\HRTime",
6+
"PHPUnit\\Event\\Test\\Passed",
7+
"PHPUnit\\Event\\Test\\PassedSubscriber",
8+
"PHPUnit\\Event\\Test\\Prepared",
9+
"PHPUnit\\Event\\Test\\PreparedSubscriber",
10+
"PHPUnit\\Event\\TestRunner\\ExecutionFinished",
11+
"PHPUnit\\Event\\TestRunner\\ExecutionFinishedSubscriber",
12+
"PHPUnit\\Metadata\\Annotation\\Parser\\Registry",
13+
"PHPUnit\\Runner\\Extension\\Extension",
14+
"PHPUnit\\Runner\\Extension\\Facade",
15+
"PHPUnit\\Runner\\Extension\\ParameterCollection",
16+
"PHPUnit\\TextUI\\Configuration\\Configuration"
17+
]
318
}

composer.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,22 @@
2222
"source": "https://github.com/ergebnis/phpunit-slow-test-detector"
2323
},
2424
"require": {
25-
"php": "~8.1.0 || ~8.2.0",
26-
"phpunit/phpunit": "^10.0.1"
25+
"php": "~8.1.0 || ~8.2.0"
2726
},
2827
"require-dev": {
2928
"ergebnis/composer-normalize": "^2.31.0",
3029
"ergebnis/data-provider": "^1.3.0",
3130
"ergebnis/license": "^2.1.0",
3231
"ergebnis/php-cs-fixer-config": "^5.7.0",
3332
"fakerphp/faker": "^1.22.0",
33+
"phpunit/phpunit": "^10.0.1",
3434
"psalm/plugin-phpunit": "~0.18.4",
3535
"rector/rector": "~0.16.0",
3636
"vimeo/psalm": "^5.12.0"
3737
},
38+
"suggest": {
39+
"phpunit/phpunit": "^10.0.1"
40+
},
3841
"autoload": {
3942
"psr-4": {
4043
"Ergebnis\\PHPUnit\\SlowTestDetector\\": "src/"

0 commit comments

Comments
 (0)