Showing 112 of 112 total issues
Parameter $node
has undeclared type \Pug\Nodes\Filter
Open
Open
public function __invoke(Filter $node, Compiler $compiler)
- Exclude checks
Call to undeclared method \Pug\Pug::setOption
Open
Open
return $this->setOption($name, $value);
- Exclude checks
Parameter $extension
has undeclared type \Phug\ExtensionInterface
Open
Open
public function addExtension(ExtensionInterface $extension)
- Exclude checks
Argument 1 (path)
is ?string
but \basename()
takes string
Open
Open
$basename = basename($filename);
- Exclude checks
Static call to undeclared method \Pug\Engine\Options::displayFile
Open
Open
parent::displayFile($input, $vars);
- Exclude checks
Static call to undeclared method \Pug\Engine\Renderer::__construct
Open
Open
parent::__construct($options);
- Exclude checks
Call to undeclared method \Pug\Engine\Filters::getCompiler
Open
Open
return $this->getCompiler()->setFilter($name, $filter);
- Exclude checks
Call to undeclared method \Pug\Engine\Keywords::setOption
Open
Open
$this->setOption(['keywords', $keyword], $action);
- Exclude checks
Call to undeclared method \Pug\Engine\Options::getCompiler
Open
Open
$compiler = $this->getCompiler();
- Exclude checks
Reference to undeclared property \Pug\Filter\WrapTagTrait->textType
Open
Open
$code = '<' . $this->tag . (isset($this->textType) ? ' type="text/' . $this->textType . '"' : '') . '>' .
- Exclude checks
Property \Pug\Engine\PugJsEngine->nodeEngine
has undeclared type \NodejsPhpFallback\NodejsPhpFallback
Open
Open
protected $nodeEngine;
- Exclude checks
Call to undeclared method \Pug\Engine\PugJsEngine::mergeWithSharedVariables
Open
Open
$vars = $this->mergeWithSharedVariables($vars);
- Exclude checks
Call to undeclared method \Pug\Engine\PugJsEngine::getOption
Open
Open
: $this->getOption('cache_dir');
- Exclude checks
Call to method getPrefixPath
from undeclared class \NodejsPhpFallback\NodejsPhpFallback
Open
Open
json_encode(realpath(NodejsPhpFallback::getPrefixPath() . '/require.js')) .
- Exclude checks
Reference to constant class
from undeclared class \Phug\Formatter\Format\HtmlFormat
Open
Open
$options['formats'][$format] = HtmlFormat::class;
- Exclude checks
Call to method getExtensionsOptions
from undeclared class \Phug\Phug
Open
Open
$options = array_merge($options, Phug::getExtensionsOptions([$keyword->getExtension()]));
- Exclude checks
Argument 1 (path)
is ?string
but \dirname()
takes string
Open
Open
$directory = dirname($filename);
- Exclude checks
Argument 1 (path)
is ?string
but \realpath()
takes string
Open
Open
'path' => realpath($filename),
- Exclude checks
Call to undeclared method \Pug\Engine\Renderer::getOption
Open
Open
if (in_array($extension, $this->getOption('extensions'))) {
- Exclude checks
Static call to undeclared method \Pug\Engine\Options::display
Open
Open
parent::display($input, $vars, $filename);
- Exclude checks