View on
MetaCPAN
Dave Rolsky > Code-TidyAll > Code::TidyAll::Plugin::PHPCodeSniffer

Download:
Code-TidyAll-0.69.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.69   Source  

NAME ^

Code::TidyAll::Plugin::PHPCodeSniffer - Use phpcs with tidyall

VERSION ^

version 0.69

SYNOPSIS ^

   In configuration:

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

DESCRIPTION ^

Runs phpcs which analyzes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.

INSTALLATION ^

Install PEAR, 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.

I am also usually active on IRC as 'autarch' on irc://irc.perl.org.

SOURCE ^

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

AUTHORS ^

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2011 - 2017 by Jonathan Swartz.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

The full text of the license can be found in the LICENSE file included with this distribution.

syntax highlighting: