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

The uri param should be a generic PSR UriInterface #5

Closed Naouak closed 6 years ago

Naouak commented 6 years ago

You should be able to create your own UriInterface implementation to use the migration system. This pull request change Uri to PSR's UriInterface.

byjg commented 6 years ago

Yes! You're right! Thank you!

I was reviewing the code and there are another file to change the Uri. Could you change the DatabaseInterface class also before I apply your PR?

Naouak commented 6 years ago

Done.

byjg commented 6 years ago

Great!

Soon I'll create the release 2.0.4.

For while you can use the release "2.0.4.x-dev" or the release ^2.0.3 with the "minumum-stability": "dev" in your composer file.