From 43dae6c648dff3df2c181fb0008e51cf3e5696e5 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Sun, 1 Dec 2019 14:19:47 +0100 Subject: [PATCH] Ruleset: selectively exclude an errorcode As of PHPCS 4.0, it is possible to selectively exclude errors from the `PSR12.Files.FileHeader` sniff. This particular exclusion means that we will not enforce a blank line between the PHP open tag and the file docblock, as that would cause a lot of unnecessary code churn in the primary codebases using this ruleset. --- PHPCSDev/ruleset.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PHPCSDev/ruleset.xml b/PHPCSDev/ruleset.xml index 60725e5..543d8d3 100644 --- a/PHPCSDev/ruleset.xml +++ b/PHPCSDev/ruleset.xml @@ -49,6 +49,9 @@ most external standards, adding constant visibility is not (yet) an option. --> + + +