pug-php/twig

View on GitHub

Showing 146 of 146 total issues

Call to undeclared method \Phug\Formatter\Format\TwigXhtmlFormat::pattern
Open

            $this->pattern('doctype_dtd'),

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

        $availableAssignments = $this->getHelper('available_attribute_assignments');

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

                    $this->formatCode($name->getValue(), $name->isChecked())

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

                ? $this->getNewLine().'%s'.$this->getIndent()

Parameter $attributesAssignment has undeclared type \Phug\Formatter\Element\AssignmentElement
Open

            function (AssignmentElement $attributesAssignment) use (&$arguments, $markup) {

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

                        $arguments[] = $this->formatCode($value, $checked);

Reference to undeclared class \Phug\AbstractCompilerModule
Open

        parent::__construct($container);
Severity: Critical
Found in src/Phug/TwigExtension.php by phan

Class extends undeclared class \Phug\Formatter\Format\XhtmlFormat
Open

abstract class AbstractTwigFormat extends XhtmlFormat
Severity: Critical
Found in src/Phug/Formatter/AbstractTwigFormat.php by phan

Checking instanceof against undeclared class \Phug\Formatter\Element\CodeElement
Open

        if ($child instanceof CodeElement &&
Severity: Critical
Found in src/Phug/Formatter/AbstractTwigFormat.php by phan

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

    protected function formatElementChildren(ElementInterface $element, $indentStep = 1)

Call to undeclared method \Phug\Formatter\Format\TwigXhtmlFormat::setPattern
Open

        $this->setPattern('doctype', $this->pattern(

Call to method belongsTo from undeclared class \Phug\Formatter\MarkupInterface
Open

            $isSelfClosing || $element->isAutoClosed() || $element->belongsTo(

Call to method isAutoClosed from undeclared class \Phug\Formatter\MarkupInterface
Open

            $isSelfClosing || $element->isAutoClosed() || $element->belongsTo(

Call to undeclared method \Phug\Formatter\Format\TwigXhtmlFormat::getOption
Open

                $this->getOption('self_closing_tags')

Call to method getParent from undeclared class \Phug\Formatter\MarkupInterface
Open

            for ($element = $element->getParent(); $element->hasParent(); $element = $element->getParent()) {

Call to method hasOption from undeclared class \Phug\Formatter
Open

            $defaults[$option] = ($formatter->hasOption($option) ? $formatter->getOption($option) : null) ?: [];

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

        $handlers = $this->getOption('attribute_assignments');

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

    public function isWhiteSpaceSensitive(MarkupInterface $element)

Parameter $element has undeclared type \Phug\Formatter\Element\AttributeElement
Open

    protected function formatAttributeElement(AttributeElement $element)

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

                    $this->formatCode($name->getValue(), $name->isChecked())
Severity
Category
Status
Source
Language