Passed
Push — main ( 48e955...a1546e )
by Thierry
01:58
created

View   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 8
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getServiceIdentifier() 0 3 1
1
<?php
2
3
namespace Lagdo\Symfony\Facades;
4
5
use Twig\Extension\ExtensionInterface;
0 ignored issues
show
Bug introduced by
The type Twig\Extension\ExtensionInterface was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
6
use Twig\Loader\LoaderInterface;
0 ignored issues
show
Bug introduced by
The type Twig\Loader\LoaderInterface was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
7
use Twig\RuntimeLoader\RuntimeLoaderInterface;
0 ignored issues
show
Bug introduced by
The type Twig\RuntimeLoader\RuntimeLoaderInterface was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
8
use Twig\TokenParser\TokenParserInterface;
0 ignored issues
show
Bug introduced by
The type Twig\TokenParser\TokenParserInterface was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
9
use Twig\Cache\CacheInterface;
0 ignored issues
show
Bug introduced by
The type Twig\Cache\CacheInterface was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
10
use Twig\TemplateWrapper;
0 ignored issues
show
Bug introduced by
The type Twig\TemplateWrapper was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
11
use Twig\Template;
0 ignored issues
show
Bug introduced by
The type Twig\Template was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
12
use Twig\TwigFilter;
0 ignored issues
show
Bug introduced by
The type Twig\TwigFilter was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
13
use Twig\TwigTest;
0 ignored issues
show
Bug introduced by
The type Twig\TwigTest was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
14
use Twig\TwigFunction;
0 ignored issues
show
Bug introduced by
The type Twig\TwigFunction was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
15
use Twig\Environment;
0 ignored issues
show
Bug introduced by
The type Twig\Environment was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
16
use Lagdo\Symfony\Facades\AbstractFacade;
17
18
/**
19
 * @method static void enableDebug()
20
 * @method static void disableDebug()
21
 * @method static bool isDebug()
22
 * @method static void enableAutoReload()
23
 * @method static void disableAutoReload()
24
 * @method static bool isAutoReload()
25
 * @method static void enableStrictVariables()
26
 * @method static bool isStrictVariables()
27
 * @method static CacheInterface|string|false getCache(bool $original = true)
28
 * @method static void setCache(CacheInterface|string|false $cache)
29
 * @method static string render(string|TemplateWrapper $name, array $context = [])
30
 * @method static string display(string|TemplateWrapper $name, array $context = [])
31
 * @method static TemplateWrapper load(string|TemplateWrapper $name)
32
 * @method static TemplateWrapper createTemplate(string $template, string $name = null)
33
 * @method static bool isTemplateFresh(string $name, int $time)
34
 * @method static TemplateWrapper|Template resolveTemplate(string|TemplateWrapper|array $names)
35
 * @method static void setLoader(LoaderInterface $loader)
36
 * @method static LoaderInterface getLoader()
37
 * @method static void addRuntimeLoader(RuntimeLoaderInterface $loader)
38
 * @method static object getRuntime(string $class)
39
 * @method static void setCharset(string $charset)
40
 * @method static string getCharset()
41
 * @method static bool hasExtension(string $class)
42
 * @method static ExtensionInterface getExtension(string $class)
43
 * @method static void addExtension(ExtensionInterface $extension)
44
 * @method static void setExtensions(array $extensions)
45
 * @method static ExtensionInterface[] getExtensions()
46
 * @method static TokenParserInterface[] getTags()
47
 * @method static void addNodeVisitor(NodeVisitorInterface $visitor)
48
 * @method static NodeVisitorInterface[] getNodeVisitors()
49
 * @method static void addFilter(TwigFilter $filter)
50
 * @method static void registerUndefinedFilterCallback(callable $callable)
51
 * @method static void addTest(TwigTest $test)
52
 * @method static void addFunction(TwigFunction $function)
53
 * @method static void registerUndefinedFunctionCallback(callable $callable)
54
 * @method static void addGlobal(string $name, mixed $value)
55
 * @method static array mergeGlobals(array $context)
56
 */
57
class View extends AbstractFacade
58
{
59
    /**
60
     * @inheritdoc
61
     */
62
    protected static function getServiceIdentifier()
63
    {
64
        return Environment::class;
65
    }
66
}
67