Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7466997
DisallowUseClassStandard.xml
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
829 B
Referenced Files
None
Subscribers
None
DisallowUseClassStandard.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=
"Disallow Use Class/Trait/Interface"
>
<standard>
<![CDATA[
Disallow the use of `use` import statements for classes, traits and interfaces, with or without alias.
]]>
</standard>
<code_comparison>
<code
title=
"Valid: Other type of use import statements."
>
<![CDATA[
use function Vendor\Sub\functionName;
use const Vendor\Sub\CONST;
]]>
</code>
<code
title=
"Invalid: Class/trait/interface use import statement."
>
<![CDATA[
use Vendor\Sub\ClassName;
use Vendor\Sub\InterfaceName as Other;
]]>
</code>
</code_comparison>
</documentation>
File Metadata
Details
Attached
Mime Type
text/xml
Expires
Mon, Nov 23, 05:53 (3 d, 19 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
95/82/3f6e02869bbe99840c39bfefccb0
Default Alt Text
DisallowUseClassStandard.xml (829 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment