Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7488936
EnforceCurlyBraceSyntaxStandard.xml
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
765 B
Referenced Files
None
Subscribers
None
EnforceCurlyBraceSyntaxStandard.xml
View Options
<?xml version="1.0"?>
<documentation
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation=
"https://phpcsstandards.github.io/PHPCSDevTools/phpcsdocs.xsd"
title=
"Enforce Curly Brace Namespace Syntax"
>
<standard>
<![CDATA[
Namespace declarations without curly braces are not allowed.
]]>
</standard>
<code_comparison>
<code
title=
"Valid: Namespace declaration with braces."
>
<![CDATA[
namespace Vendor\Project\Scoped <em>{</em>
// Code.
<em>}</em>
]]>
</code>
<code
title=
"Invalid: Namespace declaration without braces."
>
<![CDATA[
namespace Vendor\Project\Sub<em>;</em>
// Code
]]>
</code>
</code_comparison>
</documentation>
File Metadata
Details
Attached
Mime Type
text/xml
Expires
Mon, Nov 23, 18:04 (6 d, 1 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
05/16/a8ea3a097e39b80a0269395a7435
Default Alt Text
EnforceCurlyBraceSyntaxStandard.xml (765 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment