netglue/ZF2-Money-Module

View on GitHub
phpcs.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0"?>
<ruleset name="Netglue Coding Standard">
    <description>Coding Standard for Net Glue Projects based on Zend Framework Coding Standard</description>

    <!-- Paths to check -->
    <file>src</file>
    <!-- <file>test</file> -->

    <!-- display progress -->
    <arg value="p"/>
    <arg name="colors"/>

    <!-- inherit rules from: -->
    <rule ref="PSR2"/>

    <rule ref="Generic.Arrays.DisallowLongArraySyntax"/>

    <rule ref="Generic.Formatting.SpaceAfterNot"/>

    <rule ref="Squiz.WhiteSpace.OperatorSpacing">
        <properties>
            <property name="ignoreNewlines" value="true"/>
        </properties>
    </rule>

    <rule ref="Squiz.WhiteSpace.SuperfluousWhitespace">
        <properties>
            <property name="ignoreBlankLines" value="false"/>
        </properties>
    </rule>

    <!-- Ignore long lines in test cases -->
    <rule ref="Generic.Files.LineLength">
        <exclude-pattern>*/test/*</exclude-pattern>
    </rule>

</ruleset>