Skip to content

Fix CI and improve Psalm #388

Fix CI and improve Psalm

Fix CI and improve Psalm #388

Triggered via push December 12, 2023 13:42
Status Failure
Total duration 42s
Artifacts

static.yml

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

Annotations

21 errors
UndefinedThisPropertyFetch: src/ItemsStorage.php#L120
src/ItemsStorage.php:120:13: UndefinedThisPropertyFetch: Instance property Yiisoft\Rbac\Php\ItemsStorage::$items is not defined (see https://psalm.dev/041)
MixedArrayAssignment: src/ItemsStorage.php#L120
src/ItemsStorage.php:120:13: MixedArrayAssignment: Cannot access array value on mixed variable $this->items[$name] (see https://psalm.dev/117)
UndefinedThisPropertyAssignment: src/ItemsStorage.php#L120
src/ItemsStorage.php:120:13: UndefinedThisPropertyAssignment: Instance property Yiisoft\Rbac\Php\ItemsStorage::$items is not defined (see https://psalm.dev/040)
UndefinedThisPropertyFetch: src/ItemsStorage.php#L130
src/ItemsStorage.php:130:25: UndefinedThisPropertyFetch: Instance property Yiisoft\Rbac\Php\ItemsStorage::$children is not defined (see https://psalm.dev/041)
MixedArrayAccess: src/ItemsStorage.php#L130
src/ItemsStorage.php:130:25: MixedArrayAccess: Cannot access array value on mixed variable $this->children (see https://psalm.dev/051)
MixedArrayAssignment: src/ItemsStorage.php#L130
src/ItemsStorage.php:130:25: MixedArrayAssignment: Cannot access array value on mixed variable $this->children[$name] (see https://psalm.dev/117)
MixedArrayAssignment: src/ItemsStorage.php#L130
src/ItemsStorage.php:130:25: MixedArrayAssignment: Cannot access array value on mixed variable $this->children[$name][$childName] (see https://psalm.dev/117)
UndefinedThisPropertyAssignment: src/ItemsStorage.php#L130
src/ItemsStorage.php:130:25: UndefinedThisPropertyAssignment: Instance property Yiisoft\Rbac\Php\ItemsStorage::$children is not defined (see https://psalm.dev/040)
UndefinedThisPropertyFetch: src/ItemsStorage.php#L130
src/ItemsStorage.php:130:62: UndefinedThisPropertyFetch: Instance property Yiisoft\Rbac\Php\ItemsStorage::$items is not defined (see https://psalm.dev/041)
MixedArrayAccess: src/ItemsStorage.php#L130
src/ItemsStorage.php:130:62: MixedArrayAccess: Cannot access array value on mixed variable $this->items (see https://psalm.dev/051)
psalm / PHP 8.2-ubuntu-latest
The job was canceled because "ubuntu-latest_8_1" failed.
UndefinedThisPropertyFetch: src/ItemsStorage.php#L120
src/ItemsStorage.php:120:13: UndefinedThisPropertyFetch: Instance property Yiisoft\Rbac\Php\ItemsStorage::$items is not defined (see https://psalm.dev/041)
MixedArrayAssignment: src/ItemsStorage.php#L120
src/ItemsStorage.php:120:13: MixedArrayAssignment: Cannot access array value on mixed variable $this->items[$name] (see https://psalm.dev/117)
UndefinedThisPropertyAssignment: src/ItemsStorage.php#L120
src/ItemsStorage.php:120:13: UndefinedThisPropertyAssignment: Instance property Yiisoft\Rbac\Php\ItemsStorage::$items is not defined (see https://psalm.dev/040)
UndefinedThisPropertyFetch: src/ItemsStorage.php#L130
src/ItemsStorage.php:130:25: UndefinedThisPropertyFetch: Instance property Yiisoft\Rbac\Php\ItemsStorage::$children is not defined (see https://psalm.dev/041)
MixedArrayAccess: src/ItemsStorage.php#L130
src/ItemsStorage.php:130:25: MixedArrayAccess: Cannot access array value on mixed variable $this->children (see https://psalm.dev/051)
MixedArrayAssignment: src/ItemsStorage.php#L130
src/ItemsStorage.php:130:25: MixedArrayAssignment: Cannot access array value on mixed variable $this->children[$name] (see https://psalm.dev/117)
MixedArrayAssignment: src/ItemsStorage.php#L130
src/ItemsStorage.php:130:25: MixedArrayAssignment: Cannot access array value on mixed variable $this->children[$name][$childName] (see https://psalm.dev/117)
UndefinedThisPropertyAssignment: src/ItemsStorage.php#L130
src/ItemsStorage.php:130:25: UndefinedThisPropertyAssignment: Instance property Yiisoft\Rbac\Php\ItemsStorage::$children is not defined (see https://psalm.dev/040)
UndefinedThisPropertyFetch: src/ItemsStorage.php#L130
src/ItemsStorage.php:130:62: UndefinedThisPropertyFetch: Instance property Yiisoft\Rbac\Php\ItemsStorage::$items is not defined (see https://psalm.dev/041)
MixedArrayAccess: src/ItemsStorage.php#L130
src/ItemsStorage.php:130:62: MixedArrayAccess: Cannot access array value on mixed variable $this->items (see https://psalm.dev/051)