Skip to content

Fix #218: Add ability to set page size #814

Fix #218: Add ability to set page size

Fix #218: Add ability to set page size #814

Triggered via pull request November 19, 2024 13:43
Status Failure
Total duration 33s
Artifacts

static.yml

on: pull_request
Matrix: psalm / psalm
Fit to window
Zoom out
Zoom in

Annotations

13 errors
MissingClassConstType: src/BaseListView.php#L53
src/BaseListView.php:53:18: MissingClassConstType: Class constant "Yiisoft\Yii\DataView\BaseListView::PAGE_SIZE_FIXED" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: src/BaseListView.php#L58
src/BaseListView.php:58:18: MissingClassConstType: Class constant "Yiisoft\Yii\DataView\BaseListView::PAGE_SIZE_ANY" should have a declared type. (see https://psalm.dev/359)
MixedArgumentTypeCoercion: src/BaseListView.php#L444
src/BaseListView.php:444:43: MixedArgumentTypeCoercion: Argument 2 of implode expects array<array-key, null|object{__tostring()}|scalar>, but parent type array<array-key, mixed> provided (see https://psalm.dev/194)
MixedArgumentTypeCoercion: src/BasePagination.php#L218
src/BasePagination.php:218:38: MixedArgumentTypeCoercion: Argument 1 of array_combine expects array<array-key, array-key>, but parent type array<array-key, mixed> provided (see https://psalm.dev/194)
MixedArgumentTypeCoercion: src/BasePagination.php#L220
src/BasePagination.php:220:31: MixedArgumentTypeCoercion: Argument 1 of Yiisoft\Html\Tag\Select::optionsData expects array<array-key, array<array-key, string>|string>, but parent type array<array-key, mixed> provided (see https://psalm.dev/194)
psalm / PHP 8.3-ubuntu-latest
Process completed with exit code 2.
psalm / PHP 8.1-ubuntu-latest
The job was canceled because "ubuntu-latest_8_3" failed.
MixedArgumentTypeCoercion: src/BaseListView.php#L444
src/BaseListView.php:444:43: MixedArgumentTypeCoercion: Argument 2 of implode expects array<array-key, null|object{__tostring()}|scalar>, but parent type array<array-key, mixed> provided (see https://psalm.dev/194)
MixedArgumentTypeCoercion: src/BasePagination.php#L218
src/BasePagination.php:218:38: MixedArgumentTypeCoercion: Argument 1 of array_combine expects array<array-key, array-key>, but parent type array<array-key, mixed> provided (see https://psalm.dev/194)
MixedArgumentTypeCoercion: src/BasePagination.php#L220
src/BasePagination.php:220:31: MixedArgumentTypeCoercion: Argument 1 of Yiisoft\Html\Tag\Select::optionsData expects array<array-key, array<array-key, string>|string>, but parent type array<array-key, mixed> provided (see https://psalm.dev/194)
psalm / PHP 8.1-ubuntu-latest
The operation was canceled.
psalm / PHP 8.2-ubuntu-latest
The job was canceled because "ubuntu-latest_8_3" failed.
psalm / PHP 8.2-ubuntu-latest
The operation was canceled.