From 7616e143ebc3ed8e4c034575ab6722e6fc1a69a7 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Tue, 6 Jan 2026 18:35:03 +0100 Subject: [PATCH] Customisable-Sniff-Properties: remove PSR12/OperatorSpacing sniff section As per the inline comment replacing the section: > While PSR12.Operators.OperatorSpacing inherits the `ignoreNewlines` and `ignoreSpacingBeforeAssignments` properties > from the `Squiz.WhiteSpace.OperatorSpacing` sniff, these properties are not handled in the PSR12 sniff, > so are deliberately not mentioned in this documentation. --- wiki/Customisable-Sniff-Properties.md | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/wiki/Customisable-Sniff-Properties.md b/wiki/Customisable-Sniff-Properties.md index 77ef927e..9ee7e9d5 100644 --- a/wiki/Customisable-Sniff-Properties.md +++ b/wiki/Customisable-Sniff-Properties.md @@ -1096,19 +1096,11 @@ This sniff checks the depth of imported namespaces inside compound use statement

back to top

-### PSR12.Operators.OperatorSpacing - -| Property Name | Type | Default | Available Since | -| ------------------------------ | ---- | ------- | --------------- | -| ignoreNewlines | bool | false | 3.3.0 | -| ignoreSpacingBeforeAssignments | bool | true | 3.5.0 | - -> [!NOTE] -> All properties are inherited from the [Squiz.WhiteSpace.OperatorSpacing](#squizwhitespaceoperatorspacing) sniff, although the default value of `allowMultipleArguments` is changed. - -See the [Squiz.WhiteSpace.OperatorSpacing](#squizwhitespaceoperatorspacing) sniff for an explanation of all properties. - -

back to top

+ ## Squiz Sniffs