mirror of
https://github.com/doctrine/deprecations.git
synced 2026-03-23 22:32:15 +01:00
33 lines
1.1 KiB
XML
33 lines
1.1 KiB
XML
<?xml version="1.0"?>
|
|
<ruleset
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd"
|
|
>
|
|
<arg name="basepath" value="."/>
|
|
<arg name="extensions" value="php"/>
|
|
<arg name="parallel" value="80"/>
|
|
<arg name="cache" value=".phpcs-cache"/>
|
|
<arg name="colors"/>
|
|
|
|
<!-- Ignore warnings, show progress of the run and show sniff names -->
|
|
<arg value="nps"/>
|
|
|
|
<config name="php_version" value="70100"/>
|
|
|
|
<!-- Directories to be checked -->
|
|
<file>src</file>
|
|
<file>tests</file>
|
|
<file>test_fixtures</file>
|
|
|
|
<!-- Include full Doctrine Coding Standard -->
|
|
<rule ref="Doctrine">
|
|
<exclude name="SlevomatCodingStandard.TypeHints.PropertyTypeHint.MissingNativeTypeHint" />
|
|
|
|
</rule>
|
|
|
|
<!-- No way to work around this, we do not need how many arguments there are -->
|
|
<rule ref="SlevomatCodingStandard.PHP.OptimizedFunctionsWithoutUnpacking.UnpackingUsed">
|
|
<exclude-pattern>src/Deprecation.php</exclude-pattern>
|
|
</rule>
|
|
</ruleset>
|