Code::TidyAll::Plugin::PHPCodeSniffer - use phpcs with tidyall
version 0.20
In configuration: [PHPCodeSniffer] select = htdocs/**/*.{php,js,css} cmd = /usr/local/pear/bin/phpcs argv = --severity 4
Runs phpcs which analyzes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.
version 0.15
Install PEAR, then install phpcs from PEAR:
phpcs
pear install PHP_CodeSniffer
Arguments to pass to phpcs
Full path to phpcs
Code::TidyAll
Jonathan Swartz <swartz@pobox.com>
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.
To install Code::TidyAll, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Code::TidyAll
CPAN shell
perl -MCPAN -e shell install Code::TidyAll
For more information on module installation, please visit the detailed CPAN module installation guide.