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

PHPCSStandards / PHP_CodeSniffer / 9138938400
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: feature/fixer-conflict/PSR12.Functions.ReturnTypeDeclaration
DEFAULT BRANCH: master
Ran 18 May 2024 09:40AM UTC
Jobs 3
Files 260
Run time 1min
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: 73.25%. Remained the same
9138938400

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`.

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

17799 of 24299 relevant lines covered (73.25%)

69.27 hits per line

Jobs
ID Job ID Ran Files Coverage
1 php-7.2-custom-ini-false - 9138938400.1 18 May 2024 09:42AM UTC 260
69.2
GitHub Action Run
2 php-8.3-custom-ini-false - 9138938400.2 18 May 2024 09:40AM UTC 260
71.76
GitHub Action Run
3 php-8.1-custom-ini-true - 9138938400.3 18 May 2024 09:40AM UTC 260
71.79
GitHub Action Run
Source Files on build 9138938400
  • Tree
  • List 260
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #9138938400
  • 76d305fb on github
  • Prev Build on 4.0 (#9107630004)
  • Next Build on 4.0 (#9139256199)
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