pug-php/twig

View on GitHub

Showing 146 of 146 total issues

Call to method getValue from undeclared class \Phug\Formatter\Element\AbstractValueElement
Open

                            $value = $value->getValue();

Call to undeclared method \Phug\Formatter\Format\TwigXmlFormat::formatAttributeAsArrayItem
Open

                $arguments[] = $this->formatAttributeAsArrayItem($attribute);

Call to undeclared method format in callable. Possible object type(s) for that method are \Phug\Formatter\Format\TwigXmlFormat
Open

        return implode('', array_map([$this, 'format'], $newElements));

Parameter $container has undeclared type \Phug\Util\ModuleContainerInterface
Open

    public function __construct(ModuleContainerInterface $container)
Severity: Minor
Found in src/Phug/TwigExtension.php by phan

Parameter $element has undeclared type \Phug\Formatter\MarkupInterface
Open

    protected function isBlockTag(MarkupInterface $element)

Call to undeclared method \Phug\Formatter\Format\TwigXmlFormat::getIndent
Open

                ? $this->getNewLine().'%s'.$this->getIndent()
Severity
Category
Status
Source
Language