1Code::TidyAll::Plugin::UPsHePrCoCdoenStnriifbfuetre(d3C)Poedrel::DToicduymAelnlt:a:tPiloungin::PHPCodeSniffer(3)
2
3
4
6 Code::TidyAll::Plugin::PHPCodeSniffer - Use phpcs with tidyall
7
9 version 0.78
10
12 In configuration:
13
14 [PHPCodeSniffer]
15 select = htdocs/**/*.{php,js,css}
16 cmd = /usr/local/pear/bin/phpcs
17 argv = --severity 4
18
20 Runs phpcs <http://pear.php.net/package/PHP_CodeSniffer> which analyzes
21 PHP, JavaScript and CSS files and detects violations of a defined set
22 of coding standards.
23
25 Install PEAR <http://pear.php.net/>, then install "phpcs" from PEAR:
26
27 pear install PHP_CodeSniffer
28
30 This plugin accepts the following configuration options:
31
32 argv
33 Arguments to pass to "phpcs".
34
35 cmd
36 The path for the "phpcs" command. By default this is just "phpcs",
37 meaning that the user's "PATH" will be searched for the command.
38
40 Bugs may be submitted at
41 <https://github.com/houseabsolute/perl-code-tidyall/issues>.
42
43 I am also usually active on IRC as 'autarch' on "irc://irc.perl.org".
44
46 The source code repository for Code-TidyAll can be found at
47 <https://github.com/houseabsolute/perl-code-tidyall>.
48
50 · Jonathan Swartz <swartz@pobox.com>
51
52 · Dave Rolsky <autarch@urth.org>
53
55 This software is copyright (c) 2011 - 2020 by Jonathan Swartz.
56
57 This is free software; you can redistribute it and/or modify it under
58 the same terms as the Perl 5 programming language system itself.
59
60 The full text of the license can be found in the LICENSE file included
61 with this distribution.
62
63
64
65perl v5.32.0 2020-C0o7d-e2:8:TidyAll::Plugin::PHPCodeSniffer(3)