Skip to content

Increase phpstan level #119

Increase phpstan level

Increase phpstan level #119

Triggered via pull request March 24, 2024 10:41
Status Failure
Total duration 1m 45s
Artifacts

build.yaml

on: pull_request
PHPStan
14s
PHPStan
PHP-CS-Fixer
4s
PHP-CS-Fixer
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 6 warnings
PHPStan: src/Knp/Component/Pager/Event/Subscriber/Sortable/ArraySubscriber.php#L97
Method Knp\Component\Pager\Event\Subscriber\Sortable\ArraySubscriber::sortFunction() has parameter $object1 with no value type specified in iterable type array.
PHPStan: src/Knp/Component/Pager/Event/Subscriber/Sortable/ArraySubscriber.php#L97
Method Knp\Component\Pager\Event\Subscriber\Sortable\ArraySubscriber::sortFunction() has parameter $object2 with no value type specified in iterable type array.
PHPStan: src/Knp/Component/Pager/Pagination/AbstractPagination.php#L13
Class Knp\Component\Pager\Pagination\AbstractPagination implements generic interface Iterator but does not specify its types: TKey, TValue
PHPStan: src/Knp/Component/Pager/Pagination/AbstractPagination.php#L18
PHPDoc tag @var for property Knp\Component\Pager\Pagination\AbstractPagination::$items with type iterable<int, mixed>|object is not subtype of native type iterable.
PHPStan: src/Knp/Component/Pager/Pagination/AbstractPagination.php#L18
Property Knp\Component\Pager\Pagination\AbstractPagination::$items type has no value type specified in iterable type iterable.
PHPStan: src/Knp/Component/Pager/Pagination/PaginationInterface.php#L17
Interface Knp\Component\Pager\Pagination\PaginationInterface extends generic interface ArrayAccess but does not specify its types: TKey, TValue
PHP-CS-Fixer
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPStan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.2 tests (Dev deps)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.0 tests (Lowest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.1 tests (8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.2 tests (8.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.