Skip to content

feat: add Output::wrap() - #10679

Merged
paulbalandan merged 1 commit into
codeigniter4:4.8from
paulbalandan:output-wrap
Oct 30, 2026
Merged

paulbalandan merged 1 commit into
codeigniter4:4.8from
paulbalandan:output-wrap

Conversation

@paulbalandan

Copy link
Copy Markdown
Member

Description
Commands moving to $this->getOutput() had no instance counterpart to CLI::wrap(). This adds Output::wrap(), which wraps at the width of the output's own terminal.

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value (without duplication)
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@carson-codeigniter4 carson-codeigniter4 Bot added the 4.8 PRs that target the `4.8` branch. label Oct 29, 2026
@carson-codeigniter4 carson-codeigniter4 Bot added the stale Pull requests with conflicts label Oct 30, 2026
@carson-codeigniter4

This comment has been minimized.

@carson-codeigniter4 carson-codeigniter4 Bot removed the stale Pull requests with conflicts label Oct 30, 2026
@paulbalandan
paulbalandan merged commit 3fcd16c into codeigniter4:4.8 Oct 30, 2026
63 of 64 checks passed
@paulbalandan
paulbalandan deleted the output-wrap branch October 30, 2026 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.8 PRs that target the `4.8` branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants