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

PHPCSStandards / PHP_CodeSniffer / 10861789063
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: 4.x
DEFAULT BRANCH: master
Ran 14 Sep 2024 10:46AM 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

14 Sep 2024 10:42AM UTC coverage: 74.052% (+0.003%) from 74.049%
10861789063

push

github

jrfnl
Squiz/DisallowMultipleAssignments: bug fix - dynamic property assignment on object stored in array

The sniff would try to find whether the first "relevant" variable found matches the start of the statement and if not, throw an error, but in the case of dynamic property access on objects stored in an array, the first "relevant" variable determination was off and would get stuck on the `]` close bracket of the array access.

Fixed now. Includes ample tests.

This should also make the sniff slightly more efficient for property access code snippets which the sniff already handled correctly.

Fixes 598

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

18002 of 24310 relevant lines covered (74.05%)

71.32 hits per line

Jobs
ID Job ID Ran Files Coverage
1 php-8.3-custom-ini-false - 10861789063.1 14 Sep 2024 10:47AM UTC 0
72.41
GitHub Action Run
2 php-8.1-custom-ini-true - 10861789063.2 14 Sep 2024 10:46AM UTC 0
72.44
GitHub Action Run
3 php-7.2-custom-ini-false - 10861789063.3 14 Sep 2024 10:48AM UTC 0
70.0
GitHub Action Run
Source Files on build 10861789063
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #10861789063
  • 4a13db50 on github
  • Prev Build on 4.0 (#10861545082)
  • Next Build on 4.0 (#10882877457)
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