Skip to content
Experimental static code analyzer for PHP
PHP
Latest commit 7ffefe8 Feb 13, 2010 @spriebsch Switched to theseer's Autoload.
Adapted build automation for Hudson CI.
Failed to load latest commit information.
src
tests
.gitignore
BUGS A lot. Definitively gotta learn that I can offline commit with git ... Sep 29, 2009
CreatePhar.php
Doxyfile
PharStub.php Integrated Application class with CLI. Jul 29, 2009
README
TODO Switched to theseer's Autoload. Feb 13, 2010
build.xml
package.xml Fixed date to allow creation of PEAR package. May 12, 2009
phpca.ini
phpca.ini_example Made file exclusion at rule level work for relative paths. Oct 13, 2009
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.