jonathantorres / construct

A PHP project/micro-package generator for PDS compliant projects or micro-packages.
MIT License
266 stars 16 forks source link

Don't set the required PHP version to the exact patch version #85

Closed raphaelstolt closed 8 years ago

raphaelstolt commented 8 years ago

Just had an issue with Travis CI where the in Composer required PHP version (set via construct) was greater than the version on the Travis CI box. Maybe we should just pinpoint the PHP version to the minor version.

jonathantorres commented 8 years ago

I see, perhaps construct should also support feature versions as well, so you can do something like: construct generate vendor/project --php=5.6

But if you do construct generate vendor/project --php=5.6.0 everything should work fine.