Skip to content

Add session inspector #741

Add session inspector

Add session inspector #741

Triggered via push October 14, 2023 14:25
Status Failure
Total duration 54s
Artifacts

static.yml

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

Annotations

10 errors
InvalidArrayOffset: src/Controller/DebugController.php#L331
src/Controller/DebugController.php:331:24: InvalidArrayOffset: Cannot access value on variable $data using offset value of '0', expecting string (see https://psalm.dev/115)
InvalidArrayOffset: src/Controller/DebugController.php#L332
src/Controller/DebugController.php:332:24: InvalidArrayOffset: Cannot access value on variable $data using offset value of '1', expecting string (see https://psalm.dev/115)
InvalidReturnType: src/Repository/CollectorRepository.php#L36
src/Repository/CollectorRepository.php:36:62: InvalidReturnType: The declared return type 'array<string, mixed>|null' for Yiisoft\Yii\Debug\Api\Repository\CollectorRepository::getObject is incorrect, got 'array{string, mixed}|null' (see https://psalm.dev/011)
InvalidReturnStatement: src/Repository/CollectorRepository.php#L42
src/Repository/CollectorRepository.php:42:24: InvalidReturnStatement: The inferred type 'array{string, mixed}' does not match the declared return type 'array<string, mixed>|null' for Yiisoft\Yii\Debug\Api\Repository\CollectorRepository::getObject (see https://psalm.dev/128)
psalm / PHP 8.0-ubuntu-latest
Process completed with exit code 2.
psalm / PHP 8.1-ubuntu-latest
The job was canceled because "ubuntu-latest_8_0" failed.
InvalidArrayOffset: src/Controller/DebugController.php#L331
src/Controller/DebugController.php:331:24: InvalidArrayOffset: Cannot access value on variable $data using offset value of '0', expecting string (see https://psalm.dev/115)
InvalidArrayOffset: src/Controller/DebugController.php#L332
src/Controller/DebugController.php:332:24: InvalidArrayOffset: Cannot access value on variable $data using offset value of '1', expecting string (see https://psalm.dev/115)
InvalidReturnStatement: src/Repository/CollectorRepository.php#L42
src/Repository/CollectorRepository.php:42:24: InvalidReturnStatement: The inferred type 'list{string, mixed}' does not match the declared return type 'array<string, mixed>|null' for Yiisoft\Yii\Debug\Api\Repository\CollectorRepository::getObject (see https://psalm.dev/128)
psalm / PHP 8.1-ubuntu-latest
The operation was canceled.