1<?xml version="1.0"?>
2<ruleset>
3    <arg name="basepath" value="."/>
4    <arg name="extensions" value="php"/>
5    <arg name="parallel" value="80"/>
6    <arg name="cache" value=".phpcs-cache"/>
7    <arg name="colors"/>
8
9    <!-- Ignore warnings, show progress of the run and show sniff names -->
10    <arg value="nps"/>
11
12    <file>src</file>
13    <file>tests</file>
14
15    <rule ref="Doctrine">
16        <exclude name="SlevomatCodingStandard.TypeHints.DeclareStrictTypes"/>
17        <exclude name="SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingParameterTypeHint"/>
18        <exclude name="SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingReturnTypeHint"/>
19        <exclude name="SlevomatCodingStandard.Exceptions.ReferenceThrowableOnly.ReferencedGeneralException"/>
20    </rule>
21
22    <rule ref="SlevomatCodingStandard.Classes.SuperfluousAbstractClassNaming">
23        <exclude-pattern>tests/DoctrineTest/InstantiatorTestAsset/AbstractClassAsset.php</exclude-pattern>
24    </rule>
25
26    <rule ref="SlevomatCodingStandard.Classes.SuperfluousExceptionNaming">
27        <exclude-pattern>src/Doctrine/Instantiator/Exception/UnexpectedValueException.php</exclude-pattern>
28        <exclude-pattern>src/Doctrine/Instantiator/Exception/InvalidArgumentException.php</exclude-pattern>
29    </rule>
30
31    <rule ref="SlevomatCodingStandard.Classes.SuperfluousInterfaceNaming">
32        <exclude-pattern>src/Doctrine/Instantiator/Exception/ExceptionInterface.php</exclude-pattern>
33        <exclude-pattern>src/Doctrine/Instantiator/InstantiatorInterface.php</exclude-pattern>
34    </rule>
35</ruleset>
36