Showing 112 of 112 total issues

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

    public function __invoke(Filter $node, Compiler $compiler)
Severity: Minor
Found in src/Pug/Filter/AbstractFilter.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

Parameter $extension has undeclared type \Phug\ExtensionInterface
Open

    public function addExtension(ExtensionInterface $extension)
Severity: Minor
Found in src/Pug/Engine/Keywords.php by phan

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

        $basename = basename($filename);
Severity: Minor
Found in src/Pug/Engine/PugJsEngine.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

Static call to undeclared method \Pug\Engine\Renderer::__construct
Open

        parent::__construct($options);
Severity: Critical
Found in src/Pug/Pug.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\Keywords::setOption
Open

        $this->setOption(['keywords', $keyword], $action);
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

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

Property \Pug\Engine\PugJsEngine->nodeEngine has undeclared type \NodejsPhpFallback\NodejsPhpFallback
Open

    protected $nodeEngine;
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 undeclared method \Pug\Engine\PugJsEngine::getOption
Open

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

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

                json_encode(realpath(NodejsPhpFallback::getPrefixPath() . '/require.js')) .
Severity: Critical
Found in src/Pug/Engine/PugJsEngine.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 getExtensionsOptions from undeclared class \Phug\Phug
Open

                    $options = array_merge($options, Phug::getExtensionsOptions([$keyword->getExtension()]));
Severity: Critical
Found in src/Pug/Engine/Options.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

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

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

        parent::display($input, $vars, $filename);
Severity: Critical
Found in src/Pug/Engine/Renderer.php by phan
Severity
Category
Status
Source
Language