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

PHPCSStandards / PHP_CodeSniffer / 12736923579
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: feature/fixer-conflict/PSR12.Functions.ReturnTypeDeclaration
DEFAULT BRANCH: master
Ran 12 Jan 2025 08:41PM UTC
Jobs 8
Files 262
Run time 2min
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

12 Jan 2025 08:40PM UTC coverage: 77.049% (+0.002%) from 77.047%
12736923579

push

github

jrfnl
Squiz/FunctionSpacing: fixer is broken with doc comment on closing brace line (#784)

The fixer in Squiz.WhiteSpace.FunctionSpacing gets confused when there is a doc comment on the closing brace line.

Generally speaking this sniff doesn't care about other content on the same line as the function declaration.

But in the case of a "trailing" docblock, this meant that the sniff was adding the new lines _within_ the doc block, which, in turn, meant it would still not see the "blank lines after" in the next loop, as the added lines would be seen as doc comment lines, not blank lines. Hence, the fixer conflict.

Fixed now.

2 of 2 new or added lines in 1 file covered. (100.0%)

18971 of 24622 relevant lines covered (77.05%)

76.39 hits per line

Jobs
ID Job ID Ran Files Coverage
1 os-windows-latest-php-7.2-custom-ini-false - 12736923579.1 12 Jan 2025 08:41PM UTC 262
2.06
GitHub Action Run
2 os-ubuntu-latest-php-8.4-custom-ini-false - 12736923579.2 12 Jan 2025 08:44PM UTC 262
75.52
GitHub Action Run
3 cbf-os-ubuntu-latest-ubuntu-latest-php-8.1-custom-ini-true - 12736923579.3 12 Jan 2025 08:44PM UTC 262
1.91
GitHub Action Run
4 os-windows-latest-php-8.4-custom-ini-false - 12736923579.4 12 Jan 2025 08:41PM UTC 262
2.53
GitHub Action Run
5 cbf-os-ubuntu-latest-ubuntu-latest-php-7.2-custom-ini-false - 12736923579.5 12 Jan 2025 08:46PM UTC 262
0.82
GitHub Action Run
6 cbf-os-ubuntu-latest-ubuntu-latest-php-8.4-custom-ini-false - 12736923579.6 12 Jan 2025 08:44PM UTC 262
1.9
GitHub Action Run
7 os-ubuntu-latest-php-7.2-custom-ini-false - 12736923579.7 12 Jan 2025 08:46PM UTC 262
73.37
GitHub Action Run
8 os-ubuntu-latest-php-8.1-custom-ini-true - 12736923579.8 12 Jan 2025 08:44PM UTC 262
75.54
GitHub Action Run
Source Files on build 12736923579
  • Tree
  • List 262
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #12736923579
  • 8beb7c1e on github
  • Prev Build on 4.0 (#12720611510)
  • Next Build on 4.0 (#12933287700)
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