Code::TidyAll::Plugin::PHPCodeSniffer(3pm)

Code::TidyAll::Plugin::PHPCodeSniffer3pm

Use phpcs with tidyall

Usage

   In configuration:
   [PHPCodeSniffer]
   select = htdocs/**/*.{php,js,css}
   cmd = /usr/local/pear/bin/phpcs
   argv = --severity 4

Version

version 0.84

Overview

Runs phpcs <http://pear.php.net/package/PHP_CodeSniffer> which analyzes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.

Installation

Install PEAR <http://pear.php.net/>, then install "phpcs" from PEAR:

    pear install PHP_CodeSniffer

Configuration

This plugin accepts the following configuration options:

argv

Arguments to pass to "phpcs".

cmd

The path for the "phpcs" command. By default this is just "phpcs", meaning that the user's "PATH" will be searched for the command.

Support

Bugs may be submitted at <https://github.com/houseabsolute/perl-code-tidyall/issues>.

Source

The source code repository for Code-TidyAll can be found at <https://github.com/houseabsolute/perl-code-tidyall>.

Releases

6 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

Authors

•

Jonathan Swartz <[email protected]>

•

Dave Rolsky <[email protected]>

From libcode-tidyall-perl 0.84~ds-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.