Skip to content

Commit b4c1e89

Browse files
committed
minor symfony#13245 [2.3] missing cleanup for legacy test (nicolas-grekas)
This PR was merged into the 2.3 branch. Discussion ---------- [2.3] missing cleanup for legacy test | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Commits ------- 7e929ab [2.3] missing cleanup for legacy test
2 parents bd8ff04 + 7e929ab commit b4c1e89

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/Symfony/Bundle/TwigBundle/Tests/TokenParser/RenderTokenParserTest.php renamed to src/Symfony/Bundle/TwigBundle/Tests/TokenParser/LegacyRenderTokenParserTest.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,13 @@
1515
use Symfony\Bundle\TwigBundle\TokenParser\RenderTokenParser;
1616
use Symfony\Bundle\TwigBundle\Node\RenderNode;
1717

18-
class RenderTokenParserTest extends TestCase
18+
class LegacyRenderTokenParserTest extends TestCase
1919
{
20+
public function setUp()
21+
{
22+
$this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED);
23+
}
24+
2025
/**
2126
* @dataProvider getTestsForRender
2227
*/

0 commit comments

Comments
 (0)