Support PHP 8.5 #184
Open
Support PHP 8.5 #184
Annotations
10 errors
|
Run PHPStan:
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.
|
|
Run PHPStan:
src/BaseHtmlElement.php#L294
Method ipl\Html\BaseHtmlElement::registerAttributeCallbacks() has no return type specified.
|
|
Run PHPStan:
src/BaseHtmlElement.php#L146
Method ipl\Html\BaseHtmlElement::getDefaultAttributes() return type has no value type specified in iterable type array.
|
|
Run PHPStan:
src/BaseHtmlElement.php#L109
Method ipl\Html\BaseHtmlElement::setAttributes() has parameter $attributes with no value type specified in iterable type array.
|
|
Run PHPStan:
src/BaseHtmlElement.php#L47
Property ipl\Html\BaseHtmlElement::$voidElements type has no value type specified in iterable type array.
|
|
Run PHPStan:
src/Attributes.php#L511
Method ipl\Html\Attributes::getIterator() return type with generic class ArrayIterator does not specify its types: TKey, TValue
|
|
Run PHPStan:
src/Attributes.php#L24
Class ipl\Html\Attributes implements generic interface IteratorAggregate but does not specify its types: TKey, TValue
|
|
Run PHPStan:
src/Attributes.php#L24
Class ipl\Html\Attributes implements generic interface ArrayAccess but does not specify its types: TKey, TValue
|
|
Run PHPStan:
src/Attribute.php#L149
Method ipl\Html\Attribute::escapeValue() should return string but returns string|null.
|
|
Run PHPStan:
src/Attribute.php#L136
Parameter #2 $callback of function preg_replace_callback expects callable(array<string>): string, Closure(mixed): mixed given.
|
Loading