We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c8693c commit 73ce624Copy full SHA for 73ce624
tests/PhpUnitCompat.php
@@ -20,12 +20,12 @@ trait PhpUnitCompat
20
{
21
public function expectExceptionMessageMatches(string $regularExpression) : void
22
23
- if (is_callable('parent::expectExceptionMessageRegExp')) {
24
- parent::expectExceptionMessageRegExp($regularExpression);
+ if (is_callable('parent::expectExceptionMessageMatches')) {
+ parent::expectExceptionMessageMatches($regularExpression);
25
26
return;
27
}
28
29
- parent::expectExceptionMessageMatches($regularExpression);
+ parent::expectExceptionMessageRegExp($regularExpression);
30
31
0 commit comments