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

PHPCSStandards / PHP_CodeSniffer / 7556428086
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: 4.x
DEFAULT BRANCH: master
Ran 17 Jan 2024 01:29PM UTC
Jobs 3
Files 257
Run time 29s
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

17 Jan 2024 01:27PM UTC coverage: 65.157% (+0.02%) from 65.134%
7556428086

push

github

jrfnl
Generic/UnusedFunctionParameter: remove unreacheable if condition

At this point in the code, there should always be a non-empty token
after the return statement, even if only the scope closer, and thus the
if condition will never be true.
If there is a syntax error and there is nothing after the return, the
code will never reach this point as in the beginning of the method the
code checks if `$token['scope_opener']` is set and this only happens
when there is also a scope_closer.

15403 of 23640 relevant lines covered (65.16%)

6.66 hits per line

Jobs
ID Job ID Ran Files Coverage
1 php-8.3-custom-ini-false - 7556428086.1 17 Jan 2024 01:29PM UTC 0
64.26
GitHub Action Run
2 php-8.1-custom-ini-true - 7556428086.2 17 Jan 2024 01:29PM UTC 0
64.22
GitHub Action Run
3 php-7.2-custom-ini-false - 7556428086.3 17 Jan 2024 01:29PM UTC 0
61.57
GitHub Action Run
Source Files on build 7556428086
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #7556428086
  • 4fb1802c on github
  • Prev Build on 4.0 (#7526846471)
  • Next Build on 4.0 (#7561657699)
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