Files
php-curl-class/tests/ruleset.xml
T
2023-05-23 20:35:36 -07:00

23 lines
1.0 KiB
XML

<?xml version="1.0"?>
<ruleset name="PSR2Modified">
<!-- Run against the PHPCompatibility ruleset. -->
<rule ref="PHPCompatibility">
<!-- TODO: Remove the following exclusion when this list() error is no longer incorrectly flagged. -->
<exclude name="PHPCompatibility.Lists.AssignmentOrder.Affected" />
</rule>
<config name="installed_paths" value="vendor/phpcompatibility/php-compatibility,vendor/phpcsstandards/phpcsutils/PHPCS23Utils" />
<!-- Run against the PSR2 ruleset with some exclusions. -->
<rule ref="PSR2">
<exclude name="Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma" />
<!-- TODO: Remove the following exclusion when ArrayUtil functions not in camel caps format like ArrayUtil::is_array_assoc() are removed. -->
<exclude name="PSR1.Methods.CamelCapsMethodName.NotCamelCaps" />
</rule>
<!-- Disable "No PHP code was found in this file" for symlinks. -->
<rule ref="Internal.NoCodeFound">
<severity>0</severity>
</rule>
</ruleset>