yiisoft / yii2-swiftmailer

Yii 2 swiftmailer extension.
http://www.yiiframework.com
BSD 3-Clause "New" or "Revised" License
116 stars 74 forks source link

Change yii2 version constraint to allow use with older versions #70

Closed hiqsol closed 6 years ago

hiqsol commented 6 years ago

Like it is done in yii2-twig

rob006 commented 6 years ago

What is the point of that change? In 99% cases using >= is incorrect, why change it here?

hiqsol commented 6 years ago

Yeap. That's because of us being brave enough to use yii2 version 2.1 and even 3.0 in real projects. And now we need the latest yii2-swiftmailer...

It's not a good change but it will not cause problems because there is not going to be any stable yii2 >= 2.0.

rob006 commented 6 years ago

That's because of us being brave enough to use yii2 version 2.1 and even 3.0 in real projects.

That brave people should fix this in their composer.json (use 2.1.x-dev as 2.0.15 as a constraint) instead of messing up with all packages with correct constraints.

samdark commented 6 years ago

Yes, that's temporary.