-
Notifications
You must be signed in to change notification settings - Fork 643
/
phpcs.xml
25 lines (22 loc) · 916 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
<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
name="PHP_CodeSniffer"
xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd">
<description>The coding standard for line-bot-sdk-php.</description>
<file>src/constants</file>
<file>src/laravel</file>
<file>src/parser</file>
<file>examples/EchoBot/src</file>
<file>examples/EchoBot/public</file>
<file>examples/KitchenSink/src</file>
<file>examples/KitchenSink/public</file>
<arg name="basepath" value="."/>
<arg name="colors"/>
<arg name="parallel" value="75"/>
<arg value="np"/>
<!-- Use PSR-12 Standard: https://www.php-fig.org/psr/psr-12/ -->
<rule ref="PSR12">
<!-- TODO: Enable this rule once we require PHP version >= 7.1 -->
<exclude name="PSR12.Properties.ConstantVisibility.NotFound"/>
</rule>
</ruleset>