-
Notifications
You must be signed in to change notification settings - Fork 4
/
README
32 lines (20 loc) · 848 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
phpca
=====
When running from the source tree, use:
php src/phpca.php -p <path> <file or directory>
where <path> is the bath to the PHP binary (required for the lint check
that is done before tokenizing the file) and <file or directory> is either
a single PHP file or a directory. If a directory is given, all *.php files
in that directory and its subdirectories will be analyzed.
To run from Phar archive (to create a Phar archive, run "phing phar"), use:
php phpca.phar -p <path> <file or directory>
The other command line switches phpca currently supports are:
-p <file>
--php <file> Specify path to PHP executable (required).
-l
--list List all built-in rules.
-h
--help Prints this usage information.
-v
--version Prints the version number.
See TODO file for development roadmap.