NAME¶
Code::TidyAll::Plugin::PHPCodeSniffer - use phpcs with tidyall
VERSION¶
version 0.20
SYNOPSIS¶
In configuration:
[PHPCodeSniffer]
select = htdocs/**/*.{php,js,css}
cmd = /usr/local/pear/bin/phpcs
argv = --severity 4
DESCRIPTION¶
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.
VERSION¶
version 0.15
INSTALLATION¶
Install PEAR <
http://pear.php.net/>, then install "phpcs" from
PEAR:
pear install PHP_CodeSniffer
CONFIGURATION¶
- argv
- Arguments to pass to "phpcs"
- cmd
- Full path to "phpcs"
SEE ALSO¶
Code::TidyAll
AUTHOR¶
Jonathan Swartz <swartz@pobox.com>
COPYRIGHT AND LICENSE¶
This software is copyright (c) 2011 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.