Skip to content

Add Yii Assets 5 support and disable Yii Config composer plugin #439

Add Yii Assets 5 support and disable Yii Config composer plugin

Add Yii Assets 5 support and disable Yii Config composer plugin #439

Triggered via push February 4, 2025 11:34
Status Failure
Total duration 33s
Artifacts

static.yml

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

Annotations

5 errors
NonInvariantDocblockPropertyType: src/Asset/DevPanelAsset.php#L13
src/Asset/DevPanelAsset.php:13:18: NonInvariantDocblockPropertyType: Property Yiisoft\Yii\Debug\Viewer\Asset\DevPanelAsset::$js has type array<array-key, mixed>, not invariant with Yiisoft\Assets\AssetBundle::$js of type array<array-key, string|type-alias(Yiisoft\Assets\AssetManager::JsFile)> (see https://psalm.dev/267)
NonInvariantDocblockPropertyType: src/Asset/DevPanelAsset.php#L16
src/Asset/DevPanelAsset.php:16:18: NonInvariantDocblockPropertyType: Property Yiisoft\Yii\Debug\Viewer\Asset\DevPanelAsset::$css has type array<array-key, mixed>, not invariant with Yiisoft\Assets\AssetBundle::$css of type array<array-key, string|type-alias(Yiisoft\Assets\AssetManager::CssFile)> (see https://psalm.dev/267)
NonInvariantDocblockPropertyType: src/Asset/ToolbarAsset.php#L13
src/Asset/ToolbarAsset.php:13:18: NonInvariantDocblockPropertyType: Property Yiisoft\Yii\Debug\Viewer\Asset\ToolbarAsset::$js has type array<array-key, mixed>, not invariant with Yiisoft\Assets\AssetBundle::$js of type array<array-key, string|type-alias(Yiisoft\Assets\AssetManager::JsFile)> (see https://psalm.dev/267)
NonInvariantDocblockPropertyType: src/Asset/ToolbarAsset.php#L16
src/Asset/ToolbarAsset.php:16:18: NonInvariantDocblockPropertyType: Property Yiisoft\Yii\Debug\Viewer\Asset\ToolbarAsset::$css has type array<array-key, mixed>, not invariant with Yiisoft\Assets\AssetBundle::$css of type array<array-key, string|type-alias(Yiisoft\Assets\AssetManager::CssFile)> (see https://psalm.dev/267)
psalm / PHP 8.1-ubuntu-latest
Process completed with exit code 2.