Skip to content

Commit f1802ef

Browse files
Merge branch '5.0'
* 5.0: [PhpUnitBridge] add PolyfillTestCaseTrait::expectExceptionMessageMatches to provide FC with recent phpunit versions [Messenger] Make sure redis transports are initialized correctly Remove return type for Twig function workflow_metadata() [DI] fix typo
2 parents 98559ae + 4f1ae96 commit f1802ef

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Legacy/PolyfillTestCaseTrait.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,16 @@ public function expectExceptionMessage($message)
9595
$property->setValue($this, $message);
9696
}
9797

98+
/**
99+
* @param string $messageRegExp
100+
*
101+
* @return void
102+
*/
103+
public function expectExceptionMessageMatches($messageRegExp)
104+
{
105+
$this->expectExceptionMessageRegExp($messageRegExp);
106+
}
107+
98108
/**
99109
* @param string $messageRegExp
100110
*

0 commit comments

Comments
 (0)