8000 Migrate to `static` data providers using `rector/rector` · symfony/templating@a47d5f1 · GitHub
[go: up one dir, main page]

Skip to content

Commit a47d5f1

Browse files
OskarStarknicolas-grekas
authored andcommitted
Migrate to static data providers using rector/rector
1 parent 1132229 commit a47d5f1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/PhpEngineTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ public function testRenderForbiddenParameter($name)
135135
$engine->render('foo.php', [$name => 'foo']);
136136
}
137137

138-
public function forbiddenParameterNames()
138+
public static function forbiddenParameterNames()
139139
{
140140
return [
141141
['this'],

Tests/TemplateNameParserTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function testParse($name, $ref)
4040
$this->assertEquals($template->getLogicalName(), $name);
4141
}
4242

43-
public function getLogicalNameToTemplateProvider()
43+
public static function getLogicalNameToTemplateProvider()
4444
{
4545
return [
4646
['/path/to/section/name.engine', new TemplateReference('/path/to/section/name.engine', 'engine')],

0 commit comments

Comments
 (0)
0