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

PHPCSStandards / PHP_CodeSniffer / 7317280118 / 3
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: feature/fixer-conflict/PSR12.Functions.ReturnTypeDeclaration
DEFAULT BRANCH: master
Ran 24 Dec 2023 10:54PM UTC
Files 257
Run time 5s
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

24 Dec 2023 10:52PM UTC coverage: 63.131% (+0.03%) from 63.097%
7317280118.3

push

github

jrfnl
Improve test coverage of the LanguageConstructSpacing sniff

This sniff has an `else if` condition
(https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/c85534876/src/Standards/Generic/Sniffs/WhiteSpace/LanguageConstructSpacingSniff.php#L131)
to handle language constructs that are followed by some content without
a space or opening parenthesis first. This code was not exercised by the
automated tests.

This commit adds a few examples to make sure this part of the code is
covered.

14846 of 23516 relevant lines covered (63.13%)

1.82 hits per line

Source Files on job php-8.3-custom-ini-false - 7317280118.3
  • Tree
  • List 257
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 7317280118
  • ba512f51 on github
  • Prev Job for on 4.0 (#7317118224.2)
  • Next Job for on 4.0 (#7317383522.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