Code improvements (#1649)
* use global namespace for faster lookups * phpstan level 5
This commit is contained in:
@@ -33,7 +33,7 @@ class ConfigExtensionTest extends TestCase
|
||||
$functions = ['theme_config'];
|
||||
$sut = $this->getSut([], []);
|
||||
$twigFunctions = $sut->getFunctions();
|
||||
self::assertCount(count($functions), $twigFunctions);
|
||||
self::assertCount(\count($functions), $twigFunctions);
|
||||
$i = 0;
|
||||
/** @var TwigFunction $filter */
|
||||
foreach ($twigFunctions as $filter) {
|
||||
|
||||
Reference in New Issue
Block a user