pheature-flags/toggle-crud-psr7-api

View on GitHub
phpcs.xml.dist

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="Pheature coding standard">
    <description>Pheature coding standard</description>

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

    <!-- php compatibility checker config -->
    <rule ref="PHPCompatibility"/>
    <config name="installed_paths" value="vendor/phpcompatibility/php-compatibility" />
    <config name="testVersion" value="7.4-"/>

    <!-- inherit rules from: -->
    <rule ref="PSR12"/>
    <rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
    <rule ref="Squiz.WhiteSpace.SuperfluousWhitespace">
        <properties>
            <property name="ignoreBlankLines" value="false"/>
        </properties>
    </rule>

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