Skip to content

Hard deprecate all sniffs which will be removed in PHPCS 4.0 #888

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

Merged
merged 2 commits into from
Apr 14, 2025

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Mar 18, 2025

Description

The new messages themselves are not covered by automated tests, but the principle of this is tested via the tests for the DeprecatedSniff feature (PR #281).

Suggested changelog entry

Added deprecation notices (hard deprecation) for:

  • All sniffs which will be removed in PHPCS 4.0.

Related issues/external references

Fixes #188

@jrfnl jrfnl force-pushed the feature/188-deprecate-all-sniffs-removed-in-4.0 branch from f6b85a1 to 0304898 Compare April 2, 2025 21:49
@jrfnl jrfnl modified the milestones: 3.x Last, 3.13.0 Apr 13, 2025
jrfnl added 2 commits April 14, 2025 10:42
The new messages themselves are not covered by automated tests, but the principle of this is tested via the tests for the `DeprecatedSniff` feature (PR 281).

Fixes 188
@jrfnl jrfnl force-pushed the feature/188-deprecate-all-sniffs-removed-in-4.0 branch from 0304898 to dd7257e Compare April 14, 2025 08:43
@jrfnl
Copy link
Member Author

jrfnl commented Apr 14, 2025

Rebased without changed before merging.

@jrfnl jrfnl merged commit 69430c5 into master Apr 14, 2025
61 checks passed
@jrfnl jrfnl deleted the feature/188-deprecate-all-sniffs-removed-in-4.0 branch April 14, 2025 09:23
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.

Last 3.x minor | Hard deprecate all sniffs which will be removed in 4.0
3 participants