From aa9a9ac810dd149c1a868db675c0da4f5348b071 Mon Sep 17 00:00:00 2001 From: Jay McPartland <2131911+jonmcp@users.noreply.github.com> Date: Tue, 27 Feb 2024 02:33:02 +0000 Subject: [PATCH] [Documentation] Squiz: Superfluous Whitespace (#352) * Docs: add documentation for Squiz.WhiteSpace.SuperfluousWhitespace * Docs: improve documentation for Squiz.WhiteSpace.SuperfluousWhitespace - Add code comparison for a missed error code (EOF) - Fixup CDATA indentation - Clarify wording in code examples * Docs: fix typo in Squiz.WhiteSpace.SuperfluousWhitespace code example * Docs: rewrite incorrect code example for Squiz.WhiteSpace.SuperfluousWhitespace.EndFile * Squiz/SuperfluousWhitespace: tiny tweak --- .../SuperfluousWhitespaceStandard.xml | 98 +++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 src/Standards/Squiz/Docs/WhiteSpace/SuperfluousWhitespaceStandard.xml diff --git a/src/Standards/Squiz/Docs/WhiteSpace/SuperfluousWhitespaceStandard.xml b/src/Standards/Squiz/Docs/WhiteSpace/SuperfluousWhitespaceStandard.xml new file mode 100644 index 0000000000..b4ad03d0b4 --- /dev/null +++ b/src/Standards/Squiz/Docs/WhiteSpace/SuperfluousWhitespaceStandard.xml @@ -0,0 +1,98 @@ + + + + + + + + + + + + + + + + + + + + + + + ]]> + + + + + + + + + + + + + echo 'code here'; +} + ]]> + + + + + + + + + + ]]> + + + + + + ]]> + + +