SHINDIG-922 by Nagy Attila - Changes the per-instance connection to a static one...
[shindig.git] / php / docs / style-conventions.xml
blob9eefb06914e308fda1cd06d47165aa54ac82aa08
1 <?xml version="1.0" encoding="UTF-8"?>
2 <profiles>
3 <profile name="PHP Conventions">
4 <setting id="com.zend.php.formatter.core.formatter.alignment_for_arguments_in_allocation_expression_force_split" value="false"/>
5 <setting id="com.zend.php.formatter.core.formatter.alignment_for_arguments_in_allocation_expression_indent_policy" value="0"/>
6 <setting id="com.zend.php.formatter.core.formatter.alignment_for_arguments_in_allocation_expression_line_wrap_policy" value="0"/>
7 <setting id="com.zend.php.formatter.core.formatter.alignment_for_arguments_in_method_invocation_force_split" value="false"/>
8 <setting id="com.zend.php.formatter.core.formatter.alignment_for_arguments_in_method_invocation_indent_policy" value="0"/>
9 <setting id="com.zend.php.formatter.core.formatter.alignment_for_arguments_in_method_invocation_line_wrap_policy" value="0"/>
10 <setting id="com.zend.php.formatter.core.formatter.alignment_for_assignment_force_split" value="false"/>
11 <setting id="com.zend.php.formatter.core.formatter.alignment_for_assignment_indent_policy" value="0"/>
12 <setting id="com.zend.php.formatter.core.formatter.alignment_for_assignment_line_wrap_policy" value="0"/>
13 <setting id="com.zend.php.formatter.core.formatter.alignment_for_binary_expression_force_split" value="false"/>
14 <setting id="com.zend.php.formatter.core.formatter.alignment_for_binary_expression_indent_policy" value="0"/>
15 <setting id="com.zend.php.formatter.core.formatter.alignment_for_binary_expression_line_wrap_policy" value="0"/>
16 <setting id="com.zend.php.formatter.core.formatter.alignment_for_compact_if_force_split" value="false"/>
17 <setting id="com.zend.php.formatter.core.formatter.alignment_for_compact_if_indent_policy" value="0"/>
18 <setting id="com.zend.php.formatter.core.formatter.alignment_for_compact_if_line_wrap_policy" value="0"/>
19 <setting id="com.zend.php.formatter.core.formatter.alignment_for_conditional_expression_force_split" value="false"/>
20 <setting id="com.zend.php.formatter.core.formatter.alignment_for_conditional_expression_indent_policy" value="0"/>
21 <setting id="com.zend.php.formatter.core.formatter.alignment_for_conditional_expression_line_wrap_policy" value="0"/>
22 <setting id="com.zend.php.formatter.core.formatter.alignment_for_expressions_in_array_initializer_force_split" value="false"/>
23 <setting id="com.zend.php.formatter.core.formatter.alignment_for_expressions_in_array_initializer_indent_policy" value="0"/>
24 <setting id="com.zend.php.formatter.core.formatter.alignment_for_expressions_in_array_initializer_line_wrap_policy" value="1"/>
25 <setting id="com.zend.php.formatter.core.formatter.alignment_for_parameters_in_method_declaration_force_split" value="false"/>
26 <setting id="com.zend.php.formatter.core.formatter.alignment_for_parameters_in_method_declaration_indent_policy" value="0"/>
27 <setting id="com.zend.php.formatter.core.formatter.alignment_for_parameters_in_method_declaration_line_wrap_policy" value="0"/>
28 <setting id="com.zend.php.formatter.core.formatter.alignment_for_superclass_in_type_declaration_force_split" value="false"/>
29 <setting id="com.zend.php.formatter.core.formatter.alignment_for_superclass_in_type_declaration_indent_policy" value="0"/>
30 <setting id="com.zend.php.formatter.core.formatter.alignment_for_superclass_in_type_declaration_line_wrap_policy" value="0"/>
31 <setting id="com.zend.php.formatter.core.formatter.alignment_for_superinterfaces_in_type_declaration_force_split" value="false"/>
32 <setting id="com.zend.php.formatter.core.formatter.alignment_for_superinterfaces_in_type_declaration_indent_policy" value="0"/>
33 <setting id="com.zend.php.formatter.core.formatter.alignment_for_superinterfaces_in_type_declaration_line_wrap_policy" value="0"/>
34 <setting id="com.zend.php.formatter.core.formatter.blank_lines_before_field" value="0"/>
35 <setting id="com.zend.php.formatter.core.formatter.blank_lines_before_member_type" value="0"/>
36 <setting id="com.zend.php.formatter.core.formatter.blank_lines_before_method" value="1"/>
37 <setting id="com.zend.php.formatter.core.formatter.blank_lines_between_type_declarations" value="1"/>
38 <setting id="com.zend.php.formatter.core.formatter.brace_position_for_block" value="0"/>
39 <setting id="com.zend.php.formatter.core.formatter.brace_position_for_method_declaration" value="0"/>
40 <setting id="com.zend.php.formatter.core.formatter.brace_position_for_switch" value="0"/>
41 <setting id="com.zend.php.formatter.core.formatter.brace_position_for_type_declaration" value="0"/>
42 <setting id="com.zend.php.formatter.core.formatter.continuation_indentation" value="2"/>
43 <setting id="com.zend.php.formatter.core.formatter.continuation_indentation_for_array_initializer" value="2"/>
44 <setting id="com.zend.php.formatter.core.formatter.format_guardian_clause_on_one_line" value="false"/>
45 <setting id="com.zend.php.formatter.core.formatter.indent_body_declarations_compare_to_type_header" value="true"/>
46 <setting id="com.zend.php.formatter.core.formatter.indent_breaks_compare_to_cases" value="true"/>
47 <setting id="com.zend.php.formatter.core.formatter.indent_empty_lines" value="false"/>
48 <setting id="com.zend.php.formatter.core.formatter.indent_statements_compare_to_block" value="true"/>
49 <setting id="com.zend.php.formatter.core.formatter.indent_statements_compare_to_body" value="true"/>
50 <setting id="com.zend.php.formatter.core.formatter.indent_switchstatements_compare_to_cases" value="true"/>
51 <setting id="com.zend.php.formatter.core.formatter.indent_switchstatements_compare_to_switch" value="true"/>
52 <setting id="com.zend.php.formatter.core.formatter.indentation.size" value="2"/>
53 <setting id="com.zend.php.formatter.core.formatter.insert_new_line_after_opening_brace_in_array_initializer" value="false"/>
54 <setting id="com.zend.php.formatter.core.formatter.insert_new_line_before_catch_in_try_statement" value="false"/>
55 <setting id="com.zend.php.formatter.core.formatter.insert_new_line_before_closing_brace_in_array_initializer" value="false"/>
56 <setting id="com.zend.php.formatter.core.formatter.insert_new_line_before_else_in_if_statement" value="false"/>
57 <setting id="com.zend.php.formatter.core.formatter.insert_new_line_before_while_in_do_statement" value="false"/>
58 <setting id="com.zend.php.formatter.core.formatter.insert_new_line_in_empty_block" value="false"/>
59 <setting id="com.zend.php.formatter.core.formatter.insert_new_line_in_empty_method_body" value="false"/>
60 <setting id="com.zend.php.formatter.core.formatter.insert_new_line_in_empty_type_declaration" value="true"/>
61 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_arrow_in_array_creation" value="true"/>
62 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_arrow_in_field_access" value="false"/>
63 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_arrow_in_foreach" value="true"/>
64 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_arrow_in_method_invocation" value="false"/>
65 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_assignment_operator" value="true"/>
66 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_binary_operator" value="true"/>
67 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_closing_brace_in_block" value="true"/>
68 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_closing_paren_in_cast" value="false"/>
69 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_colon_in_conditional" value="true"/>
70 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_coloncolon_in_field_access" value="false"/>
71 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_coloncolon_in_method_invocation" value="false"/>
72 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_comma_in_array_creation" value="true"/>
73 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_comma_in_echo" value="true"/>
74 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_comma_in_for_inits" value="true"/>
75 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_comma_in_global" value="true"/>
76 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_comma_in_list" value="true"/>
77 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_comma_in_method_declaration_parameters" value="true"/>
78 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_comma_in_method_invocation_arguments" value="true"/>
79 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_comma_in_multiple_constant_declarations" value="true"/>
80 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_comma_in_multiple_field_declarations" value="true"/>
81 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_comma_in_static" value="true"/>
82 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_comma_in_superinterfaces" value="true"/>
83 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_opening_bracket_in_array_reference" value="false"/>
84 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_opening_paren_in_array_creation" value="false"/>
85 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_opening_paren_in_cast" value="false"/>
86 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_opening_paren_in_catch" value="false"/>
87 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_opening_paren_in_for" value="false"/>
88 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_opening_paren_in_foreach" value="false"/>
89 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_opening_paren_in_if" value="false"/>
90 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_opening_paren_in_list" value="false"/>
91 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_opening_paren_in_method_declaration" value="false"/>
92 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_opening_paren_in_method_invocation" value="false"/>
93 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression" value="false"/>
94 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_opening_paren_in_switch" value="false"/>
95 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_opening_paren_in_while" value="false"/>
96 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_postfix_operator" value="false"/>
97 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_prefix_operator" value="true"/>
98 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_question_in_conditional" value="true"/>
99 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_semicolon_in_for" value="true"/>
100 <setting id="com.zend.php.formatter.core.formatter.insert_space_after_unary_operator" value="true"/>
101 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_arrow_in_array_creation" value="true"/>
102 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_arrow_in_field_access" value="false"/>
103 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_arrow_in_foreach" value="true"/>
104 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_arrow_in_method_invocation" value="false"/>
105 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_assignment_operator" value="true"/>
106 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_binary_operator" value="true"/>
107 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_closing_bracket_in_array_reference" value="false"/>
108 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_closing_paren_in_array_creation" value="false"/>
109 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_closing_paren_in_cast" value="false"/>
110 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_closing_paren_in_catch" value="false"/>
111 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_closing_paren_in_for" value="false"/>
112 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_closing_paren_in_foreach" value="false"/>
113 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_closing_paren_in_if" value="false"/>
114 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_closing_paren_in_list" value="false"/>
115 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_closing_paren_in_method_declaration" value="false"/>
116 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_closing_paren_in_method_invocation" value="false"/>
117 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression" value="false"/>
118 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_closing_paren_in_switch" value="false"/>
119 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_closing_paren_in_while" value="false"/>
120 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_colon_in_case" value="false"/>
121 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_colon_in_conditional" value="true"/>
122 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_colon_in_default" value="false"/>
123 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_coloncolon_in_field_access" value="false"/>
124 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_coloncolon_in_method_invocation" value="false"/>
125 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_comma_in_array_creation" value="false"/>
126 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_comma_in_echo" value="false"/>
127 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_comma_in_for_inits" value="false"/>
128 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_comma_in_global" value="false"/>
129 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_comma_in_list" value="false"/>
130 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_comma_in_method_declaration_parameters" value="false"/>
131 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_comma_in_method_invocation_arguments" value="false"/>
132 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_comma_in_multiple_constant_declarations" value="false"/>
133 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_comma_in_multiple_field_declarations" value="false"/>
134 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_comma_in_static" value="false"/>
135 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_comma_in_superinterfaces" value="false"/>
136 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_opening_brace_in_block" value="true"/>
137 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_opening_brace_in_method_declaration" value="true"/>
138 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_opening_brace_in_switch" value="true"/>
139 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_opening_brace_in_type_declaration" value="true"/>
140 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_opening_bracket_in_array_reference" value="false"/>
141 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_opening_paren_in_array_creation" value="false"/>
142 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_opening_paren_in_catch" value="true"/>
143 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_opening_paren_in_for" value="true"/>
144 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_opening_paren_in_foreach" value="true"/>
145 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_opening_paren_in_if" value="true"/>
146 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_opening_paren_in_list" value="false"/>
147 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_opening_paren_in_method_declaration" value="false"/>
148 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_opening_paren_in_method_invocation" value="false"/>
149 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_opening_paren_in_switch" value="true"/>
150 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_opening_paren_in_while" value="true"/>
151 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_postfix_operator" value="true"/>
152 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_prefix_operator" value="false"/>
153 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_question_in_conditional" value="true"/>
154 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_semicolon" value="false"/>
155 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_semicolon_in_for" value="false"/>
156 <setting id="com.zend.php.formatter.core.formatter.insert_space_before_unary_operator" value="false"/>
157 <setting id="com.zend.php.formatter.core.formatter.insert_space_between_brackets_in_array_type_reference" value="false"/>
158 <setting id="com.zend.php.formatter.core.formatter.insert_space_between_empty_parens_in_method_declaration" value="false"/>
159 <setting id="com.zend.php.formatter.core.formatter.insert_space_between_empty_parens_in_method_invocation" value="false"/>
160 <setting id="com.zend.php.formatter.core.formatter.keep_else_statement_on_same_line" value="true"/>
161 <setting id="com.zend.php.formatter.core.formatter.keep_elseif_statement_on_same_line" value="true"/>
162 <setting id="com.zend.php.formatter.core.formatter.keep_imple_if_on_one_line" value="false"/>
163 <setting id="com.zend.php.formatter.core.formatter.keep_then_statement_on_same_line" value="true"/>
164 <setting id="com.zend.php.formatter.core.formatter.lineSplit" value="120"/>
165 <setting id="com.zend.php.formatter.core.formatter.number_of_blank_lines_at_beginning_of_method_body" value="0"/>
166 <setting id="com.zend.php.formatter.core.formatter.number_of_empty_lines_to_preserve" value="1"/>
167 <setting id="com.zend.php.formatter.core.formatter.put_empty_statement_on_new_line" value="false"/>
168 <setting id="indentationChar" value=" "/>
169 <setting id="insert_space_after_opening_paren_in_declare" value="false"/>
170 <setting id="insert_space_before_closing_paren_in_declare" value="false"/>
171 <setting id="insert_space_before_opening_paren_in_declare" value="false"/>
172 </profile>
173 </profiles>