Tags: wp-cli/php-cli-tools
Tags
Add column alignment support for tables (#192) Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Pascal Birchler <pascal.birchler@gmail.com> Co-authored-by: Pascal Birchler <pascalb@google.com>
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 ```
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.
PreviousNext