Showing 146 of 146 total issues
Call to method belongsTo
from undeclared class \Phug\Formatter\MarkupInterface
Open
Open
$isSelfClosing || $element->isAutoClosed() || $element->belongsTo(
- Exclude checks
Call to method hasParent
from undeclared class \Phug\Formatter\MarkupInterface
Open
Open
if ($element->hasParent()) {
- Exclude checks
Call to undeclared method \Phug\Formatter\Format\TwigXmlFormat::registerHelper
Open
Open
$this->registerHelper($name.'_attribute_assignment', $handler);
- 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::formatCode
Open
Open
$this->formatCode($name->getValue(), $name->isChecked())
- Exclude checks
Call to undeclared method \Phug\Formatter\Format\TwigXmlFormat::getNewLine
Open
Open
? $this->getNewLine().'%s'.$this->getIndent()
- Exclude checks
Call to undeclared method \Phug\Formatter\Format\TwigXmlFormat::attributesAssignmentsFromPairs
Open
Open
$newElements[] = $this->attributesAssignmentsFromPairs($arguments);
- Exclude checks
Saw unextractable annotation for comment '* @return $compiler'
Open
Open
* @return $compiler
- Exclude checks
Parameter $compiler
has undeclared type \Phug\CompilerInterface
Open
Open
public static function enableTwigFormatter(CompilerInterface $compiler)
- Exclude checks
Reference to undeclared class \Phug\Formatter\Format\XhtmlFormat
Open
Open
parent::__construct($formatter);
- Exclude checks
Call to method getAssignments
from undeclared class \Phug\Formatter\Element\MarkupElement
Open
Open
foreach ($element->getAssignments() as $assignment) {
- Exclude checks
Checking instanceof against undeclared class \Phug\Formatter\Element\CodeElement
Open
Open
if ($child instanceof CodeElement &&
- Exclude checks
Checking instanceof against undeclared class \Phug\Formatter\Element\CodeElement
Open
Open
$previous instanceof CodeElement &&
- Exclude checks
Checking instanceof against undeclared class \Phug\Formatter\ElementInterface
Open
Open
if ($child instanceof ElementInterface) {
- Exclude checks
Call to undeclared method \Phug\Formatter\Format\TwigXhtmlFormat::pattern
Open
Open
$this->pattern('doctype_dtd'),
- Exclude checks
Call to undeclared method \Phug\Formatter\Format\TwigXmlFormat::setOptionsDefaults
Open
Open
$this
- Exclude checks
Call to method hasChildren
from undeclared class \Phug\Formatter\MarkupInterface
Open
Open
if ($isSelfClosing && $element->hasChildren()) {
- Exclude checks
Call to undeclared method \Phug\Formatter\Format\TwigXmlFormat::throwException
Open
Open
$this->throwException(
- Exclude checks
Call to undeclared method \Phug\Formatter\Format\TwigXmlFormat::format
Open
Open
$formattedName = $this->format($name);
- Exclude checks
Parameter $element
has undeclared type \Phug\Formatter\Element\MarkupElement
Open
Open
protected function formatPairTagChildren(MarkupElement $element)
- Exclude checks