kylekatarnls/jade-php

View on GitHub

Showing 115 of 115 total issues

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

        return $this->hasOption($name) ? $this->getOption($name) : $defaultValue;
Severity: Critical
Found in src/Pug/Engine/Keywords.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

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

Return type of getNodeEngine() is undeclared type \NodejsPhpFallback\NodejsPhpFallback
Open

    public function getNodeEngine()
Severity: Minor
Found in src/Pug/Engine/PugJsEngine.php by phan

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

        $vars = $this->mergeWithSharedVariables($vars);
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

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::hasOption
Open

        return $this->hasOption($name) ? $this->getOption($name) : $defaultValue;
Severity: Critical
Found in src/Pug/Engine/Keywords.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

Parameter $event has undeclared type \Phug\Compiler\Event\OutputEvent
Open

        $options['on_output'] = function (OutputEvent $event) use ($onOutput, $postRender) {
Severity: Minor
Found in src/Pug/Engine/OptionsHandler.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::unsetOption
Open

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

Argument 1 (path) is ?string but \dirname() takes string
Open

        $directory = dirname($filename);
Severity: Minor
Found in src/Pug/Engine/PugJsEngine.php by phan

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

        $compiler = $this->getCompiler();
Severity: Critical
Found in src/Pug/Engine/Options.php by phan

Argument 1 (path) is ?string but \realpath() takes string
Open

            'path'    => realpath($filename),
Severity: Minor
Found in src/Pug/Engine/PugJsEngine.php by phan

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

        if (isset($this->tag)) {
Severity: Minor
Found in src/Pug/Filter/WrapTagTrait.php by phan

Call to undeclared method \Pug\Engine\OptionsHandler::addOptionNameHandlers
Open

        $this->addOptionNameHandlers(function ($name) {
Severity: Critical
Found in src/Pug/Engine/OptionsHandler.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 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 method nodeExec from undeclared class \NodejsPhpFallback\NodejsPhpFallback
Open

        $html = $node->nodeExec($renderFile);
Severity: Critical
Found in src/Pug/Engine/PugJsEngine.php by phan
Severity
Category
Status
Source
Language