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

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

Build:
DEFAULT BRANCH: master
Ran 30 Sep 2024 02:59PM UTC
Files 308
Run time 8s
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: 69.307% (+0.004%) from 69.303%
11108351145.1

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.

22592 of 32597 relevant lines covered (69.31%)

20.68 hits per line

Source Files on job php-5.4-custom-ini-false - 11108351145.1
  • 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.1)
  • 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