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

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Thomas Goirand
  • Date: 2012-05-31 16:37:24 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20120531163724-u6aiaubu8ks5dh5z
Tags: 1.3.4-0.1
* Non-maintainer upload.
* New upstream release (Closes: #599617, #634825).
* Swtiched debian/copyright to format 1.0 (rewrite was needed anyway, as the
upstream license changed).
* Switched package to pkg-php-tools and debhelper 8 sequencer.
* Now running unit tests at build time (so depends on phpunit (>= 3.6)).
* Section is now PHP.
* Added missing Build-Depends-Indep: php-pear.
* Added missing ${misc:Depends}.
* Added Vcs fields.
* Added homepage field.
* Reviewed short and long description.
* Added dependency on php-timer.
* Standards-Version: is now 3.9.3 (lots of changes, see above...).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<ruleset name="PHP_CodeSniffer">
 
3
 <description>The coding standard for PHP_CodeSniffer itself.</description>
 
4
 <exclude-pattern>*/Tests/*</exclude-pattern>
 
5
 
 
6
 <!-- Include the whole PEAR standard -->
 
7
 <rule ref="PEAR"/>
 
8
 
 
9
 <!-- Include most of the Squiz standard -->
 
10
 <rule ref="Squiz">
 
11
  <exclude name="Squiz.Classes.ClassFileName"/>
 
12
  <exclude name="Squiz.Classes.ValidClassName"/>
 
13
  <exclude name="Squiz.Commenting.ClassComment"/>
 
14
  <exclude name="Squiz.Commenting.FileComment"/>
 
15
  <exclude name="Squiz.Commenting.FunctionComment"/>
 
16
  <exclude name="Squiz.Commenting.VariableComment"/>
 
17
  <exclude name="Squiz.ControlStructures.SwitchDeclaration"/>
 
18
  <exclude name="Squiz.Files.FileExtension"/>
 
19
  <exclude name="Squiz.NamingConventions.ConstantCase"/>
 
20
 </rule>
 
21
 
 
22
 <!-- We allow variables to be used inside double quoted strings -->
 
23
 <rule ref="Squiz.Strings.DoubleQuoteUsage.ContainsVar">
 
24
  <severity>0</severity>
 
25
 </rule>
 
26
 
 
27
</ruleset>