logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

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

Authors

       •   Jonathan Swartz <swartz@pobox.com>

       •   Dave Rolsky <autarch@urth.org>

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.

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.

Installation

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

           pear install PHP_CodeSniffer

Name

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

Source

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

Support

       Bugs may be submitted at <https://github.com/houseabsolute/perl-code-tidyall/issues>.

Synopsis

          In configuration:

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

Version

       version 0.84

See Also