Skip to content

Tags: SMillerDev/php-cli

Tags

1.3.4

Toggle 1.3.4's commit message
make test backward compatible to old PHP versions

1.3.3

Toggle 1.3.3's commit message
initialize log level early

The default log level needs to be initialized before everthing else,
otherwise an error during the option parsing (eg. when an unknown option
is passed) will result in an unessecary stack trace.

1.3.2

Toggle 1.3.2's commit message
honor NO_COLOR environment variable

As argued for on https://no-color.org/

1.3.1

Toggle 1.3.1's commit message
Fix log level setting. closes splitbrain#33

1.3.0

Toggle 1.3.0's commit message
Allow dynamic log level setting

This was inspired by splitbrain#32 but I am not sure this actually the way to go.
Thinking a bit more about the intial post, an even better way would be
to add config file reading to the Options class. Maybe from a .env file?

1.2.1

Toggle 1.2.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request splitbrain#29 from dwschultz/color-stream-fix

fixes colors on streams other than stdout

1.2.0

Toggle 1.2.0's commit message
do not explicitly call exit(0). fixes splitbrain#21

A normally exiting PHP script will exit with error code 0 by default, so
we don't need to explicitly call it in run()

1.1.8

Toggle 1.1.8's commit message
introduce a more compact help screen

This is inspired by splitbrain#9 but implements it in a more elegant way,
requiring less conditionals.

1.1.7

Toggle 1.1.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request splitbrain#16 from usox/php74-compat

Ensure php7.4 compatibility

1.1.6

Toggle 1.1.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request splitbrain#14 from treehousetim/patch-1

Add an accessor function to options for bin