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

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

Build:
Build:
LAST BUILD BRANCH: catch-per-3.0
DEFAULT BRANCH: master
Ran 18 May 2024 09:42AM UTC
Files 260
Run time 6s
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

18 May 2024 09:36AM UTC coverage: 71.789%. Remained the same
9138938400.3

push

github

jrfnl
Generic/InlineControlStructure: fix error when handling `else if`

This commit fixes a bug in this sniff where it would not handle
correctly `else if` statements when there is a comment between the
`else` and `if` tokens.

The affected code was added in
https://github.com/squizlabs/PHP_CodeSniffer/commit/18f98cc9a
to fix a similar bug when there is more than one whitespace between `else`
and `if`, but it failed to consider that there might be comment tokens
between `else` and `if`.

17335 of 24147 relevant lines covered (71.79%)

23.29 hits per line

Source Files on job php-8.1-custom-ini-true - 9138938400.3
  • Tree
  • List 260
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 9138938400
  • 76d305fb on github
  • Prev Job for on 4.0 (#9107630004.2)
  • Next Job for on 4.0 (#9139256199.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