You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ruleset::setSniffProperty(): remove BC-layer for direct calls passing incorrect $settings array format
The old array format for the `$settings` parameter of `Ruleset::setSniffProperty()` was deprecated in PHPCS 3.8.0.
Ref:
* squizlabs/PHP_CodeSniffer 3629
Related to 6
__FUNCTION__.': 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.',
1626
-
E_USER_DEPRECATED
1627
-
);
1628
-
}
1629
-
1630
1602
$isSettable = false;
1631
1603
$sniffObject = $this->sniffs[$sniffClass];
1632
1604
if (property_exists($sniffObject, $propertyName) === true
$exceptionMsg = '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.';
395
-
396
-
if (method_exists($this, 'expectException') === true) {
0 commit comments