Showing 146 of 146 total issues
Call to method getOption
from undeclared class \Phug\Formatter
Open
Open
$defaults[$option] = ($formatter->hasOption($option) ? $formatter->getOption($option) : null) ?: [];
- Exclude checks
Parameter $element
has undeclared type \Phug\Formatter\ElementInterface
Open
Open
public function __invoke(ElementInterface $element)
- Exclude checks
Call to undeclared method \Phug\Formatter\Format\TwigXmlFormat::getOption
Open
Open
$handlers = $this->getOption('attribute_assignments');
- Exclude checks
Call to undeclared method \Phug\Formatter\Format\TwigXmlFormat::provideArrayEscape
(Did you mean expr->provideTwigArrayEscape()) Open
Open
return $this->provideArrayEscape();
- Exclude checks
Call to method isAutoClosed
from undeclared class \Phug\Formatter\MarkupInterface
Open
Open
$isSelfClosing = $element->isAutoClosed();
- Exclude checks
Parameter $element
has undeclared type \Phug\Formatter\MarkupInterface
Open
Open
public function isWhiteSpaceSensitive(MarkupInterface $element)
- Exclude checks
Checking instanceof against undeclared class \Phug\Formatter\Element\TextElement
Open
Open
!($child instanceof TextElement) ||
- Exclude checks
Call to method getValue
from undeclared class \Phug\Formatter\Element\AttributeElement
Open
Open
$value = $element->getValue();
- Exclude checks
Checking instanceof against undeclared class \Phug\Renderer
Open
Open
if ($container instanceof Renderer) {
- Exclude checks
Call to undeclared method \Phug\Formatter\Format\TwigXmlFormat::pattern
Open
Open
$bufferVariable = $this->pattern('buffer_variable');
- Exclude checks
Call to undeclared method \Phug\Formatter\Format\TwigXmlFormat::formatCode
Open
Open
$this->formatCode($name->getValue(), $name->isChecked())
- Exclude checks
Argument 1 (element)
is \Phug\Formatter\Element\MarkupElement
but \Phug\Formatter\Format\TwigXmlFormat::isBlockTag()
takes \Phug\Formatter\MarkupInterface
defined at /code/src/Phug/Formatter/Format/TwigXmlFormat.php:118
Open
Open
$this->isBlockTag($element)
- Exclude checks
Reference to undeclared class \Phug\Formatter\Format\XhtmlFormat
Open
Open
parent::__construct($formatter);
- Exclude checks
Call to undeclared method \Phug\Formatter\Format\TwigXhtmlFormat::pattern
Open
Open
$this->pattern('doctype_language'),
- Exclude checks
Call to method belongsTo
from undeclared class \Phug\Formatter\MarkupInterface
Open
Open
return $element->belongsTo($this->getOption('white_space_sensitive_tags'));
- Exclude checks
Call to method getValue
from undeclared class \Phug\Formatter\Element\TextElement
Open
Open
trim($child->getValue()) !== ''
- Exclude checks
Call to method getName
from undeclared class \Phug\Formatter\MarkupInterface
Open
Open
$element->getName().' is a self closing element: '.
- Exclude checks
Call to method getChildAt
from undeclared class \Phug\Formatter\Element\MarkupElement
Open
Open
$firstChild = $element->getChildAt(0);
- Exclude checks
Call to undeclared method \Phug\Formatter\Format\TwigXmlFormat::getOption
Open
Open
$handlers = $this->getOption('assignment_handlers');
- Exclude checks
Call to undeclared method \Phug\Formatter\Format\TwigXmlFormat::formatCode
Open
Open
$arguments[] = $this->formatCode($value, $checked);
- Exclude checks