Skip to content

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

Fix #218: Add ability to set page size

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

Triggered via pull request November 8, 2024 22:27
Status Failure
Total duration 40s
Artifacts

static.yml

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

Annotations

16 errors
MissingClassConstType: src/BaseListView.php#L52
src/BaseListView.php:52: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#L57
src/BaseListView.php:57: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#L443
src/BaseListView.php:443: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#L207
src/BasePagination.php:207: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#L209
src/BasePagination.php:209: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.2-ubuntu-latest
The job was canceled because "ubuntu-latest_8_3" failed.
MixedArgumentTypeCoercion: src/BaseListView.php#L443
src/BaseListView.php:443: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#L207
src/BasePagination.php:207: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#L209
src/BasePagination.php:209: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.2-ubuntu-latest
The operation was canceled.
psalm / PHP 8.1-ubuntu-latest
The job was canceled because "ubuntu-latest_8_3" failed.
MixedArgumentTypeCoercion: src/BaseListView.php#L443
src/BaseListView.php:443: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#L207
src/BasePagination.php:207: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#L209
src/BasePagination.php:209: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.