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 @@ <!-- For now, only the files in src are scanned. --> <file>./src/</file> - <!-- Code which doesn't go into production may have different requirements. --> - <exclude-pattern>/node_modules/*</exclude-pattern> - - <!-- - Currently, there are no dependencies managed by Composer. - This will need to be modified when that changes to ensure external packages meet compatibility requirements. - --> - <exclude-pattern>/vendor/*</exclude-pattern> - <!-- Exclude Must-Use plugins. --> <exclude-pattern>/src/wp-content/mu-plugins/*</exclude-pattern> @@ -92,21 +83,4 @@ <exclude-pattern>/sodium_compat/src/Compat\.php$</exclude-pattern> </rule> - <!-- - PHPCompatibilityParagonieRandomCompat prevents false positives in `random_compat`. - However, because these files are included in a non-standard path, false positives are triggered in WordPress Core. - --> - <rule ref="PHPCompatibility.IniDirectives.RemovedIniDirectives.mbstring_func_overloadDeprecated"> - <exclude-pattern>/random_compat/byte_safe_strings\.php$</exclude-pattern> - </rule> - <rule ref="PHPCompatibility.Constants.RemovedConstants.mcrypt_dev_urandomDeprecatedRemoved"> - <exclude-pattern>/random_compat/random_bytes_mcrypt\.php$</exclude-pattern> - </rule> - <rule ref="PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved"> - <exclude-pattern>/random_compat/random_bytes_mcrypt\.php$</exclude-pattern> - </rule> - <rule ref="PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_create_ivDeprecatedRemoved"> - <exclude-pattern>/random_compat/random_bytes_mcrypt\.php$</exclude-pattern> - </rule> - </ruleset>