Showing 115 of 115 total issues
Property \Pug\Engine\PugJsEngine->nodeEngine
has undeclared type \NodejsPhpFallback\NodejsPhpFallback
Open
Open
protected $nodeEngine;
- Exclude checks
Class extends undeclared class \Phug\Optimizer
(Did you mean class \Pug\Optimizer) Open
Open
class Optimizer extends PhugOptimizer
- Exclude checks
Call to method __construct
from undeclared class \NodejsPhpFallback\NodejsPhpFallback
Open
Open
$this->nodeEngine = new NodejsPhpFallback($this->hasOption('node_path')
- Exclude checks
Class extends undeclared class \Phug\Parser
(Did you mean class \Jade\Parser or class \Pug\Parser) Open
Open
class Parser extends \Phug\Parser
- Exclude checks
Argument 1 (path)
is ?string
but \basename()
takes string
Open
Open
$basename = basename($filename);
- Exclude checks
Call to method execModuleScript
from undeclared class \NodejsPhpFallback\NodejsPhpFallback
Open
Open
$result = $node->execModuleScript(
- Exclude checks
Call to undeclared method \Pug\Engine\PugJsEngine::getOption
Open
Open
: $this->getOption('cache_dir');
- 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
Method \Pug\Engine\Renderer::display
is declared to return string
but has no return value Open
Open
public function display($input, array $vars = [], $filename = null)
- Exclude checks
Returning type void
but displayFile()
is declared to return string
Open
Open
return;
- Exclude checks
Argument 2 (newvalue)
is 1
but \ini_set()
takes string
Open
Open
ini_set('display_errors', 1);
- Exclude checks
Call to undeclared method \Pug\Engine\Options::getOption
Open
Open
$compiler->setOption($option, $this->getOption($option));
- Exclude checks
Saw an @param annotation for input,
but it was not found in the param list of function renderFile($path, array $vars = null) : string
Open
Open
* @param string $input pug file
- Exclude checks
Class extends undeclared class \Phug\Lexer
(Did you mean class \Jade\Lexer or class \Pug\Lexer) Open
Open
class Lexer extends \Phug\Lexer
- Exclude checks
Variable $message
was undeclared, but array fields are being added to it. Open
Open
$message['error'] = !!$_POST;
- Exclude checks
Call to method __construct
from undeclared class \JsPhpize\JsPhpizePhug
Open
Open
$compiler->addModule(new JsPhpizePhug($compiler));
- Exclude checks
Call to undeclared method \Pug\Engine\Renderer::getOption
Open
Open
if (in_array($extension, $this->getOption('extensions'))) {
- Exclude checks
Call to undeclared method \Pug\Engine\Keywords::initCompiler
Open
Open
$this->initCompiler();
- Exclude checks
Parameter $node
has undeclared type \Pug\Nodes\Filter
Open
Open
public function __invoke(Filter $node, Compiler $compiler)
- Exclude checks
Returning type void
but display()
is declared to return string
Open
Open
return;
- Exclude checks