-
Notifications
You must be signed in to change notification settings - Fork 3
/
phpcs.xml
34 lines (28 loc) · 1.04 KB
/
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
29
30
31
32
33
34
<?xml version="1.0" encoding="UTF-8"?>
<ruleset
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/squizlabs/PHP_CodeSniffer/3.5.4/phpcs.xsd"
name="FINDOLOGIC"
>
<file>src</file>
<file>tests</file>
<exclude-pattern>*/tests/build/*</exclude-pattern>
<exclude-pattern>*/tests/autoload.php</exclude-pattern>
<exclude-pattern>*.(json|js|ts|scss|vue)</exclude-pattern>
<arg name="colors"/>
<arg value="p"/>
<arg name="report-full"/>
<!--
You can hard-code custom php.ini settings into your custom standard.
The following tag sets the memory limit to 128M.
-->
<ini name="memory_limit" value="128M"/>
<!--
Include all sniffs in the PSR2 standard. Note that the
path to the standard does not have to be specified as the
PSR2 standard exists inside the PHP_CodeSniffer install
directory.
-->
<rule ref="PSR2"/>
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
</ruleset>