The following are errors that come come up from a basic CakePHP installation all or most related to .ctp being checked against .php Coding Standards.
I would like .ctp validation to work out of the box so we get 0 (or closer to it) with basic CakePHP installation. Note to mention we need to also test baked files.
Line indented incorrectly; expected at least 1 spaces, found 0
.............
A closing tag is not permitted at the end of a PHP file
.......
Each PHP statement must be on a line by itself
...
Closing brace must be on a line by itself
..
Expected 1 space before ., but 0 found
.
Tabs must be used to indent lines; spaces are not allowed
.
The following are errors that come come up from a basic CakePHP installation all or most related to .ctp being checked against .php Coding Standards.
I would like .ctp validation to work out of the box so we get 0 (or closer to it) with basic CakePHP installation. Note to mention we need to also test baked files.
Line indented incorrectly; expected at least 1 spaces, found 0 ............. A closing tag is not permitted at the end of a PHP file ....... Each PHP statement must be on a line by itself ... Closing brace must be on a line by itself .. Expected 1 space before ., but 0 found . Tabs must be used to indent lines; spaces are not allowed .