Skip to content

Commit ed60a8b

Browse files
committed
minor symfony#25385 [ExpressionLanguage] Fix parse error on 5.3 (nicolas-grekas)
This PR was merged into the 2.7 branch. Discussion ---------- [ExpressionLanguage] Fix parse error on 5.3 | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Commits ------- 2249f43 [ExpressionLanguage] Fix parse error on 5.3
2 parents 7ba6000 + 2249f43 commit ed60a8b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Symfony/Component/ExpressionLanguage/Tests/ExpressionLanguageTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ public function testShortCircuitOperatorsCompile($expression, array $names, $exp
9090
*/
9191
public function testParseThrowsInsteadOfNotice()
9292
{
93-
(new ExpressionLanguage())->parse('node.', array('node'));
93+
$expressionLanguage = new ExpressionLanguage();
94+
$expressionLanguage->parse('node.', array('node'));
9495
}
9596

9697
public function shortCircuitProviderEvaluate()

0 commit comments

Comments
 (0)