travi/php-framework

View on GitHub
build/codingStandard.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0"?>
<ruleset name="Travi Standard">
    <description>Travi's Coding Standard</description>
    <rule ref="PEAR">
        <exclude name="PEAR.Commenting.ClassComment"/>
        <exclude name="PEAR.Commenting.FileComment"/>
        <exclude name="PEAR.Commenting.FunctionComment"/>
        <exclude name="PEAR.NamingConventions.ValidFunctionName.PrivateNoUnderscore"/>
        <exclude name="PEAR.NamingConventions.ValidVariableName.PrivateNoUnderscore"/>
        <!--in here because of problems with switch statements-->
        <exclude name="PEAR.WhiteSpace.ScopeClosingBrace.Indent"/>
    </rule>
    <rule ref="Generic.Files.LineLength">
        <properties>
            <property name="lineLimit" value="110"/>
            <property name="absoluteLineLimit" value="120"/>
        </properties>
    </rule>
    <rule ref="Generic.WhiteSpace.DisallowTabIndent"/>
    <rule ref="Generic.CodeAnalysis">
        <exclude name="Generic.CodeAnalysis.UnusedFunctionParameter"/>
    </rule>
    <rule ref="Generic.Commenting"/>
    <rule ref="Generic.Formatting">
        <exclude name="Generic.Formatting.NoSpaceAfterCast"/>
    </rule>
    <!--<rule ref="PSR1"/>-->
</ruleset>