16
16
useCfgFileParameter=
19
[Align%20all%20assignement%20statements]
19
[Align all assignement statements]
21
21
Description=<html>Align all assignement statements</html>
23
23
TrueFalse=--align-equal-statements|
27
[Align%20all%20assignement%20statements%20to%20a%20fixed%20position]
26
[Align all assignement statements to a fixed position]
28
27
CallName="--align-equal-statements-to-fixed-pos "
30
29
Description="<html>Align all assignement statements to a fixed position.<hr><table><thead><tr><td width='50%'>Source</td><td width='50%'>With --align-equal-statements-to-fixed-pos 40</td></tr></thead><tbody><tr><td width='50%'><pre><?php <br>$noError = true; <br>$feildEmpty = false; <br>$showMessage = false; <br>$showMessage = false; <br>$anotherVariable[0123] = 'bla bla bla'; <br>$showBlaBlaBlaMessage = false; <br>?></pre></td><td width='50%'><pre><?php <br>$noError<span> </span> = true; <br>$feildEmpty<span> </span> = false; <br>$showMessage<span> </span> = false; <br>$showMessage<span> </span> = false; <br>$anotherVariable[0123]<span> </span> = 'bla bla bla'; <br>$showBlaBlaBlaMessage<span> </span> = false; <br>?> </pre></td></tr></tbody></table></html>"
38
[Allow%20to%20insert%20a%20space%20after%20%27%28%27]
36
[Allow to insert a space after '(']
40
38
Description=<html>Allow to insert a space after start bracket '('</html>
42
40
TrueFalse=--space-after-start-bracket|
46
[Allow%20to%20insert%20a%20space%20after%20%27if%27]
43
[Allow to insert a space after 'if']
48
45
Description=<html>Allow to insert a space after 'if' keyword</html>
50
47
TrueFalse=--space-after-if|
54
[Allow%20to%20insert%20a%20space%20after%20%27switch%27]
50
[Allow to insert a space after 'switch']
56
52
Description=<html>Allow to insert a space after 'switch' keyword</html>
58
54
TrueFalse=--space-after-switch|
62
[Allow%20to%20insert%20a%20space%20after%20%27while%27]
57
[Allow to insert a space after 'while']
64
59
Description=<html>Allow to insert a space after 'while' keyword</html>
66
61
TrueFalse=--space-after-while|
70
[Allow%20to%20insert%20a%20space%20after%20%27%7D%27]
64
[Allow to insert a space after '}']
72
66
Description=<html>Allow to insert a space after starting angle bracket '}'</html>
74
68
TrueFalse=--space-after-end-angle-bracket|
78
[Allow%20to%20insert%20a%20space%20before%20%27%29%27]
71
[Allow to insert a space before ')']
80
73
Description=<html>Allow to insert a space before end bracket ')'</html>
82
75
TrueFalse=--space-before-end-bracket|
86
[Allow%20to%20insert%20a%20space%20before%20%27%7B%27]
78
[Allow to insert a space before '{']
88
80
Description=<html>Allow to insert a space before starting angle bracket '{'</html>
90
82
TrueFalse=--space-before-start-angle-bracket|
96
87
Description="<html>Change '# ...' comments into '// ...' comments<hr><table><thead><tr><td width='33%'>Source</td><td width='33%'>With --change-shell-comment-to-double-slashes-comment</td><td width='33%'>Without --change-shell-comment-to-double-slashes-comment</td></tr></thead><tbody><tr><td width='33%'><pre><?php<br><br>#comment content<br>//another comment<br>?></pre></td><td width='33%'><pre><?php<br><br>// comment content<br>// another comment<br>?></pre></td><td width='33%'><pre><?php<br><br># comment content<br>// another comment<br>?></pre></td></tr></tbody></table></html>"
98
89
TrueFalse=--change-shell-comment-to-double-slashes-comment|
102
[Comment%20render%20style]
92
[Comment render style]
104
94
Choices="--comment-rendering-style PEAR|--comment-rendering-style PHPDoc"
105
95
ChoicesReadable="PEAR comment rendering style|PHPDoc comment rendering style"
106
96
Description="<html>The following style of comment formating are available:<hr><table><thead><tr><td width='50%'><b>--comment-rendering-style</b> PEAR</td><td width='50%'><b>--comment-rendering-style</b> PHPDoc</td></tr></thead><tbody><tr><td width='50%'><pre><?php<br><br>/**<br> * bla bla bla<br> *<br> * @access public<br> */<br>?></pre></td><td width='50%'><pre><?php<br><br>/**<br>* bla bla bla<br>*<br>* @access public<br>*/<br>?></pre></td></tr></tbody></table></html>"
107
97
EditorType=multiple
112
[Force%20large%20PHP%20code%20tag]
101
[Force large PHP code tag]
114
103
Description="<html>Change '<?' and '<%' tokens into '<?php' and '%>' into '?>'</html>"
115
104
EditorType=boolean
116
105
TrueFalse=--force-large-php-code-tag|
120
[Glue%20%22%26%26%22%20to%20following%20item]
108
[Glue "&&" to following item]
122
110
Description="<html>Glue '&' to following item<hr><table><thead><tr><td width='50%'>With --glue-amperscore</td><td width='50%'>Without --glue-amperscore</td></tr></thead><tbody><tr><td width='50%'><pre><?php<br>$value = &$objectInstance;<br>?></pre></td><td width='50%'><pre><?php<br>$value = & $objectInstance;<br>?></pre></td><br></tr></tbody></table></html>"
123
111
EditorType=boolean
124
112
TrueFalse=--glue-amperscore|
128
[Increase%20padding%20before%20case%20statements]
115
[Increase padding before case statements]
130
117
Description="<html>Increase padding before case statements:<hr><table><thead><tr><td width='50%'>With --extra-padding-for-case-statement</td><td width='50%'>Without --extra-padding-for-case-statement</td></tr></thead><tbody><tr><td width='50%'><pre><?php<br><br>switch($condition){<br><span> </span>case 1:<br><span> </span> action1();<br><span> </span> break;<br><span> </span>case 2:<br><span> </span> action2();<br><span> </span> break;<br><span> </span>default:<br><span> </span> defaultaction();<br><span> </span> break;<br>}<br>?></pre></td><td width='50%'><pre><?php<br><br>switch($condition){<br>case 1:<br> action1();<br> break;<br>case 2:<br> action2();<br> break;<br>default:<br> defaultaction();<br> break;<br>}<br>?></pre></td></tr></tbody></table></html>"
131
118
EditorType=boolean
132
119
TrueFalse=--extra-padding-for-case-statement|
136
[Indent%20with%20TAB]
138
124
Description="<html>If selected, tabulation (ASCII #9) character is used to indent text, elsewhere space (ASCII #32) character is used</html>"
139
125
EditorType=boolean
140
126
TrueFalse=--indent-with-tab|
144
[Lowercase%20for%20NULL%2C%20TRUE%20and%20FALSE%20constants]
129
[Lowercase for NULL, TRUE and FALSE constants]
146
131
Description="<html>Lowercase for NULL, TRUE and FALSE constants as encouraged in PEAR coding standards<hr><table><thead><tr><td width='50%'>With --force-true-false-null-contant-lowercase</td><td width='50%'>Without --force-true-false-null-contant-lowercase</td></tr></thead><tbody><tr><td width='50%'><pre><?php<br>if(<strong>true</strong>){<br> if(<strong>false</strong>){<br> $value = <strong>null</strong>;<br> }<br>}<br>?></pre></td><td width='50%'><pre><?php<br>if(<strong>TRUE</strong>){<br> if(<strong>FALSE</strong>){<br> $value = <strong>NULL</strong>;<br> }<br>}<br>?></pre></td></tr></tbody></table></html>"
147
132
EditorType=boolean
148
133
TrueFalse=--force-true-false-null-contant-lowercase|
152
[Padding%20char%20count]
153
137
CallName="--padding-char-count "
155
139
Description=<html>Indent using # spaces per indent</html>