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.83
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
44 The source code repository for Code-TidyAll can be found at
45 <https://github.com/houseabsolute/perl-code-tidyall>.
46
48 • Jonathan Swartz <swartz@pobox.com>
49
50 • Dave Rolsky <autarch@urth.org>
51
53 This software is copyright (c) 2011 - 2022 by Jonathan Swartz.
54
55 This is free software; you can redistribute it and/or modify it under
56 the same terms as the Perl 5 programming language system itself.
57
58 The full text of the license can be found in the LICENSE file included
59 with this distribution.
60
61
62
63perl v5.36.0 2023-C0o1d-e2:0:TidyAll::Plugin::PHPCodeSniffer(3)