Skip to content

Squiz/LanguageConstructSpacing: remove deprecated sniff #979

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

This sniff was deprecated in PHPCS 3.3.0. Use the Generic.WhiteSpace.LanguageConstructSpacing sniff instead.

Includes removal of sniff muting from the Squiz ruleset.

Refs:

Suggested changelog entry

Removed:

  • The Squiz.WhiteSpace.LanguageConstructSpacing sniff.
    • Use the Generic.WhiteSpace.LanguageConstructSpacing sniff instead.

Related issues/external references

Fixes squizlabs/PHP_CodeSniffer#1953

Related to #6

This sniff was deprecated in PHPCS 3.3.0. Use the Generic.WhiteSpace.LanguageConstructSpacing sniff instead.

Includes removal of sniff muting from the Squiz ruleset.

Refs:
* squizlabs/PHP_CodeSniffer 1337

Fixes squizlabs/PHP_CodeSniffer 1953

Related to 6

Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
@jrfnl jrfnl merged commit a231494 into 4.x Apr 14, 2025
58 checks passed
@jrfnl jrfnl deleted the phpcs-4.0/feature/sq-1953-squiz-languageconstructspacing-remove-sniff branch April 14, 2025 15:10
@jrfnl jrfnl changed the title Squiz/LanguageConstructSpacing: removed deprecated sniff Squiz/LanguageConstructSpacing: remove deprecated sniff Jul 15, 2025
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.

3 participants