Closed EtienneBruines closed 3 years ago
How do we bring composer.lock
up-to-date in this repo?
Problem 1
- yiisoft/yii2[2.0.15, ..., 2.0.15.1] require bower-asset/jquery 3.2.*@stable | 3.1.*@stable | 2.2.*@stable | 2.1.*@stable | 1.11.*@stable | 1.12.*@stable -> found bower-asset/jquery[3.5.1] but it does not match the constraint.
- yiisoft/yii2[2.0.16, ..., 2.0.18] require bower-asset/jquery 3.3.*@stable | 3.2.*@stable | 3.1.*@stable | 2.2.*@stable | 2.1.*@stable | 1.11.*@stable | 1.12.*@stable -> found bower-asset/jquery[3.5.1] but it does not match the constraint.
- yiisoft/yii2[2.0.19, ..., 2.0.35] require bower-asset/jquery 3.4.*@stable | 3.3.*@stable | 3.2.*@stable | 3.1.*@stable | 2.2.*@stable | 2.1.*@stable | 1.11.*@stable | 1.12.*@stable -> found bower-asset/jquery[3.5.1] but it does not match the constraint.
- yiisoft/yii2[2.0.36, ..., 2.0.39.3] require bower-asset/jquery 3.5.*@stable | 3.4.*@stable | 3.3.*@stable | 3.2.*@stable | 3.1.*@stable | 2.2.*@stable | 2.1.*@stable | 1.11.*@stable | 1.12.*@stable -> found bower-asset/jquery[3.5.1] in lock file but not in remote repositories, make sure you avoid updating this package to keep the one from lock file.
- Root composer.json requires yiisoft/yii2 ^2.0.15 -> satisfiable by yiisoft/yii2[2.0.15, ..., 2.0.39.3].
@marmichalski @akondas anything I can do to help this project?
You can try to run composer update --lock
Thank you for your reply.
That requires composer to have access to bower-asset
, which is currently not defined in the composer.json
file. See https://github.com/proget-hq/phpstan-yii2/pull/35#issuecomment-737243765
Could we add this to the composer.json
file?
"repositories": [
{
"type": "composer",
"url": "https://asset-packagist.org"
}
]
@akondas that would then result in the current commit.
Thanks 🥰
New release?
When actually installing this on PHP 8.0, it still cannot due to php-cs-fixer. But, that's out-of-scope for this phpstan-yii2 project, meaning that this project is actually compatible.
Composer will automatically allow installing it then, once php-cs-fixer has been updated as well.