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

PHPCSStandards / PHP_CodeSniffer / 12736878529 / 7
79%
master: 79%

Build:
DEFAULT BRANCH: master
Ran 12 Jan 2025 09:00PM UTC
Files 309
Run time 7s
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:34PM UTC coverage: 2.412%. Remained the same
12736878529.7

push

github

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

660 of 27368 relevant lines covered (2.41%)

0.15 hits per line

Source Files on job os-windows-latest-php-8.4-custom-ini-false - 12736878529.7
  • Tree
  • List 309
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 12736878529
  • aebd84be on github
  • Prev Job for on master (#12720589323.3)
  • Next Job for on master (#12933236401.2)
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