From a79e21b0d15cdf6fe271b9e7a10f6b74f0548921 Mon Sep 17 00:00:00 2001 From: Zach Borboa Date: Mon, 15 Sep 2025 21:24:22 -0400 Subject: [PATCH] Fix PHP_CodeSniffer coding standard errors (#993) * Fix PHP_CodeSniffer errors Error message: Header blocks must be separated by a single blank line (PSR12.Files.FileHeader.SpacingAfterTagBlock) * Fix PHP_CodeSniffer errors Error message: Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) * Fix PHP_CodeSniffer warnings Error message: A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 6 and the first side effect is on line 14. (PSR1.Files.SideEffects.FoundWithSymbols) --- examples/post_multiple_values_same_key_without_indexes.php | 1 + examples/put_large_file_chunked.php | 1 + examples/receive_large_file_chunked.php | 1 + tests/ruleset.xml | 7 +++++++ 4 files changed, 10 insertions(+) diff --git a/examples/post_multiple_values_same_key_without_indexes.php b/examples/post_multiple_values_same_key_without_indexes.php index 39950cd..5e45ab5 100644 --- a/examples/post_multiple_values_same_key_without_indexes.php +++ b/examples/post_multiple_values_same_key_without_indexes.php @@ -1,4 +1,5 @@ + + + + + + + ./examples/*