byjg / php-migration

Simple library writen in PHP without framework dependancy for database version control. Supports Sqlite, MySql, Sql Server and Postgres
MIT License
155 stars 27 forks source link

Improve generalization #4

Closed mleczek closed 6 years ago

mleczek commented 6 years ago

Hello,

I'd like to use your library but have an versions conflict. I found that you're using the wildcard version range which dramatically limits the possible versions to use. I suggest to change it either to caret or tilde version range. See that other libraries also use this notation (e.g. symfony/console).

More information in commits (note that they contains not only titles but also descriptions).

Thanks in advance and keep up the good work!

mleczek commented 6 years ago

I've fixed the phpunit version to support PHP 5.6. Consider adding the below code to composer.json:

"config": {
    "platform": {
        "php": "5.6"
    }
}

It emulates the PHP 5.6 environment even if someone's using the PHP 7.x (like me).

byjg commented 6 years ago

Hi, thank you for your Pull Request. :+1:

I'll do it soon later and create a new patch release.

byjg commented 6 years ago

Added the new version 2.0.3

Thank you again