diff --git a/packages/Sensio/tests/Rector/FrameworkExtraBundle/TemplateAnnotationRector/Fixture/Version5/with_route_options.php.inc b/packages/Sensio/tests/Rector/FrameworkExtraBundle/TemplateAnnotationRector/Fixture/Version5/with_route_options.php.inc new file mode 100755 index 000000000000..d3d832916763 --- /dev/null +++ b/packages/Sensio/tests/Rector/FrameworkExtraBundle/TemplateAnnotationRector/Fixture/Version5/with_route_options.php.inc @@ -0,0 +1,44 @@ + $category, + ]; + } +} + +?> +----- +render('PAPPReportBundle:Report:report_list.html.twig', [ + 'category' => $category, + ]); + } +} + +?> diff --git a/packages/Sensio/tests/Rector/FrameworkExtraBundle/TemplateAnnotationRector/TemplateAnnotationVersion5RectorTest.php b/packages/Sensio/tests/Rector/FrameworkExtraBundle/TemplateAnnotationRector/TemplateAnnotationVersion5RectorTest.php old mode 100644 new mode 100755 index 0a8510d68dfc..cc8161056b14 --- a/packages/Sensio/tests/Rector/FrameworkExtraBundle/TemplateAnnotationRector/TemplateAnnotationVersion5RectorTest.php +++ b/packages/Sensio/tests/Rector/FrameworkExtraBundle/TemplateAnnotationRector/TemplateAnnotationVersion5RectorTest.php @@ -26,6 +26,7 @@ public function provideDataForTest(): Iterator yield [__DIR__ . '/Fixture/Version5/fixture4.php.inc']; yield [__DIR__ . '/Fixture/Version5/fixture5.php.inc']; yield [__DIR__ . '/Fixture/Version5/with_route_too.php.inc']; + yield [__DIR__ . '/Fixture/Version5/with_route_options.php.inc']; } /**