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

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

Build:
Build:
LAST BUILD BRANCH: PSR2-WrongOpenercase-with-colon-and-bracket-is-unclear
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.089% (+0.03%) from 63.055%
7317280118.2

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.

14836 of 23516 relevant lines covered (63.09%)

1.83 hits per line

Source Files on job php-8.0-custom-ini-true - 7317280118.2
  • 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.1)
  • 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