-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathphpcs.xml
More file actions
26 lines (22 loc) · 916 Bytes
/
phpcs.xml
File metadata and controls
26 lines (22 loc) · 916 Bytes
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"?>
<ruleset name="Typecho Plugin Restful coding standard">
<!-- display progress -->
<arg value="p"/>
<!-- use colors in output -->
<arg name="colors"/>
<!-- inherit rules from: -->
<rule ref="PSR2">
<exclude name="Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore"/>
<exclude name="Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace"/>
<exclude name="PSR1.Files.SideEffects.FoundWithSymbols"/>
<exclude name="PSR1.Classes.ClassDeclaration.MissingNamespace"/>
<exclude name="Squiz.Classes.ValidClassName.NotCamelCaps"/>
<exclude name="Generic.Files.LineLength.TooLong"/>
</rule>
<rule ref="Generic.Arrays.DisallowShortArraySyntax"/>
<!-- Paths to check -->
<file>Plugin.php</file>
<file>Action.php</file>
<file>tests</file>
<exclude-pattern>tests/tmp/*</exclude-pattern>
</ruleset>