• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

PHPCSStandards / PHP_CodeSniffer / 7171974696 / 2
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: feature/fixer-conflict/PSR12.Functions.ReturnTypeDeclaration
DEFAULT BRANCH: master
Ran 11 Dec 2023 06:49PM UTC
Files 257
Run time 9s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

11 Dec 2023 06:46PM UTC coverage: 63.088% (-0.02%) from 63.104%
7171974696.2

push

github

jrfnl
Report Full: fix two line wrapping bugs (#125)

* Fix two line wrapping bugs in default report formatter

The first is that the ANSI escape codes applied to bold the message when
`-s` is used were not being taken into account when wrapping the lines
for width, causing some lines to be wrapped unnecessarily.

The second is that when lines were wrapped in the middle of a long
message, the `|` characters making up the table were being bolded along
with the message.

* Report Full: iterate on line wrapping bug fix

This commit takes the fix one step further by adding the padding only after the message has been word-wrapped.
Includes correct handling of padding for multi-line error messages.

It then takes the last line of the resulting message and determines in isolation whether the source code suffix can fit on that line or needs to be placed on a new line.


Co-authored-by: Brad Jorsch <anomie@users.sourceforge.net>
Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>

14830 of 23507 relevant lines covered (63.09%)

1.82 hits per line

Source Files on job php-8.3-custom-ini-false - 7171974696.2
  • Tree
  • List 257
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 7171974696
  • 75a27839 on github
  • Prev Job for on 4.0 (#7155782357.3)
  • Next Job for on 4.0 (#7172095992.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc