mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-19 00:02:10 +00:00
33 lines
1.5 KiB
XML
33 lines
1.5 KiB
XML
<?xml version="1.0"?>
|
|
<ruleset name="PSR12Modified">
|
|
<!-- 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 PSR12 ruleset with some exclusions. -->
|
|
<rule ref="PSR12">
|
|
<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" />
|
|
|
|
<!-- TODO: Remove the following exclusion when support for PHP 7.0 is dropped. As of PHP 7.1 visibility modifiers are allowed for class constants. -->
|
|
<exclude name="PSR12.Properties.ConstantVisibility.NotFound" />
|
|
</rule>
|
|
|
|
<!-- Prohibit long lines in php files. -->
|
|
<rule ref="Generic.Files.LineLength">
|
|
<properties>
|
|
<property name="absoluteLineLimit" value="120"/>
|
|
</properties>
|
|
</rule>
|
|
|
|
<!-- Disable "No PHP code was found in this file" for symlinks. -->
|
|
<rule ref="Internal.NoCodeFound">
|
|
<severity>0</severity>
|
|
</rule>
|
|
</ruleset>
|