| Q |
A |
| PHPUnit version |
9 |
| PHP version |
7.3 |
| Installation Method |
Composer |
Summary
The commit introducing expectExceptionMessageMatches says that expectExceptionMessageRegExp will trigger a warning in 9 and be removed in 10.
But the 9.0 removed the method entirely instead of adding a warning in it. This means that the method got removed without ever reporting a deprecation warning when running tests using it.
And there is no changelog saying that this method is deprecated (the PHPUnit 8 changelog does not talk about deprecating expectExceptionMessageRegExp and the PHPUnit 9 changelog says it is removed).