byjg / php-migration-cli

Command Line Interface for Database Migration
MIT License
8 stars 3 forks source link

Return non-zero exit code on script failure. #10

Closed mattschlosser closed 3 years ago

mattschlosser commented 3 years ago

This PR just modifies the exit code if the script fails. This way, it is easy to detect if something went wrong when using as part of a larger script.

byjg commented 3 years ago

Thank you for your pull request.

Since you already working on it do you mind in update the Symfony Console version to ^5.4 and use Command::FAILURE instead of 1?

As soon I get this I'll merge immediately,

byjg commented 3 years ago

Thanks @mattschlosser. I merged the code. I am fix now the travis is broken and then I am creating a new release version.

byjg commented 3 years ago

I merged #11 too.

I created a new release, 4.2.0.