Commit 47f3667
committed
bug symfony#60645 [PhpUnitBridge] Skip bootstrap for PHPUnit >=10 (HypeMC)
This PR was merged into the 7.2 branch.
Discussion
----------
[PhpUnitBridge] Skip bootstrap for PHPUnit >=10
| Q | A
| ------------- | ---
| Branch? | 7.2
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | Fix symfony/recipes#1425 (comment)
| License | MIT
As suggested by `@wouterj`, this will skip the bootstrap file that is automatically [required by the bridge's `composer.json`](https://github.com/symfony/symfony/blob/158dff8106151b943fad16f85bcf8b70b7bb1178/src/Symfony/Bridge/PhpUnit/composer.json#L32).
I'm not sure whether to skip the entire file or only the part that registers the `DeprecationErrorHandler`.
Commits
-------
36974c3 [PhpUnitBridge] Skip bootstrap for PHPUnit >=101 file changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
| |||
46 | 50 | | |
47 | 51 | | |
48 | 52 | | |
49 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
50 | 58 | | |
51 | 59 | | |
0 commit comments