forked from baopham/laravel-dynamodb
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml
More file actions
17 lines (17 loc) · 652 Bytes
/
phpcs.xml
File metadata and controls
17 lines (17 loc) · 652 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?xml version="1.0"?>
<ruleset name="PHP_CodeSniffer">
<rule ref="VariableAnalysis"/>
<rule ref="PSR2"/>
<rule ref="SlevomatCodingStandard.Classes.UnusedPrivateElements"/>
<rule ref="SlevomatCodingStandard.Namespaces.UnusedUses"/>
<rule ref="Generic.PHP.ForbiddenFunctions">
<properties>
<property name="forbiddenFunctions" type="array">
<element key="print" value="null"/>
<element key="print_r" value="null"/>
<element key="echo" value="null"/>
</property>
</properties>
</rule>
<exclude-pattern>vendor/*</exclude-pattern>
</ruleset>