Showing 146 of 146 total issues
Parameter $element
has undeclared type \Phug\Formatter\MarkupInterface
Open
Open
protected function isBlockTag(MarkupInterface $element)
- Exclude checks
Parameter $element
has undeclared type \Phug\Formatter\MarkupInterface
Open
Open
public function isSelfClosingTag(MarkupInterface $element, $isSelfClosing = null)
- Exclude checks
Call to undeclared method \Phug\Formatter\Format\TwigXmlFormat::format
Open
Open
$formattedValue = $this->format($value);
- Exclude checks
Parameter $element
has undeclared type \Phug\Formatter\Element\AssignmentElement
Open
Open
protected function formatAssignmentElement(AssignmentElement $element)
- Exclude checks
Call to undeclared method format
in callable. Possible object type(s) for that method are \Phug\Formatter\Format\TwigXmlFormat
Open
Open
return implode('', array_map([$this, 'format'], $newElements));
- Exclude checks
Parameter $container
has undeclared type \Phug\Util\ModuleContainerInterface
Open
Open
public function __construct(ModuleContainerInterface $container)
- Exclude checks
Class extends undeclared class \Phug\Formatter\Format\XhtmlFormat
Open
Open
abstract class AbstractTwigFormat extends XhtmlFormat
- Exclude checks
Reference to undeclared property \Phug\Formatter\AbstractTwigFormat->formatter
Open
Open
$childContent = $this->formatter->format($child);
- Exclude checks
Call to method isAutoClosed
from undeclared class \Phug\Formatter\MarkupInterface
Open
Open
$isSelfClosing || $element->isAutoClosed() || $element->belongsTo(
- Exclude checks
Reference to undeclared property \Phug\Formatter\AbstractTwigFormat->formatter
Open
Open
return $this->mustBeHandleWithPhp($input, '$'.$this->formatter->getOption('dependencies_storage'))
- 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\TwigXhtmlFormat::setPattern
Open
Open
$this->setPattern('doctype', $this->pattern(
- Exclude checks
Call to method isChecked
from undeclared class \Phug\Formatter\Element\ExpressionElement
Open
Open
$this->formatCode($name->getValue(), $name->isChecked())
- Exclude checks
Checking instanceof against undeclared class \Phug\Formatter\Element\ExpressionElement
Open
Open
if ($value instanceof ExpressionElement) {
- Exclude checks
Call to method setOptionsRecursive
from undeclared class \Phug\CompilerInterface
Open
Open
$formatter = $compiler->setOptionsRecursive($options)->getFormatter();
- Exclude checks
Call to method getValue
from undeclared class \Phug\Formatter\Element\ExpressionElement
Open
Open
if (in_array(strtolower($value->getValue()), ['false', 'null', 'undefined'])) {
- Exclude checks
Parameter $attribute
has undeclared type \Phug\Formatter\Element\AttributeElement
Open
Open
function (AttributeElement $attribute) use (&$arguments) {
- Exclude checks
Class extends undeclared class \Phug\AbstractCompilerModule
Open
Open
class PugToTwig extends AbstractCompilerModule
- Exclude checks
Call to undeclared method \Phug\Formatter\AbstractTwigFormat::setOptionsRecursive
Open
Open
$this
- Exclude checks
Call to undeclared method \Phug\Formatter\AbstractTwigFormat::getOption
Open
Open
$commentPattern = $this->getOption('debug');
- Exclude checks