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

sirbrillig / phpcs-variable-analysis / 5567252378
94%
2.x: 94%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions/checkout-6
DEFAULT BRANCH: 2.x
Ran 16 Jul 2023 10:59AM UTC
Jobs 4
Files 9
Run time 1s
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

pending completion
5567252378

push

github

jrfnl
Make test suite compatible with PHPCS 3.8.0

As per the deprecation notice being thrown:
> `setSniffProperty: the format of the $settings parameter has changed from (mixed) $value to array('scope' => 'sniff|standard', 'value' => $value). Please update your integration code. See PR #3629 for more information.`

... the format of the `$settings` parameter for the `Ruleset::setSniffProperty()` method has changed to allow PHPCS to prevent notices about dynamic properties.

This commit updates the test suite to allow for both the PHPCS < 3.8.0 as well as the PHPCS 3.8.0+ way of setting properties directly on the Ruleset by adding a helper method to the `BaseTestCase` to set the properties in the correct way depending on the PHPCS version used.

Ref: squizlabs/php_codesniffer 3629

1718 of 1833 relevant lines covered (93.73%)

128.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 php-7.4-phpcs-3.5.6 - 5567252378.1 16 Jul 2023 10:59AM UTC 9
92.86
GitHub Action Run
2 php-5.4-phpcs-3.5.6 - 5567252378.2 16 Jul 2023 10:59AM UTC 9
92.64
GitHub Action Run
3 php-5.4-phpcs-dev-master - 5567252378.3 16 Jul 2023 10:59AM UTC 9
93.13
GitHub Action Run
4 php-8.2-phpcs-dev-master - 5567252378.4 16 Jul 2023 10:59AM UTC 9
93.09
GitHub Action Run
Source Files on build 5567252378
  • Tree
  • List 9
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • cb59dd59 on github
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