Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7465173
KeywordSpacingStandard.xml
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
942 B
Referenced Files
None
Subscribers
None
KeywordSpacingStandard.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=
"Import Use Keyword Spacing"
>
<standard>
<![CDATA[
Enforce a single space after the `use`, `function`, `const` keywords and both before and after the `as` keyword in import `use` statements.
]]>
</standard>
<code_comparison>
<code
title=
"Valid: Single space used around keywords."
>
<![CDATA[
use<em> </em>function<em> </em>strpos;
use<em> </em>const<em> </em>PHP_EOL<em> </em>as<em> </em>MY_EOL;
]]>
</code>
<code
title=
"Invalid: Incorrect spacing used around keywords."
>
<![CDATA[
use<em> </em>function<em> </em>strpos;
use<em>
</em>const<em>
</em>PHP_EOL<em>
</em>as<em>
</em>MY_EOL;
]]>
</code>
</code_comparison>
</documentation>
File Metadata
Details
Attached
Mime Type
text/xml
Expires
Mon, Nov 23, 04:57 (3 d, 9 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
c2/5b/77fb8f10d6430de2045ad7a4ff7d
Default Alt Text
KeywordSpacingStandard.xml (942 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment