-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathphpcs.xml.dist
More file actions
26 lines (21 loc) · 964 Bytes
/
phpcs.xml.dist
File metadata and controls
26 lines (21 loc) · 964 Bytes
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
<?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="cache" value="cache/phpcs.cache"/>
<file>src/</file>
<file>tests/</file>
<exclude-pattern>tests/*/data/*</exclude-pattern>
<config name="php_version" value="70400"/>
<config name="installed_paths" value="vendor/slevomat/coding-standard,vendor/shipmonk/coding-standard"/>
<rule ref="ShipMonkCodingStandard">
<exclude name="SlevomatCodingStandard.Commenting.ForbiddenAnnotations.AnnotationForbidden"/><!-- It removes @dataProvider, but PHPUnit 9 does not yet have #[DataProvider] -->
</rule>
<rule ref="SlevomatCodingStandard.Functions.DisallowTrailingCommaInDeclaration">
<properties>
<property name="onlySingleLine" value="false"/>
</properties>
</rule>
</ruleset>