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

PHPCSStandards / PHP_CodeSniffer / 8146618964
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: feature/fixer-conflict/PSR12.Functions.ReturnTypeDeclaration
DEFAULT BRANCH: master
Ran 04 Mar 2024 08:34PM UTC
Jobs 3
Files 259
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

04 Mar 2024 08:16PM UTC coverage: 72.316% (+0.004%) from 72.312%
8146618964

push

github

jrfnl
Generic/UselessOverridingMethod: bail if not checking a class method

The UselessOverridingMethod is triggered when the T_FUNCTION token is
found. This token is used for regular functions and also methods.

The sniff should run only for class and trait methods (including abstract and
anonymous classes). Those are the only methods that can have a parent.
So this commit changes the sniff to bail early when dealing with a
regular functions, nested functions, interfaces methods and enum methods.

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

17342 of 23981 relevant lines covered (72.32%)

55.23 hits per line

Jobs
ID Job ID Ran Files Coverage
1 php-8.1-custom-ini-true - 8146618964.1 04 Mar 2024 08:34PM UTC 259
70.83
GitHub Action Run
2 php-7.2-custom-ini-false - 8146618964.2 04 Mar 2024 08:35PM UTC 259
68.49
GitHub Action Run
3 php-8.3-custom-ini-false - 8146618964.3 04 Mar 2024 08:34PM UTC 259
70.81
GitHub Action Run
Source Files on build 8146618964
  • Tree
  • List 259
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #8146618964
  • e4371f44 on github
  • Prev Build on 4.0 (#8136282341)
  • Next Build on 4.0 (#8153677156)
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