Ensure compatibility with PHP 8.4 and 8.5 #1411
Annotations
10 errors
|
Run PHPStan:
src/Common/FormUid.php (in context of class ipl/Web/Control/SearchBar)#L50
PHPDoc tag `@var` with type ipl\Html\Form is not subtype of native type $this(ipl\Web\Control\SearchBar).
|
|
Run PHPStan:
src/Common/FormUid.php (in context of class ipl/Web/Control/SearchBar)#L23
Parameter #2 $name of method ipl\Html\Form::createElement() expects string, mixed given.
|
|
Run PHPStan:
src/Common/FormUid.php (in context of class ipl/Web/Control/SearchBar)#L23
PHPDoc tag `@var` with type ipl\Html\Form is not subtype of native type $this(ipl\Web\Control\SearchBar).
|
|
Run PHPStan:
src/Common/CsrfCounterMeasure.php#L9
Trait ipl\Web\Common\CsrfCounterMeasure is used zero times and is not analysed.
|
|
Run PHPStan:
src/Common/BaseTableRowItem.php#L41
Parameter #1 $attributes of method ipl\Html\BaseHtmlElement::addAttributes() expects array<string, array<bool|string|null>|bool|string|null>|ipl\Html\Attributes, array<string, mixed> given.
|
|
Run PHPStan:
src/Common/BaseListItem.php#L39
Parameter #1 $attributes of method ipl\Html\BaseHtmlElement::addAttributes() expects array<string, array<bool|string|null>|bool|string|null>|ipl\Html\Attributes, array<string, mixed> given.
|
|
Run PHPStan:
src/Common/BaseItemTable.php#L48
Parameter #1 $attributes of method ipl\Html\BaseHtmlElement::addAttributes() expects array<string, array<bool|string|null>|bool|string|null>|ipl\Html\Attributes, array<string, mixed> given.
|
|
Run PHPStan:
src/Common/BaseItemList.php#L116
Parameter #1 $data of method ipl\Web\Common\BaseItemList::createListItem() expects object, mixed given.
|
|
Run PHPStan:
src/Common/BaseItemList.php#L82
Method ipl\Web\Common\BaseItemList::createListItem() should return ipl\Web\Common\BaseListItem|ipl\Web\Common\BaseTableRowItem but returns object.
|
|
Run PHPStan:
src/Common/BaseItemList.php#L55
Parameter #1 $attributes of method ipl\Html\BaseHtmlElement::addAttributes() expects array<string, array<bool|string|null>|bool|string|null>|ipl\Html\Attributes, array<string, mixed> given.
|
Loading