-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpcs.xml.dist
27 lines (21 loc) · 1003 Bytes
/
phpcs.xml.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0" encoding="UTF-8"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd">
<arg name="basepath" value="."/>
<arg name="cache" value=".phpcs-cache"/>
<arg name="colors"/>
<arg name="extensions" value="php"/>
<config name="testVersion" value="8.1-" />
<rule ref="PSR12"/>
<rule ref="PHPCompatibility"/>
<file>src/</file>
<file>tests/</file>
<exclude-pattern>tests/Fixtures/</exclude-pattern>
<!-- Scan the enum files when PHP_CodeSniffer 3.7 is released with enum syntax support -->
<exclude-pattern>src/Doctrine/Migration/MigrationStatus.php</exclude-pattern>
<exclude-pattern>src/Doctrine/Task/TaskType.php</exclude-pattern>
<exclude-pattern>src/Doctrine/ComponentStatus.php</exclude-pattern>
<rule ref="PSR1.Classes.ClassDeclaration.MultipleClasses">
<exclude-pattern>tests/*</exclude-pattern>
</rule>
</ruleset>