pug-php/pug-symfony

View on GitHub
src/Pug/Symfony/MixedLoader.php

Summary

Maintainability
A
0 mins
Test Coverage

Class implements undeclared interface \Twig\Loader\LoaderInterface
Open

class MixedLoader implements LoaderInterface
Severity: Critical
Found in src/Pug/Symfony/MixedLoader.php by phan

Call to method isFresh from undeclared class \Twig\Loader\LoaderInterface
Open

        return $this->base->isFresh($name, $time);
Severity: Critical
Found in src/Pug/Symfony/MixedLoader.php by phan

Return type of getSourceContext() is undeclared type \Twig\Source (Did you mean resource)
Open

    public function getSourceContext(string $name): Source
Severity: Minor
Found in src/Pug/Symfony/MixedLoader.php by phan

@throws type of isFresh has undeclared type \Twig\Error\LoaderError
Open

    public function isFresh(string $name, $time): bool
Severity: Minor
Found in src/Pug/Symfony/MixedLoader.php by phan

Call to method getCacheKey from undeclared class \Twig\Loader\LoaderInterface
Open

        return $this->base->getCacheKey($name);
Severity: Critical
Found in src/Pug/Symfony/MixedLoader.php by phan

Call to method getSourceContext from undeclared class \Twig\Loader\LoaderInterface
Open

        return $this->base->getSourceContext($name);
Severity: Critical
Found in src/Pug/Symfony/MixedLoader.php by phan

Call to method exists from undeclared class \Twig\Loader\LoaderInterface
Open

        return $this->base->exists($name);
Severity: Critical
Found in src/Pug/Symfony/MixedLoader.php by phan

Property \Pug\Symfony\MixedLoader->base has undeclared type \Twig\Loader\LoaderInterface
Open

    protected $base;
Severity: Minor
Found in src/Pug/Symfony/MixedLoader.php by phan

@throws type of getCacheKey has undeclared type \Twig\Error\LoaderError
Open

    public function getCacheKey(string $name): string
Severity: Minor
Found in src/Pug/Symfony/MixedLoader.php by phan

Parameter $base has undeclared type \Twig\Loader\LoaderInterface
Open

    public function __construct(LoaderInterface $base)
Severity: Minor
Found in src/Pug/Symfony/MixedLoader.php by phan

Call to method __construct from undeclared class \Twig\Source
Open

            return new Source($this->extraTemplates[$name], $name);
Severity: Critical
Found in src/Pug/Symfony/MixedLoader.php by phan

There are no issues that match your filters.

Category
Status