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

PHPCSStandards / PHP_CodeSniffer / 11108351145
79%

Build:
DEFAULT BRANCH: master
Ran 30 Sep 2024 02:39PM UTC
Jobs 3
Files 308
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

30 Sep 2024 02:35PM UTC coverage: 75.667% (+0.003%) from 75.664%
11108351145

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.

23372 of 30888 relevant lines covered (75.67%)

61.79 hits per line

Jobs
ID Job ID Ran Files Coverage
1 php-5.4-custom-ini-false - 11108351145.1 30 Sep 2024 02:59PM UTC 308
69.31
GitHub Action Run
2 php-8.3-custom-ini-false - 11108351145.2 30 Sep 2024 02:39PM UTC 308
70.88
GitHub Action Run
3 php-7.2-custom-ini-true - 11108351145.3 30 Sep 2024 02:40PM UTC 308
67.93
GitHub Action Run
Source Files on build 11108351145
  • Tree
  • List 308
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #11108351145
  • 9168f539 on github
  • Prev Build on master (#11096955444)
  • Next Build on master (#11167968897)
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