1<documentation title="Closing Brace Indentation"> 2 <standard> 3 <![CDATA[ 4 Closing braces should be indented at the same level as the beginning of the scope. 5 ]]> 6 </standard> 7 <code_comparison> 8 <code title="Valid: Consistent indentation level for scope."> 9 <![CDATA[ 10if ($test) { 11 $var = 1; 12} 13 ]]> 14 </code> 15 <code title="Invalid: The ending brace is indented further than the if statement."> 16 <![CDATA[ 17if ($test) { 18 $var = 1; 19<em> </em>} 20 ]]> 21 </code> 22 </code_comparison> 23</documentation> 24