Showing 112 of 112 total issues
Call to undeclared method \Pug\Pug::getOption
Open
Open
'cacheFolderIsWritable' => !$this->getDefaultOption('cache_dir') || is_writable($this->getOption('cache_dir')),
- Exclude checks
Call to undeclared method \Pug\Engine\Keywords::getOption
Open
Open
return $this->hasOption($name) ? $this->getOption($name) : $defaultValue;
- Exclude checks
Call to undeclared method \Pug\Engine\Keywords::unsetOption
Open
Open
$this->unsetOption(['keywords', $keyword]);
- Exclude checks
Call to method execModuleScript
from undeclared class \NodejsPhpFallback\NodejsPhpFallback
Open
Open
$result = $node->execModuleScript(
- Exclude checks
Method \Pug\Engine\Renderer::displayFile
is declared to return string
but has no return value Open
Open
public function displayFile($input, array $vars = [])
- Exclude checks
Call to undeclared method \Pug\Engine\Keywords::hasOption
Open
Open
return $this->hasOption($name) ? $this->getOption($name) : $defaultValue;
- Exclude checks
Call to undeclared method \Pug\Engine\Options::getCompiler
Open
Open
$compiler = $this->getCompiler();
- 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
Method \Pug\Engine\Renderer::displayString
is declared to return string
but has no return value Open
Open
public function displayString($input, array $vars = [], $filename = null)
- Exclude checks
Reference to undeclared property \Pug\Filter\WrapTagTrait->tag
Open
Open
if (isset($this->tag)) {
- Exclude checks
Call to undeclared method \Pug\Pug::setOption
Open
Open
return $this->setOption($name, $value);
- Exclude checks
Call to undeclared method \Pug\Engine\Options::getCompiler
Open
Open
$compiler = $this->getCompiler();
- Exclude checks
Static call to undeclared method \Pug\Engine\Options::displayFile
Open
Open
parent::displayFile($input, $vars);
- Exclude checks
Reference to constant class
from undeclared class \Phug\Phug
Open
Open
return call_user_func_array([Phug::class, $name], $arguments);
- Exclude checks
Class extends undeclared class \Phug\Compiler
(Did you mean class \Jade\Compiler or class \Pug\Compiler) Open
Open
class Compiler extends \Phug\Compiler
- Exclude checks
Call to method __construct
from undeclared class \Phug\JsTransformerExtension
Open
Open
$this->addExtension(new JsTransformerExtension());
- Exclude checks
Call to method getOutput
from undeclared class \Phug\Compiler\Event\OutputEvent
Open
Open
$output = $event->getOutput();
- Exclude checks
Static call to undeclared method \Pug\Engine\Options::renderFile
Open
Open
return parent::renderFile($path, $vars);
- Exclude checks
Reference to undeclared property \Pug\Filter\WrapTagTrait->textType
Open
Open
$code = '<' . $this->tag . (isset($this->textType) ? ' type="text/' . $this->textType . '"' : '') . '>' .
- Exclude checks