Qual: Add phpcheckstyle

This commit is contained in:
Laurent Destailleur 2010-07-21 21:57:23 +00:00
parent 1a971f3033
commit c58c4a8fb8

View File

@ -53,14 +53,13 @@
<test name="noShellComments"/> <test name="noShellComments"/>
<!-- Tests that every function and class is immediately preceded by a docblock. A property "excludePrivateMembers" can be set if you want to disable docblocks for private member functions. --> <!-- Tests that every function and class is immediately preceded by a docblock. A property "excludePrivateMembers" can be set if you want to disable docblocks for private member functions. -->
<!--
<test name="docBlocks"> <test name="docBlocks">
<property name="excludePrivateMembers" value="true"/> <property name="excludePrivateMembers" value="true"/>
<property name="testReturn" value="true"/> <property name="testReturn" value="true"/>
<property name="testParam" value="true"/> <property name="testParam" value="true"/>
<property name="testThrow" value="true"/> <property name="testThrow" value="true"/>
</test> </test>
-->
<!-- **************** --> <!-- **************** -->
<!-- Indentation --> <!-- Indentation -->
@ -106,7 +105,9 @@
are followed by a space before the opening parenthesis. are followed by a space before the opening parenthesis.
PEAR standard stipulates this to distinguish it from function calls. PEAR standard stipulates this to distinguish it from function calls.
--> -->
<test name="spaceAfterControlStmt"/> <!--
<test name="spaceAfterControlStmt"/>
-->
<!-- Check that there is no space after a function name in a function call --> <!-- Check that there is no space after a function name in a function call -->
<!-- <test name="noSpaceAfterFunctionName" level="INFO"></test> --> <!-- <test name="noSpaceAfterFunctionName" level="INFO"></test> -->
@ -252,8 +253,10 @@
</test> </test>
<!-- Check for braces around code blocs (if, else, elseif, do, while, for, foreach) --> <!-- Check for braces around code blocs (if, else, elseif, do, while, for, foreach) -->
<!--
<test name="needBraces"> <test name="needBraces">
</test> </test>
-->
<!-- Switch need a default value --> <!-- Switch need a default value -->
<test name="switchNeedDefault"> <test name="switchNeedDefault">