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

PHPCSStandards / PHP_CodeSniffer / 9800052374
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: feature/fixer-conflict/PSR12.Functions.ReturnTypeDeclaration
DEFAULT BRANCH: master
Ran 04 Jul 2024 09:30PM UTC
Jobs 3
Files 260
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 Jul 2024 09:26PM UTC coverage: 73.743%. Remained the same
9800052374

push

github

jrfnl
AbstractMethodUnitTest: improve finding of target token

These changes are similar to changes previously made in the same method in PHPCSUtils.

As things were, there could be a situation where the `getTargetTokenFromFile()` method did not find the delimiter comment. In that case, the method would search for the target token starting at token 0, which would generally lead to an incorrect token being identified as the target token.

This has now been fixed by verifying the outcome of the `findPrevious()` call and throwing an exception (causing the test to fail) when the delimiter comment was not found.

Along the same lines, when the target token would not be found, an exception will now be thrown as well.

17949 of 24340 relevant lines covered (73.74%)

70.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 php-8.1-custom-ini-true - 9800052374.1 04 Jul 2024 09:30PM UTC 260
72.32
GitHub Action Run
2 php-8.3-custom-ini-false - 9800052374.2 04 Jul 2024 09:30PM UTC 260
72.28
GitHub Action Run
3 php-7.2-custom-ini-false - 9800052374.3 04 Jul 2024 09:32PM UTC 260
69.69
GitHub Action Run
Source Files on build 9800052374
  • Tree
  • List 260
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #9800052374
  • 76129505 on github
  • Prev Build on 4.0 (#9756730629)
  • Next Build on 4.0 (#9851335454)
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

© 2025 Coveralls, Inc