pug-php/pug-assets

View on GitHub

Showing 32 of 32 total issues

Parameter $pug has undeclared type \Jade\Jade
Open

    public function __construct($pug)
Severity: Minor
Found in src/Pug/Assets.php by phan

Parameter $pug has undeclared type \Jade\Jade
Open

    public static function disable($pug)
Severity: Minor
Found in src/Pug/Assets.php by phan

Call to method getOption from undeclared class \Pug\Pug
Open

        return $this->pug->getOption('environment') ?: 'production';
Severity: Critical
Found in src/Pug/Assets.php by phan

Parameter $pug has undeclared type \Jade\Jade
Open

    public static function enable($pug)
Severity: Minor
Found in src/Pug/Assets.php by phan

Return type of getPug() is undeclared type \Pug\Jade
Open

    public function getPug()
Severity: Minor
Found in src/Pug/Assets.php by phan

Call to method setKeyword from undeclared class \Pug\Pug
Open

        $this->pug->setKeyword('minify-to', $minify);
Severity: Critical
Found in src/Pug/Assets.php by phan

Parameter $minify has undeclared type \Pug\Keyword\Minify
Open

    public function setMinify($minify)
Severity: Minor
Found in src/Pug/Assets.php by phan

Parameter $pug has undeclared type \Pug\Pug
Open

    public static function disable($pug)
Severity: Minor
Found in src/Pug/Assets.php by phan

Call to method removeKeyword from undeclared class \Pug\Pug
Open

        $this->pug->removeKeyword('concat');
Severity: Critical
Found in src/Pug/Assets.php by phan

Property \Pug\Assets->pug has undeclared type \Jade\Jade
Open

    protected $pug;
Severity: Minor
Found in src/Pug/Assets.php by phan

Property \Pug\Assets->minify has undeclared type \Pug\Keyword\Minify
Open

    protected $minify;
Severity: Minor
Found in src/Pug/Assets.php by phan

Assigning null to property but \Pug\Assets->minify is \Pug\Keyword\Minify
Open

        $this->minify = null;
Severity: Minor
Found in src/Pug/Assets.php by phan
Severity
Category
Status
Source
Language