surda/phpcs-reporter

PHP Codesniffer output with phpstorm editor url

v1.0.0 2024-06-14 12:18 UTC

This package is auto-updated.

Last update: 2024-10-14 13:33:02 UTC


README

Prints additional PhpStorm editor url in PHPCS cli output.

Installation

composer require --dev surda/phpcs-reporter

Command line usage:

specify this report on the command line:

php vendor/bin/phpcs --report='Surda\PHPCSReport\PhpStormReport'

PHPCS xml configuration

<?xml version="1.0" encoding="UTF-8"?>
<ruleset>
    <arg name="report" value="Surda\PHPCSReport\PhpStormReport" />
    ...