Ubuntu Manpages

Code::TidyAll::Plugin::PHPCodeSniffer

Use phpcs with tidyall

version 0.32

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

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.

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

    pear install PHP_CodeSniffer

Arguments to pass to "phpcs"
Full path to "phpcs"

Code::TidyAll

  • Jonathan Swartz <swartz@pobox.com>
  • Dave Rolsky <autarch@urth.org>

This software is copyright (c) 2011 - 2015 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.