/phpcs-reporter-codeclimate

CodeClimate reporter for the PHP CodeSniffer

Primary LanguagePHPMIT LicenseMIT

phpcs-reporter-codeclimate

CodeClimate reporter for the PHP CodeSniffer

Usage example

.phpcs.xml

<?xml version="1.0"?>
<ruleset namespace="PHP_CodeSniffer\Reports">
    <arg name="report" value="codeclimate"/>
    <autoload>vendor/autoload.php</autoload>
</ruleset>

Command-line interface

phpcs \
    --bootstrap=vendor/autoload.php \
    --report="codeclimate"