-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpcs.xml
More file actions
19 lines (17 loc) · 720 Bytes
/
phpcs.xml
File metadata and controls
19 lines (17 loc) · 720 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?xml version="1.0"?>
<ruleset name="TypeValidator">
<rule ref="./vendor/forrest79/phpcs/Forrest79CodingStandard/ruleset.xml">
<exclude name="SlevomatCodingStandard.Classes.RequireAbstractOrFinal.ClassNeitherAbstractNorFinal"/>
</rule>
<rule ref="SlevomatCodingStandard.Files.TypeNameMatchesFileName">
<properties>
<property name="rootNamespaces" type="array">
<element key="src" value="Forrest79"/>
<element key="tests" value="Forrest79\TypeValidator\Tests"/>
</property>
</properties>
</rule>
<rule ref="SlevomatCodingStandard.Files.TypeNameMatchesFileName.NoMatchBetweenTypeNameAndFileName">
<exclude-pattern>tests/RuntimeTest.php</exclude-pattern>
</rule>
</ruleset>