Closed mmlado closed 8 years ago
Thank you!
How can I exclude versions in a range? ^1.0, but excluding from 1.10 to 1.12?
@nelson6e65 I would think to that ^1.0 <1.10 | ^1.0 >1.12
. because ^1.0 <1.10 >1.12
is not available.
You can see the Composer versions doc for more details.
composer require bower-asset/backbone.marionette gives error: Could not parse version constraint <=1.3.x: Invalid version string "1.3.x"
It's dependencies has been updated to: "backbone": "1.0.0 - 1.3.x",
Solution. Convert versions in this format properly. Set the version in question to be < and increment the last number before the x by one. 1.0.0 - 1.3.x => >=1.0.0,<1.4.0 1.0 - 1.x => >=1.0,<2.0
Unit tests added and they work.
Issue fix: https://github.com/francoispluchino/composer-asset-plugin/issues/221