Showing 112 of 112 total issues

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

Argument 1 (input) is null but \Pug\Engine\PugJsEngine::renderWithJs() takes string defined at /code/src/Pug/Engine/PugJsEngine.php:192
Open

        return $this->renderWithJs(null, $path, $vars, $fallback);
Severity: Minor
Found in src/Pug/Engine/PugJsEngine.php by phan

Reference to undeclared property \Pug\Filter\WrapTagTrait->tag
Open

            $code = '<' . $this->tag . (isset($this->textType) ? ' type="text/' . $this->textType . '"' : '') . '>' .
Severity: Minor
Found in src/Pug/Filter/WrapTagTrait.php by phan

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

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

Call to method __construct from undeclared class \Phug\JsTransformerExtension
Open

        $this->addExtension(new JsTransformerExtension());
Severity: Critical
Found in src/Pug/Engine/Options.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

Call to method getInput 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 undeclared method \Pug\Engine\PugJsEngine::hasOption
Open

                $this->hasOption('node_path')
Severity: Critical
Found in src/Pug/Engine/PugJsEngine.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

Method \Pug\Engine\Renderer::display is declared to return string but has no return value
Open

    public function display($input, array $vars = [], $filename = null)
Severity: Minor
Found in src/Pug/Engine/Renderer.php by phan

Parameter $filter has undeclared type \Pug\Nodes\Filter
Open

    public function __invoke(Filter $filter, Compiler $compiler);
Severity: Minor
Found in src/Pug/Filter/FilterInterface.php by phan
Severity
Category
Status
Source
Language