Showing 112 of 112 total issues

Class extends undeclared class \Phug\Lexer (Did you mean class \Jade\Lexer or class \Pug\Lexer)
Open

class Lexer extends \Phug\Lexer
Severity: Critical
Found in src/Pug/Lexer.php by phan

Reference to constant class from undeclared class \Phug\Formatter\Format\HtmlFormat
Open

                $options['formats'][$format] = HtmlFormat::class;
Severity: Critical
Found in src/Pug/Engine/Options.php by phan

Call to method setOutput from undeclared class \Phug\Compiler\Event\OutputEvent
Open

            $event->setOutput($output);
Severity: Critical
Found in src/Pug/Engine/OptionsHandler.php by phan

Call to undeclared method \Pug\Engine\PugJsEngine::hasOption
Open

                $this->hasOption('node_path')
Severity: Critical
Found in src/Pug/Engine/PugJsEngine.php by phan

Call to method getExtensionsOptions from undeclared class \Phug\Phug
Open

            $options = Phug::getExtensionsOptions([$extension]);
Severity: Critical
Found in src/Pug/Engine/Keywords.php by phan

Reference to constant class from undeclared class \Phug\Renderer\Adapter\FileAdapter
Open

            $options['adapterclassname'] = FileAdapter::class;
Severity: Critical
Found in src/Pug/Engine/Options.php by phan

Returning type void but displayString() is declared to return string
Open

            return;
Severity: Minor
Found in src/Pug/Engine/Renderer.php by phan

Call to undeclared method \Pug\Engine\Filters::getCompiler
Open

        return $this->getCompiler()->setFilter($name, $filter);
Severity: Critical
Found in src/Pug/Engine/Filters.php by phan

Call to undeclared method \Pug\Engine\Filters::getCompiler
Open

        return $this->getCompiler()->hasFilter($name);
Severity: Critical
Found in src/Pug/Engine/Filters.php by phan

Call to undeclared method \Pug\Engine\Filters::getCompiler
Open

        $filter = $this->getCompiler()->getFilter($name);
Severity: Critical
Found in src/Pug/Engine/Filters.php by phan

Call to undeclared method \Pug\Engine\Keywords::initCompiler
Open

            $this->initCompiler();
Severity: Critical
Found in src/Pug/Engine/Keywords.php by phan

Parameter $event has undeclared type \Phug\Lexer\Event\LexEvent
Open

            $options['on_lex'] = function (LexEvent $event) use ($onLex, $preRender) {
Severity: Minor
Found in src/Pug/Engine/OptionsHandler.php by phan

Returning type void but displayFile() is declared to return string
Open

            return;
Severity: Minor
Found in src/Pug/Engine/Renderer.php by phan

Reference to constant class from undeclared class \Phug\Renderer\Adapter\StreamAdapter
Open

            '->stream() is no longer available, please use ' . StreamAdapter::class . ' instead',
Severity: Critical
Found in src/Pug/Pug.php by phan

Call to undeclared method \Pug\Engine\Keywords::setOption
Open

            $this->setOption('keywords', []);
Severity: Critical
Found in src/Pug/Engine/Keywords.php by phan

Call to method setInput from undeclared class \Phug\Lexer\Event\LexEvent
Open

                $event->setInput(call_user_func($preRender, $event->getInput()));
Severity: Critical
Found in src/Pug/Engine/OptionsHandler.php by phan

Call to method __construct from undeclared class \NodejsPhpFallback\NodejsPhpFallback
Open

            $this->nodeEngine = new NodejsPhpFallback(
Severity: Critical
Found in src/Pug/Engine/PugJsEngine.php by phan

Call to method setRendererClassName from undeclared class \Phug\Phug
Open

        Phug::setRendererClassName(static::class);
Severity: Critical
Found in src/Pug/Pug.php by phan

Call to undeclared method \Pug\Pug::getOption
Open

            'cacheFolderExists'     => !$this->getDefaultOption('cache_dir') || is_dir($this->getOption('cache_dir')),
Severity: Critical
Found in src/Pug/Pug.php by phan

Call to undeclared method \Pug\Engine\Keywords::setOptionsRecursive
Open

                $instance->setOptionsRecursive($options);
Severity: Critical
Found in src/Pug/Engine/Keywords.php by phan
Severity
Category
Status
Source
Language