kylekatarnls/jade-php

View on GitHub

Showing 115 of 115 total issues

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\Keywords::setOptionsRecursive
Open

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

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

        if (!$this->getOption('strict') && strpos($input, "\n") === false && file_exists($input) && !is_dir($input) && is_readable($input)) {
Severity: Critical
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

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

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

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 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 getExtensionsOptions from undeclared class \Phug\Phug
Open

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

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

            $this->nodeEngine = new NodejsPhpFallback($this->hasOption('node_path')
Severity: Critical
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::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 method __construct from undeclared class \JsPhpize\JsPhpizePhug
Open

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

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

        return $this->setOptions($options);
Severity: Critical
Found in src/Pug/Pug.php by phan
Severity
Category
Status
Source
Language