Code::TidyAll::Plugin::PHPCodeSniffer - Use phpcs with tidyall
version 0.84
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.
Install PEAR, then install phpcs from PEAR:
phpcs
pear install PHP_CodeSniffer
This plugin accepts the following configuration options:
Arguments to pass to phpcs.
The path for the phpcs command. By default this is just phpcs, meaning that the user's PATH will be searched for the command.
PATH
Bugs may be submitted at https://github.com/houseabsolute/perl-code-tidyall/issues.
The source code repository for Code-TidyAll can be found at https://github.com/houseabsolute/perl-code-tidyall.
Jonathan Swartz <swartz@pobox.com>
Dave Rolsky <autarch@urth.org>
This software is copyright (c) 2011 - 2023 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.
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.