Skip to content

Tags: wp-cli/php-cli-tools

Tags

v0.12.5

Toggle v0.12.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Convert null values to empty strings (#185)

To avoid deprecation warnings in newer PHP:
```
PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject)
of type array|string is deprecated in
/Users/isla/source/wp-cli-dev/php-cli-tools/lib/cli/table/Tabular.php on
line 30
```

v0.12.4

Toggle v0.12.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix removal of trailing tab / whitespace in tabular table (#184)

Previously the final table output was trimmed with the intention of
removing the last newline. This had an unintended side effect of
removing the tab characters from empty columns in the specific case
where the last row had one or more empty columns at the end of the row.
This makes sure we are only removing the newline character as intended.

Add a new unit test to verify this behavior as well.

v0.12.3

Toggle v0.12.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Support line breaks and tab replacement in tabular table values (#182)

This adds the same functionality from both #179 and #181 to the tabular
table output. In WP CLI behat tests, the 'table containing rows' check
can only use tabular output so we need to fix it here in order for tests
to work.

v0.12.2

Toggle v0.12.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Replace tabs in tables with 4 spaces (#181)

* Replace tabs in tables with 4 spaces

* Move to `padColumn`

* Cast to string

v0.12.1

Toggle v0.12.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #176 from wp-cli/update-phpunit-config

v0.12.0

Toggle v0.12.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #172 from wp-cli/fix/unit-tests

Fix unit tests

v0.11.22

Toggle v0.11.22'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 #170 from kodie/fix-maxFlag-and-maxOption-typo

v0.11.21

Toggle v0.11.21's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
PHP 8.2: strwidth() & Colors::pad()/decolorize() should always work w…

…ith a string (#163)

v0.11.20

Toggle v0.11.20's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Update to WPCS v3 (#161)

v0.11.19

Toggle v0.11.19's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Prevent warnings in PHP 8.2 when `$col_values` is empty (#160)