5 Commits

Author SHA1 Message Date
Zach Borboa a79e21b0d1 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)
2025-09-15 21:24:22 -04:00
Zach Borboa 161f9aea63 Use short array syntax 2021-03-18 01:15:52 -04:00
Zach Borboa eeaf3f9534 Clean up PSR-2 coding styles 2017-05-02 07:56:45 -07:00
Zach Borboa 15db0b95a3 Add syntax check exclusion; Clean up syntax 2016-09-27 00:28:57 -07:00
Zach Borboa 52f4df9cfe Fix #322,#369: Add chunked transfer-encoding example 2016-09-12 02:16:21 -07:00