comparison vendor/squizlabs/php_codesniffer/src/Standards/Zend/ruleset.xml @ 4:a9cd425dd02b

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:11:55 +0000
parents
children
comparison
equal deleted inserted replaced
3:307d7a7fd348 4:a9cd425dd02b
1 <?xml version="1.0"?>
2 <ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Zend" xsi:noNamespaceSchemaLocation="../../../phpcs.xsd">
3 <description>A coding standard based on an early Zend Framework coding standard. Note that this standard is out of date.</description>
4
5 <!-- Include some sniffs from all around the place -->
6 <rule ref="Generic.Functions.FunctionCallArgumentSpacing"/>
7 <rule ref="Generic.Functions.OpeningFunctionBraceBsdAllman"/>
8 <rule ref="Generic.PHP.DisallowShortOpenTag"/>
9 <rule ref="Generic.WhiteSpace.DisallowTabIndent"/>
10 <rule ref="PEAR.Classes.ClassDeclaration"/>
11 <rule ref="PEAR.ControlStructures.ControlSignature"/>
12 <rule ref="PEAR.Functions.FunctionCallSignature"/>
13 <rule ref="PEAR.Functions.ValidDefaultValue"/>
14 <rule ref="PEAR.WhiteSpace.ScopeClosingBrace"/>
15 <rule ref="Squiz.Functions.GlobalFunction"/>
16
17 <!-- Lines can be 80 chars long, show errors at 120 chars -->
18 <rule ref="Generic.Files.LineLength">
19 <properties>
20 <property name="lineLimit" value="80"/>
21 <property name="absoluteLineLimit" value="120"/>
22 </properties>
23 </rule>
24
25 <!-- Use Unix newlines -->
26 <rule ref="Generic.Files.LineEndings">
27 <properties>
28 <property name="eolChar" value="\n"/>
29 </properties>
30 </rule>
31
32 </ruleset>