diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2024-10-30 12:35:08 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2024-10-30 12:35:08 +0100 |
commit | 4daba84223e00c4269219355eba7f0e7890d6fce (patch) | |
tree | c1687fdc197744e6e293b188709efcd5b2e12c11 /.phpcs.xml | |
parent | e530476e6c5d2319f3a0a09dfe73ec181e923325 (diff) | |
download | volse-hubzilla-4daba84223e00c4269219355eba7f0e7890d6fce.tar.gz volse-hubzilla-4daba84223e00c4269219355eba7f0e7890d6fce.tar.bz2 volse-hubzilla-4daba84223e00c4269219355eba7f0e7890d6fce.zip |
Make phpcs a bit more lax...
Allow spaces for indent, and newlines before braces.
Diffstat (limited to '.phpcs.xml')
-rw-r--r-- | .phpcs.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.phpcs.xml b/.phpcs.xml index 0054e4cda..c9c9cdd57 100644 --- a/.phpcs.xml +++ b/.phpcs.xml @@ -48,6 +48,10 @@ <exclude name="Generic.Files.OneClassPerFile.MultipleFound"/> <exclude name="Generic.Files.OneObjectStructurePerFile.MultipleFound"/> <exclude name="Generic.Formatting.SpaceAfterCast.NoSpace"/> + + <exclude name="Generic.Classes.OpeningBraceSameLine.BraceOnNewLine" /> + <exclude name="Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed" /> + <exclude name="Generic.Functions.OpeningFunctionBraceKernighanRitchie.BraceOnNewLine" /> </rule> <!-- |