-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml
26 lines (25 loc) · 1.08 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
<?xml version="1.0" encoding="UTF-8"?>
<!--
@see https://github.com/squizlabs/PHP_CodeSniffer/wiki/Advanced-Usage#using-a-default-configuration-file
@see https://raw.githubusercontent.com/squizlabs/PHP_CodeSniffer/master/phpcs.xml.dist
-->
<ruleset name="BasicSync">
<description>The coding standard for Xedi\Eloquent-Basic-Sync</description>
<file>lib</file>
<file>tests</file>
<rule ref="PSR12"></rule>
<rule ref="PSR1.Classes.ClassDeclaration.MissingNamespace">
<exclude-pattern>*/tests/Database</exclude-pattern>
</rule>
<rule ref="PSR2.Files.EndFileNewline"/>
<rule ref="Generic.Commenting">
<exclude-pattern>*/tests/*</exclude-pattern>
</rule>
<rule ref="PEAR.Commenting">
<exclude name="PEAR.Commenting.FileComment.Missing" />
<exclude name="PEAR.Commenting.ClassComment.MissingCategoryTag" />
<exclude name="PEAR.Commenting.ClassComment.MissingLicenseTag" />
<exclude name="PEAR.Commenting.ClassComment.MissingLinkTag" />
<exclude-pattern>*/tests/*</exclude-pattern>
</rule>
</ruleset>