php-cli-tools icon indicating copy to clipboard operation
php-cli-tools copied to clipboard

A collection of tools to help with PHP command line utilities

Results 12 php-cli-tools issues
Sort by recently updated
recently updated
newest added

**Done is:** * The unit test suite runs for every pull request.

scope:testing

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:...

state:unconfirmed
scope:table

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...

bug
scope:shell

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...

bug
scope:colors

## 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...

scope:table

## 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,...

scope:table

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...

bug
scope:testing