pug-php/pug-symfony

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

Summary

Maintainability
A
0 mins
Test Coverage

Parameter $assets has undeclared type \Symfony\Bridge\Twig\Extension\AssetExtension
Open

    public function __construct(AssetExtension $assets)
Severity: Minor
Found in src/Pug/Symfony/CssExtension.php by phan

Property \Pug\Symfony\CssExtension->assets has undeclared type \Symfony\Bridge\Twig\Extension\AssetExtension
Open

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

Call to method getAssetUrl from undeclared class \Symfony\Bridge\Twig\Extension\AssetExtension
Open

        $url = $this->assets->getAssetUrl("$url");
Severity: Critical
Found in src/Pug/Symfony/CssExtension.php by phan

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

            new TwigFunction('css_url', [$this, 'getUrl']),
Severity: Critical
Found in src/Pug/Symfony/CssExtension.php by phan

Class extends undeclared class \Twig\Extension\AbstractExtension
Open

class CssExtension extends AbstractExtension
Severity: Critical
Found in src/Pug/Symfony/CssExtension.php by phan

There are no issues that match your filters.

Category
Status