summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2023-01-20 20:22:32 +0100
committerHarald Eilertsen <haraldei@anduin.net>2023-01-20 20:22:32 +0100
commitf71143613339faa670c8357845600ee7ebcb4339 (patch)
tree9b64eba117cf6bb5d3f3c844b6c66850d7f93ae8
parent277fedffc624f55c6ecc8bd80ed8db370134e47e (diff)
downloadgigologadmin-f71143613339faa670c8357845600ee7ebcb4339.tar.gz
gigologadmin-f71143613339faa670c8357845600ee7ebcb4339.tar.bz2
gigologadmin-f71143613339faa670c8357845600ee7ebcb4339.zip
Update .phpcs to not complain about lack of yoda conditions.
-rw-r--r--.phpcs.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.phpcs.xml b/.phpcs.xml
index 26d5659..c31dba1 100644
--- a/.phpcs.xml
+++ b/.phpcs.xml
@@ -21,5 +21,6 @@
<rule ref="WordPress">
<exclude name="Generic.WhiteSpace.DisallowSpaceIndent" />
<exclude name="Squiz.Commenting.InlineComment.InvalidEndChar" />
+ <exclude name="WordPress.PHP.YodaConditions.NotYoda" />
</rule>
</ruleset>