wp-cli / php-cli-tools

A collection of tools to help with PHP command line utilities
MIT License
671 stars 117 forks source link

Uncaught TypeError: join(): Argument #2 ($array) must be of type ?array, string given #143

Closed OzzyCzech closed 3 years ago

OzzyCzech commented 3 years ago

Uncaught TypeError: join(): Argument #2 ($array) must be of type ?array, string given

You can reproduce that error under PHP 8 with example code:

php examples/arguments.php --help

There is pull request already #142 from @oytuntez

OzzyCzech commented 3 years ago

Thanks @schlessera for merging #142

schlessera commented 3 years ago

@OzzyCzech I pushed a release, in case you need one: https://github.com/wp-cli/php-cli-tools/releases/tag/v0.11.12