Skip to content

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Apr 14, 2025

Description

The old array format for the $settings parameter of Ruleset::setSniffProperty() was deprecated in PHPCS 3.8.0.

Ref:

Suggested changelog entry

Removed:
Ruleset::setSniffProperty(): support for the old $settings parameter format.

Related issues/external references

Related to #6

… 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
@jrfnl jrfnl merged commit 12b604d into 4.x Apr 14, 2025
58 checks passed
@jrfnl jrfnl deleted the phpcs-4.0/feature/sq-3629-ruleset-setsniffproperty-remove-bclayer-old-property-format branch April 14, 2025 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment