From cae27eafc25a2b31f78e3c68b6a11011d366d928 Mon Sep 17 00:00:00 2001 From: Rodrigo Primo Date: Fri, 16 May 2025 11:10:23 -0300 Subject: [PATCH] Squiz/FunctionOpeningBraceSpace: update XML doc - Update the sniff description and remove a code example for something that the sniff doesn't check. The sniff only checks for blank lines after the opening brace of a function, and not if the opening brace is on its own line. - Ensure the title matches the sniff name. --- .../FunctionOpeningBraceSpaceStandard.xml | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/src/Standards/Squiz/Docs/WhiteSpace/FunctionOpeningBraceSpaceStandard.xml b/src/Standards/Squiz/Docs/WhiteSpace/FunctionOpeningBraceSpaceStandard.xml index 28fa712f83..c0663c2bde 100644 --- a/src/Standards/Squiz/Docs/WhiteSpace/FunctionOpeningBraceSpaceStandard.xml +++ b/src/Standards/Squiz/Docs/WhiteSpace/FunctionOpeningBraceSpaceStandard.xml @@ -1,24 +1,9 @@ - + - - - { -} - ]]> - - - { -} - ]]> - -