Automattic/php-push

View on GitHub
.phpcs.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="PHP_CodeSniffer" xsi:noNamespaceSchemaLocation="phpcs.xsd">
    <file>src</file>
    <file>tests</file>
    <file>examples</file>
    <file>index.php</file>

    <rule ref="WordPress"/>

    <!-- Manually Enable These Rules -->
    <rule ref="Squiz.Scope.MethodScope.Missing" />

    <!-- Manually Disable These Rules -->
    <rule ref="Squiz.Commenting">
        <severity>0</severity>
    </rule>
    <rule ref="Generic.Commenting.DocComment.MissingShort">
        <!-- TODO: Remove this one once we have comments for everything -->
        <severity>0</severity>
    </rule>    
    <rule ref="Generic.Arrays.DisallowShortArraySyntax.Found">
      <severity>0</severity>
    </rule> -->
    <rule ref="WordPress.Files.FileName">
        <severity>0</severity>
    </rule>

</ruleset>