Skip to content

Update yiisoft/assets requirement from ^2.0|^3.0|^4.0 to ^5.0.0 #529

Update yiisoft/assets requirement from ^2.0|^3.0|^4.0 to ^5.0.0

Update yiisoft/assets requirement from ^2.0|^3.0|^4.0 to ^5.0.0 #529

Triggered via pull request December 11, 2024 21:32
Status Failure
Total duration 43s
Artifacts

static.yml

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

Annotations

6 errors and 1 warning
psalm / PHP 8.0-ubuntu-latest
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires yiisoft/assets ^5.0.0 -> satisfiable by yiisoft/assets[5.0.0]. - yiisoft/assets 5.0.0 requires php ^8.1 -> your php version (8.0.30) does not satisfy that requirement.
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.
NonInvariantDocblockPropertyType: src/Asset/SwaggerUiAsset.php#L15
src/Asset/SwaggerUiAsset.php:15:18: NonInvariantDocblockPropertyType: Property Yiisoft\Swagger\Asset\SwaggerUiAsset::$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/SwaggerUiAsset.php#L18
src/Asset/SwaggerUiAsset.php:18:18: NonInvariantDocblockPropertyType: Property Yiisoft\Swagger\Asset\SwaggerUiAsset::$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)
psalm / PHP 8.1-ubuntu-latest
The operation was canceled.
psalm / PHP 8.0-ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636