php-cli-tools
php-cli-tools copied to clipboard
A collection of tools to help with PHP command line utilities
**Done is:** * The unit test suite runs for every pull request.
Hi, Running wp vuln status through WordPress 4.9.6 breaks the table layout when the package reports any vulnerabilities with WordPress version (not plugins, not themes. See screenshots). ### Expected behavior:...
Using make_progress_bar multiple times in a WP_CLI command displays wrong expected total time after the first use. Repro: Consider the following cli command ``` class TestMultipleProgressBars { private function run($message)...
I was confused by `phpstan analyse` output: "Parameter #2 $default of function cli\prompt expects string, false given." Soon I found out that problem is in type hinting for this function...
The progressbar instead of updating the current row print a new row with the updated values. To fix this I've found that can be esily fixed by changing into Bar.php...
Can't really figure this one out. Sometimes (not often, but often enough to end up in my logs and irritate me) \cli\line() causes a warning: sprintf(): Too few arguments. This...
## Feature Request - [x] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/). **Describe your use case and the problem you are facing** I want to "register" an empty table, and then...
## Bug Report - [x] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/). - [x] Yes, more specifically, I reviewed the guidelines on [how to write clear bug reports](https://make.wordpress.org/cli/handbook/bug-reports/). **Describe the current,...
In https://github.com/wp-cli/php-cli-tools/pull/155, we marked a test skipped 217cb51 because it was unexpectedly failing. We should track down why it was failing, and restore the test. **Done is:** * `$this->markTestSkipped()` is...