We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 705d939 commit 56de5bbCopy full SHA for 56de5bb
Tests/ExpressionLanguageTest.php
@@ -269,7 +269,7 @@ public function testRegisterAfterEval($registerCallback)
269
public function testCallBadCallable()
270
{
271
$this->expectException('RuntimeException');
272
- $this->expectExceptionMessageRegExp('/Unable to call method "\w+" of object "\w+"./');
+ $this->expectExceptionMessageMatches('/Unable to call method "\w+" of object "\w+"./');
273
$el = new ExpressionLanguage();
274
$el->evaluate('foo.myfunction()', ['foo' => new \stdClass()]);
275
}
0 commit comments