An open API service indexing awesome lists of open source software.

https://github.com/wickedone/phpcs-reporter

PHP CodeSniffer report which adds a PhpStorm editor url to your violations
https://github.com/wickedone/phpcs-reporter

phpcs phpstorm testing

Last synced: 4 months ago
JSON representation

PHP CodeSniffer report which adds a PhpStorm editor url to your violations

Awesome Lists containing this project

README

          

# PHP CodeSniffer PhpStorm reporter

prints additional PhpStorm editor url in PHPCS cli output.

[![Latest Stable Version](http://poser.pugx.org/wickedone/phpcs-reporter/v)](https://packagist.org/packages/wickedone/phpcs-reporter)
[![Total Downloads](http://poser.pugx.org/wickedone/phpcs-reporter/downloads)](https://packagist.org/packages/wickedone/phpcs-reporter)
[![License](http://poser.pugx.org/wickedone/phpcs-reporter/license)](https://packagist.org/packages/wickedone/phpcs-reporter)
[![PHP Version Require](http://poser.pugx.org/wickedone/phpcs-reporter/require/php)](https://packagist.org/packages/wickedone/phpcs-reporter)

## installation
```bash
$ composer require --dev wickedone/phpcs-reporter
```

### command line usage:
specify this report on the command line:

```bash
$ php vendor/bin/phpcs --report='WickedOne\PHPCSReport\PhpStormReport'
```

### phpcs xml configuration
specify this report in your ``phpcs.xml.dist``:
```xml


...

```

> **NOTE**: if one file has multiple violations, the editor link will direct you to the file itself rather than the correct line.
> use ctrl + l to jump to the correct line in these situations.