Showing 146 of 146 total issues
Call to method getAttributes
from undeclared class \Phug\Formatter\Element\AssignmentElement
Open
Open
$attributes = iterator_to_array($attributesAssignment->getAttributes());
- Exclude checks
Parameter $formatter
has undeclared type ?\Phug\Formatter
Open
Open
public function __construct(Formatter $formatter = null)
- Exclude checks
Call to method belongsTo
from undeclared class \Phug\Formatter\MarkupInterface
Open
Open
if ($element->belongsTo($this->getOption('inline_tags'))) {
- Exclude checks
Class uses undeclared trait \Phug\Formatter\Partial\AssignmentHelpersTrait
Open
Open
class TwigXmlFormat extends AbstractTwigFormat
- Exclude checks
Call to undeclared method \Phug\Formatter\Format\TwigXmlFormat::setOptionsDefaults
Open
Open
$this
- Exclude checks
Reference to undeclared constant \Phug\Formatter\Format\TwigXmlFormat::SAVE_VALUE
Open
Open
'save_value' => static::SAVE_VALUE,
- Exclude checks
Parameter $element
has undeclared type \Phug\Formatter\MarkupInterface
Open
Open
protected function isBlockTag(MarkupInterface $element)
- Exclude checks
Call to method getValue
from undeclared class \Phug\Formatter\Element\ExpressionElement
Open
Open
if (in_array(strtolower($value->getValue()), ['false', 'null', 'undefined'])) {
- Exclude checks
Checking instanceof against undeclared class \Phug\Formatter\Element\ExpressionElement
Open
Open
if ($name instanceof ExpressionElement) {
- Exclude checks
Call to method isChecked
from undeclared class \Phug\Formatter\Element\ExpressionElement
Open
Open
$this->formatCode($name->getValue(), $name->isChecked())
- Exclude checks
Parameter $element
has undeclared type \Phug\Formatter\Element\MarkupElement
Open
Open
protected function formatPairTagChildren(MarkupElement $element)
- Exclude checks
Argument 1 (element)
is \Phug\Formatter\Element\MarkupElement
but \Phug\Formatter\Format\TwigXmlFormat::formatElementChildren()
takes \Phug\Formatter\ElementInterface
defined at /code/src/Phug/Formatter/AbstractTwigFormat.php:143
Open
Open
$this->formatElementChildren($element)
- Exclude checks
Parameter $element
has undeclared type \Phug\Formatter\Element\AssignmentElement
Open
Open
protected function formatAssignmentElement(AssignmentElement $element)
- Exclude checks
Argument 1 (compiler)
is \Phug\Util\ModuleContainerInterface
but \Phug\PugToTwig::enableTwigFormatter()
takes \Phug\CompilerInterface
defined at /code/src/Phug/PugToTwig.php:42
Open
Open
PugToTwig::enableTwigFormatter($container);
- Exclude checks
Call to undeclared method \Phug\Formatter\AbstractTwigFormat::getOption
Open
Open
$commentPattern = $this->getOption('debug');
- Exclude checks
Call to method isAutoClosed
from undeclared class \Phug\Formatter\MarkupInterface
Open
Open
$isSelfClosing || $element->isAutoClosed() || $element->belongsTo(
- Exclude checks
Checking instanceof against undeclared class \Phug\Formatter\MarkupInterface
Open
Open
if ($element instanceof MarkupInterface) {
- Exclude checks
Checking instanceof against undeclared class \Phug\Formatter\Element\TextElement
Open
Open
if ($value instanceof TextElement && $nonEmptyAttribute && (!$value->getValue() || $value->getValue() === '')) {
- Exclude checks
Call to method isCodeBlock
from undeclared class \Phug\Formatter\Element\CodeElement
Open
Open
$previous->isCodeBlock()
- Exclude checks
Call to undeclared method \Phug\Formatter\Format\TwigXhtmlFormat::addPatterns
Open
Open
$this->addPatterns([
- Exclude checks