Skip to content

Commit b937557

Browse files
Merge branch '4.4' into 5.0
* 4.4: [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 00e0448 + 38010d8 commit b937557

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/ExpressionLanguageTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ public function testRegisterAfterEval($registerCallback)
231231
public function testCallBadCallable()
232232
{
233233
$this->expectException('RuntimeException');
234-
$this->expectExceptionMessageRegExp('/Unable to call method "\w+" of object "\w+"./');
234+
$this->expectExceptionMessageMatches('/Unable to call method "\w+" of object "\w+"./');
235235
$el = new ExpressionLanguage();
236236
$el->evaluate('foo.myfunction()', ['foo' => new \stdClass()]);
237237
}

0 commit comments

Comments
 (0)