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

PHPCSStandards / PHP_CodeSniffer / 7829152065
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: 4.x
DEFAULT BRANCH: master
Ran 08 Feb 2024 11:55AM UTC
Jobs 3
Files 259
Run time 22s
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

08 Feb 2024 11:52AM UTC coverage: 72.109% (+0.007%) from 72.102%
7829152065

push

github

jrfnl
Squiz/IncrementDecrementUsage: bug fix - comments in value being assigned

As this is a sniff looking for certain functional code patterns, the sniff should disregard whitespace and comments when looking for the relevant tokens to determine whether the code under scan contains the code pattern the sniff is looking for.

The sniff, however, does not do this correctly (in multiple places).

This commit fixes one more of these issues.

In this case, if there was a comment anywhere in the value being assigned, the sniff would incorrectly disregard the assignment as one which should be examined.

Fixed now.

Includes tests.

17229 of 23893 relevant lines covered (72.11%)

55.37 hits per line

Jobs
ID Job ID Ran Files Coverage
1 php-7.2-custom-ini-false - 7829152065.1 08 Feb 2024 11:56AM UTC 259
68.29
GitHub Action Run
2 php-8.1-custom-ini-true - 7829152065.2 08 Feb 2024 11:55AM UTC 259
70.58
GitHub Action Run
3 php-8.3-custom-ini-false - 7829152065.3 08 Feb 2024 11:55AM UTC 259
70.56
GitHub Action Run
Source Files on build 7829152065
  • 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 #7829152065
  • 4db0991a on github
  • Prev Build on 4.0 (#7828885682)
  • Next Build on 4.0 (#7830457384)
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