Page MenuHomeWickedGov Phorge

ControlSignatureStandard.xml
No OneTemporary

Size
974 B
Referenced Files
None
Subscribers
None

ControlSignatureStandard.xml

<documentation title="Control Structure Signatures">
<standard>
<![CDATA[
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.
]]>
</standard>
<code_comparison>
<code title="Valid: Correct spacing around the condition.">
<![CDATA[
if<em> </em>($foo)<em> </em>{
}
]]>
</code>
<code title="Invalid: Incorrect spacing around the condition.">
<![CDATA[
if<em></em>($foo)<em></em>{
}
]]>
</code>
</code_comparison>
<code_comparison>
<code title="Valid: Correct placement of the opening brace.">
<![CDATA[
if ($foo) <em>{</em>
}
]]>
</code>
<code title="Invalid: Incorrect placement of the opening brace on a new line.">
<![CDATA[
if ($foo)
<em>{</em>
}
]]>
</code>
</code_comparison>
</documentation>

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 22, 17:33 (1 d, 23 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
de/f0/4269a4cf7167ba3e6cac73cd4d9d
Default Alt Text
ControlSignatureStandard.xml (974 B)

Event Timeline