pug-php/twig

View on GitHub

Showing 146 of 146 total issues

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

    protected function isBlockTag(MarkupInterface $element)

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

    public function isSelfClosingTag(MarkupInterface $element, $isSelfClosing = null)

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

            $formattedValue = $this->format($value);

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

    protected function formatAssignmentElement(AssignmentElement $element)

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

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

Reference to undeclared property \Phug\Formatter\AbstractTwigFormat->formatter
Open

        $childContent = $this->formatter->format($child);

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

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

Reference to undeclared property \Phug\Formatter\AbstractTwigFormat->formatter
Open

        return $this->mustBeHandleWithPhp($input, '$'.$this->formatter->getOption('dependencies_storage'))

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

    public function isWhiteSpaceSensitive(MarkupInterface $element)

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

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

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

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

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

        if ($value instanceof ExpressionElement) {

Call to method setOptionsRecursive from undeclared class \Phug\CompilerInterface
Open

        $formatter = $compiler->setOptionsRecursive($options)->getFormatter();
Severity: Critical
Found in src/Phug/PugToTwig.php by phan

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

            if (in_array(strtolower($value->getValue()), ['false', 'null', 'undefined'])) {

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

            function (AttributeElement $attribute) use (&$arguments) {

Class extends undeclared class \Phug\AbstractCompilerModule
Open

class PugToTwig extends AbstractCompilerModule
Severity: Critical
Found in src/Phug/PugToTwig.php by phan

Call to undeclared method \Phug\Formatter\AbstractTwigFormat::setOptionsRecursive
Open

        $this
Severity: Critical
Found in src/Phug/Formatter/AbstractTwigFormat.php by phan

Call to undeclared method \Phug\Formatter\AbstractTwigFormat::getOption
Open

        $commentPattern = $this->getOption('debug');
Severity: Critical
Found in src/Phug/Formatter/AbstractTwigFormat.php by phan
Severity
Category
Status
Source
Language