Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7404564
ModifierKeywordOrderStandard.xml
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
932 B
Referenced Files
None
Subscribers
None
ModifierKeywordOrderStandard.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=
"Class Modifier Keyword Order"
>
<standard>
<![CDATA[
Requires that class modifier keywords consistently use the same keyword order.
By default the expected order is "abstract/final readonly", but this can be changed via the sniff configuration.
]]>
</standard>
<code_comparison>
<code
title=
"Valid: Modifier keywords ordered correctly."
>
<![CDATA[
<em>final readonly</em> class Foo {}
<em>abstract readonly</em> class Bar {}
]]>
</code>
<code
title=
"Invalid: Modifier keywords in reverse order."
>
<![CDATA[
<em>readonly final</em> class Foo {}
<em>readonly abstract</em> class Bar {}
]]>
</code>
</code_comparison>
</documentation>
File Metadata
Details
Attached
Mime Type
text/xml
Expires
Sat, Nov 21, 19:14 (1 d, 28 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
ef/28/443fba01763169f09b0232370b6b
Default Alt Text
ModifierKeywordOrderStandard.xml (932 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment