-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathphpcs.xml.dist
More file actions
22 lines (17 loc) · 836 Bytes
/
phpcs.xml.dist
File metadata and controls
22 lines (17 loc) · 836 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?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="80100"/>
<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.Classes.RequireAbstractOrFinal"/>
</ruleset>