Showing 146 of 146 total issues
Checking instanceof against undeclared class \Phug\Formatter\MarkupInterface
Open
Open
$firstChild instanceof MarkupInterface &&
- Exclude checks
Parameter $element
has undeclared type \Phug\Formatter\Element\MarkupElement
Open
Open
protected function formatPairTag($open, $close, MarkupElement $element)
- Exclude checks
Parameter $attribute
has undeclared type \Phug\Formatter\Element\AttributeElement
Open
Open
function (AttributeElement $attribute) use (&$arguments) {
- Exclude checks
Saw unextractable annotation for comment '* @return $compiler'
Open
Open
* @return $compiler
- Exclude checks
Class extends undeclared class \Phug\AbstractCompilerModule
Open
Open
class TwigExtension extends AbstractCompilerModule
- Exclude checks
Parameter $element
has undeclared type \Phug\Formatter\Element\MarkupElement
Open
Open
protected function formatAttributes(MarkupElement $element)
- Exclude checks
Reference to undeclared property \Phug\Formatter\AbstractTwigFormat->formatter
Open
Open
$indentLevel = $this->formatter->getLevel();
- Exclude checks
Call to undeclared method \Phug\Formatter\Format\TwigXhtmlFormat::setOptionsRecursive
Open
Open
$this->setOptionsRecursive([
- Exclude checks
Call to undeclared method \Phug\Formatter\Format\TwigXmlFormat::pattern
Open
Open
return $this->pattern(
- Exclude checks
Call to method getContainer
from undeclared class \Phug\Formatter\Element\AssignmentElement
Open
Open
$markup = $element->getContainer();
- Exclude checks
Call to undeclared method \Phug\Formatter\Format\TwigXmlFormat::formatAttributeAsArrayItem
Open
Open
$arguments[] = $this->formatAttributeAsArrayItem($attribute);
- Exclude checks
Reference to undeclared class \Phug\AbstractCompilerModule
Open
Open
parent::__construct($container);
- Exclude checks
Checking instanceof against undeclared class \Phug\Formatter\Element\CodeElement
Open
Open
if ($child instanceof CodeElement &&
- Exclude checks
Call to undeclared method \Phug\Formatter\Format\TwigXhtmlFormat::setPattern
Open
Open
$this->setPattern('doctype', $this->pattern(
- Exclude checks
Parameter $element
has undeclared type \Phug\Formatter\MarkupInterface
Open
Open
public function isWhiteSpaceSensitive(MarkupInterface $element)
- Exclude checks
Call to undeclared method \Phug\Formatter\Format\TwigXmlFormat::getNewLine
Open
Open
? $this->getNewLine().'%s'.$this->getIndent()
- Exclude checks
Call to method __construct
from undeclared class \Phug\Compiler
Open
Open
$compiler = new Compiler($options);
- Exclude checks
Call to method compile
from undeclared class \Phug\Compiler
Open
Open
return $compiler->compile($pugCode);
- Exclude checks
Call to undeclared method \Phug\Formatter\AbstractTwigFormat::getChildrenIterator
Open
Open
foreach ($this->getChildrenIterator($element) as $child) {
- Exclude checks
Parameter $element
has undeclared type \Phug\Formatter\MarkupInterface
Open
Open
public function isSelfClosingTag(MarkupInterface $element, $isSelfClosing = false)
- Exclude checks