You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
trigger_deprecation('symfony/twig-bundle', '6.1', 'Directory "%s" contains non "*.twig" files. They will not be compiled by cache warmer in Symfony 7.0. Set "twig.file_name_pattern: \'*.twig\'" in your configuration.', $dir);
@@ -31,21 +28,16 @@ public function testGetIterator()
31
28
'@Bar/index.html.twig',
32
29
'@Bar/layout.html.twig',
33
30
'@Foo/index.html.twig',
31
+
'@Foo/not-twig.js',
34
32
'layout.html.twig',
35
33
],
36
34
$sorted
37
35
);
38
36
}
39
37
40
-
/**
41
-
* @group legacy
42
-
*/
43
-
publicfunctiontestGetIteratorDeprecateNonTwig()
38
+
publicfunctiontestGetIteratorWithFileNameFilter()
44
39
{
45
-
$dir = __DIR__.'/Fixtures/templates/Foo';
46
-
$this->expectDeprecation(sprintf('Since symfony/twig-bundle 6.1: Directory "%s" contains non "*.twig" files. They will not be compiled by cache warmer in Symfony 7.0. Set "twig.file_name_pattern: \'*.twig\'" in your configuration.', $dir));
0 commit comments