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

PHPCSStandards / PHP_CodeSniffer / 11108351145 / 3
79%
master: 79%

Build:
DEFAULT BRANCH: master
Ran 30 Sep 2024 02:59PM UTC
Files 308
Run time 11s
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

30 Sep 2024 02:35PM UTC coverage: 67.933% (+0.003%) from 67.93%
11108351145.3

push

github

jrfnl
Generic/InlineControlStructure: remove redundant condition

This commit removes a redundant condition that was added in fbea319 to
support JS braceless do-while loops. A subsequent commit added similar
code to support braceless do-while loops (plus for/while loops without
body) for PHP, but it also works for JS (13c803b).

There are a few syntax error cases that were handled by the code that is
removed by this commit and are not handled by the code introduced in
13c803b. Without the removed code, they are now handled in a if
condition right below. I added two tests with those cases to ensure the
sniff continues working as expected.

18528 of 27274 relevant lines covered (67.93%)

21.77 hits per line

Source Files on job php-7.2-custom-ini-true - 11108351145.3
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 11108351145
  • 9168f539 on github
  • Prev Job for on master (#11096955444.3)
  • Next Job for on master (#11167968897.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