Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exit() command #21

Closed
SeifertDaniel opened this issue Feb 24, 2021 · 0 comments
Closed

exit() command #21

SeifertDaniel opened this issue Feb 24, 2021 · 0 comments

Comments

@SeifertDaniel
Copy link

The splitbrain\phpcli\CLI::run() method terminates with a exit(0) command. It would be helpful to remove that.

In the case that the script should continue to run or must be terminated regularly (PHPUnit tests), the exit command is not helpful. If you need a hard cut, you can add it in the overload class itself. This makes it unnecessarily difficult for everyone to bypass this termination.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant