Skip to content

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Sep 12, 2025

Description

CS: single space before/after concat operators

Includes removing the rule enforcing no space from the PHPCS native ruleset and replacing the Squiz operator spacing sniff with the PSR12 one, which will now handle enforcing of spaces around the concat operators (as well as spacing around boolean operators which was not being checked so far...).

Suggested changelog entry

N/A

Related issues/external references

Part of a series of PRs to address #155

Includes removing the rule enforcing no space from the PHPCS native ruleset and replacing the Squiz operator spacing sniff with the PSR12 one, which will now handle enforcing of spaces around the concat operators (as well as spacing around boolean operators which was not being checked so far...).
@jrfnl jrfnl merged commit 6f8fdc4 into 4.x Sep 12, 2025
173 checks passed
@jrfnl jrfnl deleted the phpcs-4.x/feature/155-normalize-some-code-style-rules-3 branch September 12, 2025 01:50
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.

1 participant