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 c4171e3 commit 38010d8Copy full SHA for 38010d8
Tests/ExpressionLanguageTest.php
@@ -231,7 +231,7 @@ public function testRegisterAfterEval($registerCallback)
231
public function testCallBadCallable()
232
{
233
$this->expectException('RuntimeException');
234
- $this->expectExceptionMessageRegExp('/Unable to call method "\w+" of object "\w+"./');
+ $this->expectExceptionMessageMatches('/Unable to call method "\w+" of object "\w+"./');
235
$el = new ExpressionLanguage();
236
$el->evaluate('foo.myfunction()', ['foo' => new \stdClass()]);
237
}
0 commit comments