diff options
author | Frans de Jonge <fransdejonge@gmail.com> | 2022-01-05 00:52:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-05 00:52:24 +0100 |
commit | d339b6dd454d814ffc323fa9077b70e33339c479 (patch) | |
tree | bf82e2b4beda3958502465ef76c223175a978afd /phpcs.xml | |
parent | a6ea90e58b807d18fff601135e3e697b38895ca1 (diff) | |
download | freshrss-d339b6dd454d814ffc323fa9077b70e33339c479.tar.gz freshrss-d339b6dd454d814ffc323fa9077b70e33339c479.zip |
[CI] PHPCS: check for opening brace on same line (#4122)
* [CI] PHPCS: check for opening brace on same line
* make fix-all
* Minor comments
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'phpcs.xml')
-rw-r--r-- | phpcs.xml | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -105,6 +105,8 @@ <rule ref="Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis"> <exclude-pattern>.phtml$</exclude-pattern> </rule> + <!-- Opening brace on same line as function declaration --> + <rule ref="Generic.Functions.OpeningFunctionBraceKernighanRitchie" /> <!-- Newline required after opening brace --> <rule ref="Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace"> <exclude-pattern>.phtml$</exclude-pattern> |