Cake Coding
PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Console/Command
README

README

(1.x) git clone git://github.com/petteyg/code_check.git app/plugins/code_check ; cd app/plugins/code_check ; git checkout 1.x
(2.0) git clone git://github.com/petteyg/code_check.git app/Plugin/CodeCheck


(1.x) cake code convention -path APP,CAKE_CORE_INCLUDE_PATH -files php,ctp -exclude webroot
(2.x) cake CodeCheck.CodeCheck -path APP,CAKE_CORE_INCLUDE_PATH -files php,ctp -exclude webroot

Tasks:
convention : checks code for CakePHP conventions
whitespace : checks files for leading and trailing whitespace

Options:
-path    : comma-delimited path list, consisting of constants and/or strings, default APP
-exclude : comma-delimited path list, consisting of constants and/or strings
-mode    : (default)interactive diff silent
-files   : comma-delimited extension list, default php

Note: -mode options are not yet implemented.