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

PHPCSStandards / PHP_CodeSniffer / 7171974696
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: feature/fixer-conflict/PSR12.Functions.ReturnTypeDeclaration
DEFAULT BRANCH: master
Ran 11 Dec 2023 06:48PM UTC
Jobs 3
Files 257
Run time 25s
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: 64.029% (-0.02%) from 64.045%
7171974696

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>

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

15105 of 23591 relevant lines covered (64.03%)

5.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.0-custom-ini-true - 7171974696.1 11 Dec 2023 06:48PM UTC 257
63.05
GitHub Action Run
2 php-8.3-custom-ini-false - 7171974696.2 11 Dec 2023 06:48PM UTC 257
63.09
GitHub Action Run
3 php-7.2-custom-ini-false - 7171974696.3 11 Dec 2023 06:48PM UTC 257
60.01
GitHub Action Run
Source Files on build 7171974696
  • Tree
  • List 257
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #7171974696
  • 75a27839 on github
  • Prev Build on 4.0 (#7155782357)
  • Next Build on 4.0 (#7172095992)
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