From 2a1aba808957d9debc6eef84de0e0a58318d9767 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Sun, 8 Aug 2021 15:47:52 +0200 Subject: [PATCH] PHPCS ruleset: update ruleset for upstream changes * Fix the name and description to prevent confusion between the project ruleset and the organisation ruleset. * Set the minimum PHP version for the PHPCompatibility standard. * Don't require property type declarations. * Ensure special characters used as literals in an exclude pattern are escaped. --- phpcs.xml.dist | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/phpcs.xml.dist b/phpcs.xml.dist index cd3339e..194b030 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -1,22 +1,29 @@ - - The coding standard for phpDocumentor. + + The coding standard for this library. src tests/unit - */tests/unit/Types/ContextFactoryTest.php + */tests/unit/Types/ContextFactoryTest\.php */tests/unit/Assets/* + + + + + + - */src/*/Abstract*.php + */src/*/Abstract*\.php - */src/DocBlock/Tags/InvalidTag.php + */src/DocBlock/Tags/InvalidTag\.php