Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7467606
NoLeadingBackslashStandard.xml
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
766 B
Referenced Files
None
Subscribers
None
NoLeadingBackslashStandard.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=
"No Leading Backslash"
>
<standard>
<![CDATA[
Import `use` statements must never begin with a leading backslash as they should always be fully qualified.
]]>
</standard>
<code_comparison>
<code
title=
"Valid: Import use statement without leading backslash."
>
<![CDATA[
<em>use Package</em>\ClassName;
]]>
</code>
<code
title=
"Invalid: Import use statement with leading backslash."
>
<![CDATA[
use <em>\</em>Package\ClassName;
]]>
</code>
</code_comparison>
</documentation>
File Metadata
Details
Attached
Mime Type
text/xml
Expires
Mon, Nov 23, 06:10 (4 d, 25 m ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
77/96/71ce16efc43e0abc2d113e13265e
Default Alt Text
NoLeadingBackslashStandard.xml (766 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment