Skip to content
This repository

Experimental static code analyzer for PHP

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 src
Octocat-spinner-32 tests
Octocat-spinner-32 .gitignore
Octocat-spinner-32 BUGS
Octocat-spinner-32 CreatePhar.php
Octocat-spinner-32 Doxyfile
Octocat-spinner-32 PharStub.php
Octocat-spinner-32 README
Octocat-spinner-32 TODO
Octocat-spinner-32 build.xml
Octocat-spinner-32 package.xml
Octocat-spinner-32 phpca.ini
Octocat-spinner-32 phpca.ini_example
Octocat-spinner-32 phpunit.xml
README
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.
Something went wrong with that request. Please try again.