forked from Moln/php-mysql-replication
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml.dist
59 lines (53 loc) · 2.54 KB
/
phpcs.xml.dist
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?xml version="1.0"?>
<ruleset name="Coding Standard">
<!-- Paths to check -->
<file>src</file>
<file>tests</file>
<!-- display progress -->
<arg value="p"/>
<arg name="no-colors"/>
<!-- inherit rules from: -->
<rule ref="PSR2"/>
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
<rule ref="Generic.Formatting.SpaceAfterNot"/>
<rule ref="Squiz.WhiteSpace.OperatorSpacing">
<properties>
<property name="ignoreNewlines" value="true"/>
</properties>
</rule>
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace">
<properties>
<property name="ignoreBlankLines" value="false"/>
</properties>
</rule>
<rule ref="Squiz.NamingConventions.ValidVariableName">
<exclude name="Squiz.NamingConventions.ValidVariableName.PrivateNoUnderscore"/>
</rule>
<rule ref="Squiz.Strings.ConcatenationSpacing" >
<properties>
<property name="spacing" value="1" />
<property name="ignoreNewlines" value="true" />
</properties>
</rule>
<rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing" />
<config name="installed_paths" value="vendor/slevomat/coding-standard/SlevomatCodingStandard"/>
<rule ref="Generic.Files.LineLength">
<exclude name="Generic.Files.LineLength.TooLong"/>
</rule>
<!-- <rule ref="SlevomatCodingStandard.TypeHints.DeclareStrictTypes" />-->
<!-- <rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing" />-->
<!-- <rule ref="SlevomatCodingStandard.TypeHints.NullableTypeForNullDefaultValue" />-->
<!-- <rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHintSpacing" />-->
<!-- <rule ref="SlevomatCodingStandard.TypeHints.PropertyTypeHintSpacing" />-->
<!-- <rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHint" >-->
<!-- <exclude name="SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingTraversableTypeHintSpecification" />-->
<!-- </rule>-->
<!-- <rule ref="SlevomatCodingStandard.TypeHints.UselessConstantTypeHint" />-->
<!-- <rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHint">-->
<!-- <exclude name="SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingTraversableTypeHintSpecification" />-->
<!-- </rule>-->
<!-- <rule ref="SlevomatCodingStandard.TypeHints.PropertyTypeHint" >-->
<!-- <exclude name="SlevomatCodingStandard.TypeHints.PropertyTypeHint.MissingTraversableTypeHintSpecification" />-->
<!-- </rule>-->
<!-- <rule ref="SlevomatCodingStandard.Namespaces.UnusedUses" />-->
</ruleset>