pug-php/pug-symfony

View on GitHub

Showing 287 of 287 total issues

Call to undeclared method \Pug\Twig\Environment::isDebug
Open

            if ($this->isDebug()) {
Severity: Critical
Found in src/Pug/Twig/Environment.php by phan

Reference to undeclared class \Twig\Environment (Did you mean class \Pug\Twig\Environment)
Open

        $html = parent::compileSource($source);
Severity: Critical
Found in src/Pug/Twig/Environment.php by phan

Call to undeclared method \Pug\Twig\Environment::addExtension
Open

            $twig->addExtension($assetExtension);
Severity: Critical
Found in src/Pug/Symfony/Traits/HelpersHandler.php by phan

Reference to undeclared class \Twig\Environment (Did you mean class \Pug\Twig\Environment)
Open

        return parent::render($name, $context);
Severity: Critical
Found in src/Pug/Twig/Environment.php by phan

Parameter $source has undeclared type \Twig\Source (Did you mean resource)
Open

    public function compileSource(Source $source): string
Severity: Minor
Found in src/Pug/Twig/Environment.php by phan

Parameter $function has undeclared type \Twig\TwigFunction
Open

    public function compileCode(TwigFunction $function, string $code)
Severity: Minor
Found in src/Pug/Twig/Environment.php by phan

Parameter $twig has undeclared type \Twig\Environment (Did you mean class \Pug\Twig\Environment)
Open

    protected static function getPrivateExtensionProperty(TwigEnvironment $twig, string $extension, string $property)
Severity: Minor
Found in src/Pug/Twig/Environment.php by phan
Severity
Category
Status
Source
Language