1<documentation title="Control Structure Signatures">
2    <standard>
3    <![CDATA[
4    Control structures should use one space around the parentheses in conditions.  The opening brace should be preceded by one space and should be at the end of the line.
5    ]]>
6    </standard>
7    <code_comparison>
8        <code title="Valid: Correct spacing around the condition.">
9        <![CDATA[
10if<em> </em>($foo)<em> </em>{
11}
12        ]]>
13        </code>
14        <code title="Invalid: Incorrect spacing around the condition.">
15        <![CDATA[
16if<em></em>($foo)<em></em>{
17}
18        ]]>
19        </code>
20    </code_comparison>
21    <code_comparison>
22        <code title="Valid: Correct placement of the opening brace.">
23        <![CDATA[
24if ($foo) <em>{</em>
25}
26        ]]>
27        </code>
28        <code title="Invalid: Incorrect placement of the opening brace on a new line.">
29        <![CDATA[
30if ($foo)
31<em>{</em>
32}
33        ]]>
34        </code>
35    </code_comparison>
36</documentation>
37