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

PHPCSStandards / PHP_CodeSniffer / 7171253720
79%

Build:
DEFAULT BRANCH: master
Ran 11 Dec 2023 05:41PM UTC
Jobs 3
Files 304
Run time 32s
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 05:39PM UTC coverage: 67.805% (-0.01%) from 67.819%
7171253720

push

github

web-flow
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>

0 of 24 new or added lines in 1 file covered. (0.0%)

19860 of 29290 relevant lines covered (67.8%)

4.39 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
24
0.0
0.0% src/Reports/Full.php
Jobs
ID Job ID Ran Files Coverage
1 php-8.3-custom-ini-false - 7171253720.1 11 Dec 2023 05:41PM UTC 304
62.2
GitHub Action Run
2 php-7.2-custom-ini-true - 7171253720.2 11 Dec 2023 05:41PM UTC 304
59.66
GitHub Action Run
3 php-5.4-custom-ini-false - 7171253720.3 11 Dec 2023 05:44PM UTC 304
59.95
GitHub Action Run
Source Files on build 7171253720
  • Tree
  • List 304
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #7171253720
  • 18cb0d4b on github
  • Prev Build on master (#7155778143)
  • Next Build on master (#7172093026)
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

© 2025 Coveralls, Inc