Showing 112 of 112 total issues
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
Reference to constant class
from undeclared class \Phug\Formatter\Format\HtmlFormat
Open
Open
$options['formats'][$format] = HtmlFormat::class;
- Exclude checks
Call to method setOutput
from undeclared class \Phug\Compiler\Event\OutputEvent
Open
Open
$event->setOutput($output);
- Exclude checks
Call to undeclared method \Pug\Engine\PugJsEngine::hasOption
Open
Open
$this->hasOption('node_path')
- Exclude checks
Call to method getExtensionsOptions
from undeclared class \Phug\Phug
Open
Open
$options = Phug::getExtensionsOptions([$extension]);
- Exclude checks
Reference to constant class
from undeclared class \Phug\Renderer\Adapter\FileAdapter
Open
Open
$options['adapterclassname'] = FileAdapter::class;
- Exclude checks
Returning type void
but displayString()
is declared to return string
Open
Open
return;
- 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\Filters::getCompiler
Open
Open
return $this->getCompiler()->hasFilter($name);
- Exclude checks
Call to undeclared method \Pug\Engine\Filters::getCompiler
Open
Open
$filter = $this->getCompiler()->getFilter($name);
- Exclude checks
Call to undeclared method \Pug\Engine\Keywords::initCompiler
Open
Open
$this->initCompiler();
- Exclude checks
Parameter $event
has undeclared type \Phug\Lexer\Event\LexEvent
Open
Open
$options['on_lex'] = function (LexEvent $event) use ($onLex, $preRender) {
- Exclude checks
Returning type void
but displayFile()
is declared to return string
Open
Open
return;
- Exclude checks
Reference to constant class
from undeclared class \Phug\Renderer\Adapter\StreamAdapter
Open
Open
'->stream() is no longer available, please use ' . StreamAdapter::class . ' instead',
- Exclude checks
Call to undeclared method \Pug\Engine\Keywords::setOption
Open
Open
$this->setOption('keywords', []);
- Exclude checks
Call to method setInput
from undeclared class \Phug\Lexer\Event\LexEvent
Open
Open
$event->setInput(call_user_func($preRender, $event->getInput()));
- Exclude checks
Call to method __construct
from undeclared class \NodejsPhpFallback\NodejsPhpFallback
Open
Open
$this->nodeEngine = new NodejsPhpFallback(
- Exclude checks
Call to method setRendererClassName
from undeclared class \Phug\Phug
Open
Open
Phug::setRendererClassName(static::class);
- Exclude checks
Call to undeclared method \Pug\Pug::getOption
Open
Open
'cacheFolderExists' => !$this->getDefaultOption('cache_dir') || is_dir($this->getOption('cache_dir')),
- Exclude checks
Call to undeclared method \Pug\Engine\Keywords::setOptionsRecursive
Open
Open
$instance->setOptionsRecursive($options);
- Exclude checks