Skip to content
/ phpca Public
forked from UnionOfRAD/phpca

Experimental static code analyzer for PHP

Notifications You must be signed in to change notification settings

mendo/phpca

This branch is 1 commit ahead of, 25 commits behind UnionOfRAD/phpca:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c4717d1 · Feb 8, 2011
Feb 8, 2011
Sep 4, 2010
Feb 12, 2010
Sep 29, 2009
Feb 13, 2010
Jul 25, 2009
Jul 29, 2009
Jul 30, 2009
Feb 13, 2010
Feb 13, 2010
May 12, 2009
Nov 18, 2009
Oct 12, 2009
Feb 13, 2010

Repository files navigation

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.

About

Experimental static code analyzer for PHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%