-
Notifications
You must be signed in to change notification settings - Fork 3
/
phpcs.xml
28 lines (24 loc) · 926 Bytes
/
phpcs.xml
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
28
<?xml version="1.0"?>
<ruleset name="BC Security">
<description>BC Security Coding Standards</description>
<!-- Scan these files -->
<file>classes</file>
<file>tests/integration/src</file>
<file>tests/unit/src</file>
<file>autoload.php</file>
<file>bc-security.php</file>
<file>uninstall.php</file>
<!-- Use PSR-12 -->
<rule ref="PSR12">
<!-- Disable PSR-12 line length warnings -->
<exclude name="Generic.Files.LineLength"/>
</rule>
<!-- Use selected rules from Slevomat Coding Standard -->
<rule ref="SlevomatCodingStandard.Arrays.TrailingArrayComma" />
<rule ref="SlevomatCodingStandard.TypeHints.DeclareStrictTypes">
<properties>
<property name="spacesCountAroundEqualsSign" value="0"></property>
</properties>
</rule>
<rule ref="SlevomatCodingStandard.TypeHints.NullableTypeForNullDefaultValue" />
</ruleset>