Skip to content

Add ViewModeSwitcher control #1738

Add ViewModeSwitcher control

Add ViewModeSwitcher control #1738

Triggered via pull request August 10, 2026 07:27
Status Failure
Total duration 47s
Artifacts

php.yml

on: pull_request
Matrix: PHP / Lint
Matrix: PHP / Static analysis
Matrix: PHP / Test
Fit to window
Zoom out
Zoom in

Annotations

60 errors and 12 warnings
PHP / Lint (8.5) / Linters 8.5
Process completed with exit code 1.
PHP / Lint (8.5) / Linters 8.5: tests/Common/ControlsTest.php#L260
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line
PHP / Lint (8.5) / Linters 8.5: tests/Common/ControlsTest.php#L260
There must not be a space before the colon in a return type declaration
PHP / Lint (8.5) / Linters 8.5: tests/Common/ControlsTest.php#L259
The closing parenthesis of a multi-line use declaration must be on a new line
PHP / Lint (8.5) / Linters 8.5
Process completed with exit code 3.
PHP / Lint (8.2) / Linters 8.2
Process completed with exit code 1.
PHP / Lint (8.2) / Linters 8.2: tests/Common/ControlsTest.php#L260
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line
PHP / Lint (8.2) / Linters 8.2: tests/Common/ControlsTest.php#L260
There must not be a space before the colon in a return type declaration
PHP / Lint (8.2) / Linters 8.2: tests/Common/ControlsTest.php#L259
The closing parenthesis of a multi-line use declaration must be on a new line
PHP / Lint (8.2) / Linters 8.2
Process completed with exit code 3.
PHP / Lint (8.4) / Linters 8.4
Process completed with exit code 1.
PHP / Lint (8.4) / Linters 8.4: tests/Common/ControlsTest.php#L260
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line
PHP / Lint (8.4) / Linters 8.4: tests/Common/ControlsTest.php#L260
There must not be a space before the colon in a return type declaration
PHP / Lint (8.4) / Linters 8.4: tests/Common/ControlsTest.php#L259
The closing parenthesis of a multi-line use declaration must be on a new line
PHP / Lint (8.4) / Linters 8.4
Process completed with exit code 3.
PHP / Lint (8.3) / Linters 8.3
Process completed with exit code 1.
PHP / Lint (8.3) / Linters 8.3: tests/Common/ControlsTest.php#L260
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line
PHP / Lint (8.3) / Linters 8.3: tests/Common/ControlsTest.php#L260
There must not be a space before the colon in a return type declaration
PHP / Lint (8.3) / Linters 8.3: tests/Common/ControlsTest.php#L259
The closing parenthesis of a multi-line use declaration must be on a new line
PHP / Lint (8.3) / Linters 8.3
Process completed with exit code 3.
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#L10
Trait ipl\Web\Common\CsrfCounterMeasure is used zero times and is not analysed.
PHP / Static analysis (8.4) / PHPStan 8.4: src/Common/Controls.php#L17
Trait ipl\Web\Common\Controls 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#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#L10
Trait ipl\Web\Common\CsrfCounterMeasure is used zero times and is not analysed.
PHP / Static analysis (8.2) / PHPStan 8.2: src/Common/Controls.php#L17
Trait ipl\Web\Common\Controls 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#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#L10
Trait ipl\Web\Common\CsrfCounterMeasure is used zero times and is not analysed.
PHP / Static analysis (8.5) / PHPStan 8.5: src/Common/Controls.php#L17
Trait ipl\Web\Common\Controls 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#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 / 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#L10
Trait ipl\Web\Common\CsrfCounterMeasure is used zero times and is not analysed.
PHP / Static analysis (8.3) / PHPStan 8.3: src/Common/Controls.php#L17
Trait ipl\Web\Common\Controls 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#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 / Lint (8.5) / Linters 8.5
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
PHP / Lint (8.2) / Linters 8.2
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. 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 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. 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 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. 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 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. 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 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. 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 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. 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 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. 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 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. 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 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. 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 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. 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 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/