forked from thangman22/google-cloud-vision-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpcs.xml
executable file
·33 lines (30 loc) · 1.47 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
<?xml version="1.0"?>
<ruleset>
<!--
About this file:
https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml
-->
<file>./</file>
<exclude-pattern>./vendor/*</exclude-pattern>
<!-- <rule ref="Squiz">
<exclude name="Squiz.Strings.DoubleQuoteUsage.NotRequired" />
<exclude name="Squiz.PHP.DiscouragedFunctions.Discouraged" />
<exclude name="Squiz.Commenting.ClosingDeclarationComment.Missing" />
<exclude name="Squiz.Commenting.FileComment.MissingPackageTag" />
<exclude name="Squiz.WhiteSpace.FunctionClosingBraceSpace.SpacingBeforeClose" />
<exclude name="Squiz.WhiteSpace.FunctionSpacing.After" />
<exclude name="Generic.Files.LineLength.TooLong" />
<exclude name="Generic.Commenting.DocComment.TagValueIndent" />
<exclude name="Generic.Formatting.MultipleStatementAlignment.NotSame" />
<exclude name="Squiz.WhiteSpace.FunctionSpacing.Before" />
<exclude name="Squiz.Files.FileExtension.ClassFound" />
<exclude name="Squiz.Commenting.FunctionComment.ScalarTypeHintMissing" />
<exclude name="Squiz.Commenting.FunctionComment.SpacingAfterParamName" />
<exclude name="Squiz.Strings.DoubleQuoteUsage.ContainsVar" />
</rule>-->
<rule ref="PSR2" />
<rule ref="Squiz.Strings.ConcatenationSpacing" />
<!-- <rule ref="PSR1.Files.SideEffects.FoundWithSymbols">
<exclude-pattern>./index.php</exclude-pattern>
</rule>-->
</ruleset>