Skip to content

exit() command #21

Description

@SeifertDaniel

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions