[Fusionforge-commits] r14671 - trunk/tests

Alain Peyrat aljeux at fusionforge.org
Tue Oct 18 14:53:01 CEST 2011


Author: aljeux
Date: 2011-10-18 14:53:00 +0200 (Tue, 18 Oct 2011)
New Revision: 14671

Added:
   trunk/tests/ruleset.xml
Log:
Adding a very simple phpcs ruleset file. 

Example:
phpcs --standard=tests/ --encoding=utf-8 <file|dir>

Added: trunk/tests/ruleset.xml
===================================================================
--- trunk/tests/ruleset.xml	                        (rev 0)
+++ trunk/tests/ruleset.xml	2011-10-18 12:53:00 UTC (rev 14671)
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<ruleset name="FusionForge">
+ <description>Initial phpcs coding standard.</description>
+
+ <!-- Include some sniffs from all around the place -->
+ <rule ref="Generic.PHP.DisallowShortOpenTag"/>
+ <rule ref="Generic.PHP.DeprecatedFunctions"/>
+
+ <!-- Use Unix newlines -->
+ <rule ref="Generic.Files.LineEndings">
+  <properties>
+   <property name="eolChar" value="\n"/>
+  </properties>
+ </rule>
+
+</ruleset>




More information about the Fusionforge-commits mailing list