aboutsummaryrefslogtreecommitdiffstats
path: root/.phpcs.xml
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2024-10-30 12:35:08 +0100
committerHarald Eilertsen <haraldei@anduin.net>2024-10-30 12:35:08 +0100
commit4daba84223e00c4269219355eba7f0e7890d6fce (patch)
treec1687fdc197744e6e293b188709efcd5b2e12c11 /.phpcs.xml
parente530476e6c5d2319f3a0a09dfe73ec181e923325 (diff)
downloadvolse-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.xml4
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>
<!--