From 37bcab64188e3fc3b07485a2026f2adaced05ee6 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Tue, 25 Jul 2023 13:05:29 +0200 Subject: [PATCH] Ruleset: configure PSR12.ControlStructures.BooleanOperatorPlacement sniff Set the `allowOnly` property for the `PSR12.ControlStructures.BooleanOperatorPlacement` sniff to "first" to enforce boolean operators to always be at the start of a line, not the end. This property is available since PHPCS 3.5.4. --- PHPCSDev/ruleset.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/PHPCSDev/ruleset.xml b/PHPCSDev/ruleset.xml index 23b223e..5767a64 100644 --- a/PHPCSDev/ruleset.xml +++ b/PHPCSDev/ruleset.xml @@ -81,6 +81,13 @@ #################################################################### --> + + + + + + +