Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7466135
DisallowUseConstStandard.xml
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
770 B
Referenced Files
None
Subscribers
None
DisallowUseConstStandard.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 Const"
>
<standard>
<![CDATA[
Disallow the use of `use const` import statements, with or without alias.
]]>
</standard>
<code_comparison>
<code
title=
"Valid: Other type of use import statements."
>
<![CDATA[
use Vendor\Sub\ClassName;
use function Vendor\Sub\functionName;
]]>
</code>
<code
title=
"Invalid: use const import statements."
>
<![CDATA[
use const Vendor\Sub\CONST;
use const Vendor\Sub\BAR as otherConst;
]]>
</code>
</code_comparison>
</documentation>
File Metadata
Details
Attached
Mime Type
text/xml
Expires
Mon, Nov 23, 05:26 (3 d, 9 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
92/4c/bd338c823dc292572a8a8e2ee612
Default Alt Text
DisallowUseConstStandard.xml (770 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment