Skip to content

Ruleset::setSniffProperty(): remove BC-layer for direct calls passing incorrect $settings array format #978

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants