From 3dbfc06512061c85dd7824fef88c3c3d791520f2 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 23 Sep 2023 11:05:18 +0000 Subject: [PATCH] Coding Standards: Remove unnecessary directives in the PHPCompatibility ruleset. This commit: * Removes the unnecessary exclusion patterns for the `node_modules` and `vendor` directories. As this ruleset only scans the `src` directory, those directories would never be scanned anyway. * Removes the selective excludes related to the random_compat package. This package was removed in WP 6.3, so these excludes are no longer necessary. Follow-up to [46290], [56141]. Props jrf. See #58831. git-svn-id: https://develop.svn.wordpress.org/trunk@56667 602fd350-edb4-49c9-b593-d223f7449a82 --- phpcompat.xml.dist | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/phpcompat.xml.dist b/phpcompat.xml.dist index e5b5f62e6a..79c7530f5f 100644 --- a/phpcompat.xml.dist +++ b/phpcompat.xml.dist @@ -40,15 +40,6 @@ ./src/ - - /node_modules/* - - - /vendor/* - /src/wp-content/mu-plugins/* @@ -92,21 +83,4 @@ /sodium_compat/src/Compat\.php$ - - - /random_compat/byte_safe_strings\.php$ - - - /random_compat/random_bytes_mcrypt\.php$ - - - /random_compat/random_bytes_mcrypt\.php$ - - - /random_compat/random_bytes_mcrypt\.php$ - -