dotkernel / dot-cli

DotKernel component to build console applications based on laminas-cli.
https://docs.dotkernel.org/dot-cli/
MIT License
5 stars 2 forks source link

List all commands throws an exception #7

Closed alexmerlin closed 1 year ago

alexmerlin commented 1 year ago

Running php ./bin/cli.php throws an exception.

Expected behaviour: Output a list of all available commands

Actual output:

PHP Fatal error: Uncaught TypeError: str_replace(): Argument #3 ($subject) must be of type array|string, null given in vendor/dotkernel/dot-cli/src/FileLocker.php:124

arhimede commented 1 year ago

@alexmerlin can you draft a release ?

alexmerlin commented 1 year ago

@alexmerlin can you draft a release ?

Done. https://github.com/dotkernel/dot-cli/releases/tag/3.2.1

alexmerlin commented 1 year ago

Fixed in #8