1<documentation title="Opening Brace on Same Line">
2    <standard>
3    <![CDATA[
4    The opening brace of a class must be on the same line after the definition and must be the last thing on that line.
5    ]]>
6    </standard>
7    <code_comparison>
8        <code title="Valid: Opening brace on the same line.">
9        <![CDATA[
10class Foo <em>{</em>
11}
12        ]]>
13        </code>
14        <code title="Invalid: Opening brace on the next line.">
15        <![CDATA[
16class Foo
17<em>{</em>
18}
19        ]]>
20        </code>
21        <code title="Invalid: Opening brace not last thing on the line.">
22        <![CDATA[
23class Foo {<em> // Start of class.</em>
24}
25        ]]>
26        </code>
27    </code_comparison>
28</documentation>
29