Skip to content

Ruleset: hard deprecate support for standards called "Internal"#893

Merged
jrfnl merged 1 commit into
masterfrom
feature/799-ruleset-remove-support-for-standard-internal
Apr 14, 2025
Merged

Ruleset: hard deprecate support for standards called "Internal"#893
jrfnl merged 1 commit into
masterfrom
feature/799-ruleset-remove-support-for-standard-internal

Conversation

@jrfnl

@jrfnl jrfnl commented Mar 18, 2025

Copy link
Copy Markdown
Member

Description

Support for standards called Internal was soft deprecated in PHPCS 3.12.0

This PR adds a new Ruleset deprecation notice for when such a standard would be requested from a ruleset.

Support for sniffs not following the naming conventions will be removed in PHPCS 4.0.

Includes test.

Suggested changelog entry

Added deprecation notices (hard deprecation) for:

  • Standards called Internal, which will no longer be supported in PHPCS 4.0.

Related issues/external references

Related to #799

@rodrigoprimo rodrigoprimo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I left a comment with a small suggestion.

Comment thread src/Ruleset.php
@jrfnl jrfnl modified the milestones: 3.x Last, 3.13.0 Apr 13, 2025
Support for standards called `Internal` was soft deprecated in PHPCS 3.12.0

This PR adds a new Ruleset deprecation notice for when such a standard would be requested from a ruleset.

Support for sniffs not following the naming conventions will be removed in PHPCS 4.0.

Includes test.

Related to 799
@jrfnl
jrfnl force-pushed the feature/799-ruleset-remove-support-for-standard-internal branch from fb5eaeb to 3cc4afb Compare April 14, 2025 08:48
@jrfnl

jrfnl commented Apr 14, 2025

Copy link
Copy Markdown
Member Author

Rebased without changes before merging.

@jrfnl
jrfnl merged commit bb9c425 into master Apr 14, 2025
@jrfnl
jrfnl deleted the feature/799-ruleset-remove-support-for-standard-internal branch April 14, 2025 09:49
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