source: branches/version-2_13-dev/tests/ruleset.xml @ 23276

Revision 23276, 1.2 KB checked in by kimoto, 8 years ago (diff)

ref #150 jenkinsサーバーにPSR2が入っていないようなのでr23273を取り消し

RevLine 
[22128]1<?xml version="1.0"?>
[23276]2<ruleset name="Sample">
3 <description>A sample coding standard</description>
[22128]4
[23276]5 <!-- Include all sniffs in the PEAR standard -->
6 <rule ref="Zend">
7   <exclude name="Generic.Functions.OpeningFunctionBraceBsdAllman.BraceOnSameLine"/>
8   <exclude name="Zend.NamingConventions.ValidVariableName.NotCamelCaps"/>
9   <exclude name="PEAR.Classes.ClassDeclaration.OpenBraceNewLine"/>
[22128]10 </rule>
11
[23276]12 <!-- Include some specific sniffs -->
13 <rule ref="Generic.ControlStructures.InlineControlStructure"/>
14 <rule ref="Generic.Functions.FunctionCallArgumentSpacing"/>
[22128]15
[23276]16 <!-- Change the settings of the Line Length sniff -->
[22128]17 <rule ref="Generic.Files.LineLength">
18  <properties>
[23273]19   <property name="lineLimit" value="120"/>
20   <property name="absoluteLineLimit" value="0"/>
[22128]21  </properties>
22 </rule>
23
[23276]24  <!-- Change both Line Length messages -->
25 <rule ref="Generic.Files.LineLength.MaxExceeded">
26  <message>Line longer than the max of %s; has %s chars</message>
[22128]27 </rule>
[23276]28 <rule ref="Generic.Files.LineLength.TooLong">
29  <message>Line longer than %s chars; has %s chars</message>
[22128]30 </rule>
31
[23276]32 <!-- Disable internal message for missing code and short open tags -->
33 <rule ref="Internal.NoCodeFound">
[22128]34  <severity>0</severity>
35 </rule>
[23276]36</ruleset>
Note: See TracBrowser for help on using the repository browser.