From bac22ae443418b3f35454e13c60cf70ef8d5a9ee Mon Sep 17 00:00:00 2001 From: jrfnl Date: Sun, 29 Oct 2023 18:32:16 +0100 Subject: [PATCH] PHPCS: add the `Squiz.PHP.NonExecutableCode` sniff to the ruleset ... which is used for PHPCS itself. --- phpcs.xml.dist | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/phpcs.xml.dist b/phpcs.xml.dist index 3c54610094..994f3fe9b9 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -142,6 +142,11 @@ error + + + error + + tests/bootstrap\.php