Repository housekeeping #1495
php.yml
on: pull_request
Matrix: PHP / Lint
Matrix: PHP / Static analysis
Matrix: PHP / Test
Annotations
40 errors and 12 warnings
|
PHP / Static analysis (8.3) / PHPStan 8.3:
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).
|
|
PHP / Static analysis (8.3) / PHPStan 8.3:
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.
|
|
PHP / Static analysis (8.3) / PHPStan 8.3:
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).
|
|
PHP / Static analysis (8.3) / PHPStan 8.3:
src/Common/CsrfCounterMeasure.php#L9
Trait ipl\Web\Common\CsrfCounterMeasure is used zero times and is not analysed.
|
|
PHP / Static analysis (8.3) / PHPStan 8.3:
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.
|
|
PHP / Static analysis (8.3) / PHPStan 8.3:
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.
|
|
PHP / Static analysis (8.3) / PHPStan 8.3:
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.
|
|
PHP / Static analysis (8.3) / PHPStan 8.3:
src/Common/BaseItemList.php#L116
Parameter #1 $data of method ipl\Web\Common\BaseItemList::createListItem() expects object, mixed given.
|
|
PHP / Static analysis (8.3) / PHPStan 8.3:
src/Common/BaseItemList.php#L82
Method ipl\Web\Common\BaseItemList::createListItem() should return ipl\Web\Common\BaseListItem|ipl\Web\Common\BaseTableRowItem but returns object.
|
|
PHP / Static analysis (8.3) / PHPStan 8.3:
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.
|
|
PHP / Static analysis (8.4) / PHPStan 8.4:
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).
|
|
PHP / Static analysis (8.4) / PHPStan 8.4:
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.
|
|
PHP / Static analysis (8.4) / PHPStan 8.4:
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).
|
|
PHP / Static analysis (8.4) / PHPStan 8.4:
src/Common/CsrfCounterMeasure.php#L9
Trait ipl\Web\Common\CsrfCounterMeasure is used zero times and is not analysed.
|
|
PHP / Static analysis (8.4) / PHPStan 8.4:
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.
|
|
PHP / Static analysis (8.4) / PHPStan 8.4:
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.
|
|
PHP / Static analysis (8.4) / PHPStan 8.4:
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.
|
|
PHP / Static analysis (8.4) / PHPStan 8.4:
src/Common/BaseItemList.php#L116
Parameter #1 $data of method ipl\Web\Common\BaseItemList::createListItem() expects object, mixed given.
|
|
PHP / Static analysis (8.4) / PHPStan 8.4:
src/Common/BaseItemList.php#L82
Method ipl\Web\Common\BaseItemList::createListItem() should return ipl\Web\Common\BaseListItem|ipl\Web\Common\BaseTableRowItem but returns object.
|
|
PHP / Static analysis (8.4) / PHPStan 8.4:
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.
|
|
PHP / Static analysis (8.2) / PHPStan 8.2:
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).
|
|
PHP / Static analysis (8.2) / PHPStan 8.2:
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.
|
|
PHP / Static analysis (8.2) / PHPStan 8.2:
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).
|
|
PHP / Static analysis (8.2) / PHPStan 8.2:
src/Common/CsrfCounterMeasure.php#L9
Trait ipl\Web\Common\CsrfCounterMeasure is used zero times and is not analysed.
|
|
PHP / Static analysis (8.2) / PHPStan 8.2:
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.
|
|
PHP / Static analysis (8.2) / PHPStan 8.2:
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.
|
|
PHP / Static analysis (8.2) / PHPStan 8.2:
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.
|
|
PHP / Static analysis (8.2) / PHPStan 8.2:
src/Common/BaseItemList.php#L116
Parameter #1 $data of method ipl\Web\Common\BaseItemList::createListItem() expects object, mixed given.
|
|
PHP / Static analysis (8.2) / PHPStan 8.2:
src/Common/BaseItemList.php#L82
Method ipl\Web\Common\BaseItemList::createListItem() should return ipl\Web\Common\BaseListItem|ipl\Web\Common\BaseTableRowItem but returns object.
|
|
PHP / Static analysis (8.2) / PHPStan 8.2:
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.
|
|
PHP / Static analysis (8.5) / PHPStan 8.5:
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).
|
|
PHP / Static analysis (8.5) / PHPStan 8.5:
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.
|
|
PHP / Static analysis (8.5) / PHPStan 8.5:
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).
|
|
PHP / Static analysis (8.5) / PHPStan 8.5:
src/Common/CsrfCounterMeasure.php#L9
Trait ipl\Web\Common\CsrfCounterMeasure is used zero times and is not analysed.
|
|
PHP / Static analysis (8.5) / PHPStan 8.5:
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.
|
|
PHP / Static analysis (8.5) / PHPStan 8.5:
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.
|
|
PHP / Static analysis (8.5) / PHPStan 8.5:
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.
|
|
PHP / Static analysis (8.5) / PHPStan 8.5:
src/Common/BaseItemList.php#L116
Parameter #1 $data of method ipl\Web\Common\BaseItemList::createListItem() expects object, mixed given.
|
|
PHP / Static analysis (8.5) / PHPStan 8.5:
src/Common/BaseItemList.php#L82
Method ipl\Web\Common\BaseItemList::createListItem() should return ipl\Web\Common\BaseListItem|ipl\Web\Common\BaseTableRowItem but returns object.
|
|
PHP / Static analysis (8.5) / PHPStan 8.5:
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.
|
|
PHP / Lint (8.2) / Linters 8.2
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
PHP / Test (8.5) / PHPUnit 8.5
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
PHP / Lint (8.5) / Linters 8.5
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
PHP / Lint (8.4) / Linters 8.4
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
PHP / Test (8.2) / PHPUnit 8.2
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
PHP / Test (8.3) / PHPUnit 8.3
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
PHP / Lint (8.3) / Linters 8.3
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
PHP / Static analysis (8.3) / PHPStan 8.3
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
PHP / Test (8.4) / PHPUnit 8.4
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
PHP / Static analysis (8.4) / PHPStan 8.4
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
PHP / Static analysis (8.2) / PHPStan 8.2
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
PHP / Static analysis (8.5) / PHPStan 8.5
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|