KnpLabs / ConsoleServiceProvider

A Console service provider for Silex
MIT License
107 stars 37 forks source link

Added tests and travis config #30

Closed skalpa closed 7 years ago

skalpa commented 7 years ago

I added PHPUnit to require-dev, a Travis config file and a couple of tests for the service provider.

ATM, the PR includes the changes from #29 as the tests can't run if Silex is not installed by Composer. It should get cleaner once #29 gets merged.

I also cleaned up the provider a bit (removed an unsused method, and gave default values to the parameters as it's generally better to do this).