~ubuntu-branches/ubuntu/utopic/php-codesniffer/utopic

« back to all changes in this revision

Viewing changes to PHP_CodeSniffer-1.3.4/CodeSniffer/Standards/Zend/ruleset.xml

  • Committer: Package Import Robot
  • Author(s): Thomas Goirand
  • Date: 2013-07-12 15:16:25 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20130712151625-4autdc0twzbueha9
Tags: 1.5.0~rc2-1
* New upstream release.
* Refreshed patch.
* Standards-Version is now 3.9.4.
* Canonical VCS URLs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0"?>
2
 
<ruleset name="Zend">
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>