forked from SebastienElet/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.phpcs.xml
21 lines (18 loc) · 903 Bytes
/
.phpcs.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0"?>
<ruleset name="MyStandard">
<description>The PHP Coding Standard description you want.</description>
<rule ref="Generic.ControlStructures.InlineControlStructure"/>
<rule ref="Generic.Formatting.SpaceAfterCast"/>
<!-- Import Zend coding standard (which in turn imports PEAR) -->
<rule ref="Zend">
<!-- but exclude their code analyzer -->
<exclude name="Zend.Debug.CodeAnalyzer"/>
<!-- covered by Squiz ControlSignature, which enforces try/catch as well -->
<exclude name="PEAR.ControlStructures.ControlSignature"/>
<exclude name="PEAR.Commenting.FunctionComment.SpacingBeforeTags"/>
<exclude name="PEAR.Functions.FunctionCallSignature.SpaceAfterCloseBracket" />
<exclude name="Zend.NamingConventions.ValidVariableName.NotCamelCaps" />
<!-- do not check line length -->
<exclude name="Generic.Files.LineLength"/>
</rule>
</ruleset>