Showing 112 of 112 total issues

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

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

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

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 execModuleScript from undeclared class \NodejsPhpFallback\NodejsPhpFallback
Open

        $result = $node->execModuleScript(
Severity: Critical
Found in src/Pug/Engine/PugJsEngine.php by phan

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

    public function displayFile($input, array $vars = [])
Severity: Minor
Found in src/Pug/Engine/Renderer.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 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

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

            if (in_array($extension, $this->getOption('extensions'))) {
Severity: Critical
Found in src/Pug/Engine/Renderer.php by phan

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

    public function displayString($input, array $vars = [], $filename = null)
Severity: Minor
Found in src/Pug/Engine/Renderer.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\Pug::setOption
Open

        return $this->setOption($name, $value);
Severity: Critical
Found in src/Pug/Pug.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

Static call to undeclared method \Pug\Engine\Options::displayFile
Open

        parent::displayFile($input, $vars);
Severity: Critical
Found in src/Pug/Engine/Renderer.php by phan

Reference to constant class from undeclared class \Phug\Phug
Open

        return call_user_func_array([Phug::class, $name], $arguments);
Severity: Critical
Found in src/Pug/Facade.php by phan

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

class Compiler extends \Phug\Compiler
Severity: Critical
Found in src/Pug/Compiler.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

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

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

Static call to undeclared method \Pug\Engine\Options::renderFile
Open

        return parent::renderFile($path, $vars);
Severity: Critical
Found in src/Pug/Engine/Renderer.php by phan

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

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