Issue with upgrading yii2


(guisilver) #1

Hello guys,

I tried to upgrade yii2 from version 2.0.15 to 2.0.17 running the following command:

composer require “yiisoft/yii2:~2.0.17” --update-with-dependencies

But then, I ended up with Yii2 version 2.0.26 and I’m having some issues now.
Do you guys have any idea why this command didn’t upgrade to the version I had chosen?


#2

U are telling composer to get a version >= 2.0.17
if u want 2.0.17 - is afaik like that:
composer require “yiisoft/yii2:2.0.17” --update-with-dependencies


(guisilver) #3

I see, thank you! :smiley: