Skip to content

New decorators doc #250

New decorators doc

New decorators doc #250

Triggered via pull request October 1, 2025 14:31
Status Success
Total duration 33s
Artifacts

phpstan.yml

on: pull_request
Matrix: phpstan / phpstan
Fit to window
Zoom out
Zoom in

Annotations

30 errors
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/Contract/DecoratorOptions.php (in context of class ipl/Html/FormDecoration/ErrorsDecorator)#L29
Method ipl\Html\FormDecoration\ErrorsDecorator::getAttributes() should return ipl\Html\Attributes but returns ipl\Html\Attributes|null.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/Contract/DecoratorOptions.php (in context of class ipl/Html/FormDecoration/DescriptionDecorator)#L29
Method ipl\Html\FormDecoration\DescriptionDecorator::getAttributes() should return ipl\Html\Attributes but returns ipl\Html\Attributes|null.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/BaseHtmlElement.php#L294
Method ipl\Html\BaseHtmlElement::registerAttributeCallbacks() has no return type specified.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/BaseHtmlElement.php#L146
Method ipl\Html\BaseHtmlElement::getDefaultAttributes() return type has no value type specified in iterable type array.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/BaseHtmlElement.php#L109
Method ipl\Html\BaseHtmlElement::setAttributes() has parameter $attributes with no value type specified in iterable type array.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/BaseHtmlElement.php#L47
Property ipl\Html\BaseHtmlElement::$voidElements type has no value type specified in iterable type array.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/Attributes.php#L511
Method ipl\Html\Attributes::getIterator() return type with generic class ArrayIterator does not specify its types: TKey, TValue
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/Attributes.php#L24
Class ipl\Html\Attributes implements generic interface IteratorAggregate but does not specify its types: TKey, TValue
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/Attributes.php#L24
Class ipl\Html\Attributes implements generic interface ArrayAccess but does not specify its types: TKey, TValue
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/Attribute.php#L149
Method ipl\Html\Attribute::escapeValue() should return string but returns string|null.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/Contract/DecoratorOptions.php (in context of class ipl/Html/FormDecoration/ErrorsDecorator)#L29
Method ipl\Html\FormDecoration\ErrorsDecorator::getAttributes() should return ipl\Html\Attributes but returns ipl\Html\Attributes|null.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/Contract/DecoratorOptions.php (in context of class ipl/Html/FormDecoration/DescriptionDecorator)#L29
Method ipl\Html\FormDecoration\DescriptionDecorator::getAttributes() should return ipl\Html\Attributes but returns ipl\Html\Attributes|null.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/BaseHtmlElement.php#L294
Method ipl\Html\BaseHtmlElement::registerAttributeCallbacks() has no return type specified.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/BaseHtmlElement.php#L146
Method ipl\Html\BaseHtmlElement::getDefaultAttributes() return type has no value type specified in iterable type array.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/BaseHtmlElement.php#L109
Method ipl\Html\BaseHtmlElement::setAttributes() has parameter $attributes with no value type specified in iterable type array.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/BaseHtmlElement.php#L47
Property ipl\Html\BaseHtmlElement::$voidElements type has no value type specified in iterable type array.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/Attributes.php#L511
Method ipl\Html\Attributes::getIterator() return type with generic class ArrayIterator does not specify its types: TKey, TValue
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/Attributes.php#L24
Class ipl\Html\Attributes implements generic interface IteratorAggregate but does not specify its types: TKey, TValue
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/Attributes.php#L24
Class ipl\Html\Attributes implements generic interface ArrayAccess but does not specify its types: TKey, TValue
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/Attribute.php#L149
Method ipl\Html\Attribute::escapeValue() should return string but returns string|null.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/BaseHtmlElement.php#L294
Method ipl\Html\BaseHtmlElement::registerAttributeCallbacks() has no return type specified.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/BaseHtmlElement.php#L146
Method ipl\Html\BaseHtmlElement::getDefaultAttributes() return type has no value type specified in iterable type array.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/BaseHtmlElement.php#L109
Method ipl\Html\BaseHtmlElement::setAttributes() has parameter $attributes with no value type specified in iterable type array.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/BaseHtmlElement.php#L47
Property ipl\Html\BaseHtmlElement::$voidElements type has no value type specified in iterable type array.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/Attributes.php#L511
Method ipl\Html\Attributes::getIterator() return type with generic class ArrayIterator does not specify its types: TKey, TValue
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/Attributes.php#L67
Deprecated in PHP 8.4: Parameter #1 $attributes (array) is implicitly nullable via default value null.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/Attributes.php#L43
Deprecated in PHP 8.4: Parameter #1 $attributes (array) is implicitly nullable via default value null.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/Attributes.php#L24
Class ipl\Html\Attributes implements generic interface IteratorAggregate but does not specify its types: TKey, TValue
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/Attributes.php#L24
Class ipl\Html\Attributes implements generic interface ArrayAccess but does not specify its types: TKey, TValue
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/Attribute.php#L149
Method ipl\Html\Attribute::escapeValue() should return string but returns string|null.