-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
18 lines (13 loc) · 834 Bytes
/
Copy pathREADME
File metadata and controls
18 lines (13 loc) · 834 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
(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.