Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7419517
Vim.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
Vim.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
Phan\Output\ColorScheme
;
/**
* Contains colors similar to vim's default color scheme
* (with higher contrast against a black background and preferring related colors over plain text)
* @suppress PhanUnreferencedClass this is used dynamically
*/
class
Vim
{
/** @suppress PhanUnreferencedPublicClassConstant this is used dynamically */
public
const
DEFAULT_COLOR_FOR_TEMPLATE
=
[
'CLASS'
=>
'green'
,
'CLASSLIKE'
=>
'green'
,
'CODE'
=>
'magenta'
,
'COMMENT'
=>
'light_blue'
,
'CONST'
=>
'magenta'
,
'COUNT'
=>
'red'
,
'DETAILS'
=>
'none'
,
'ENUM'
=>
'green'
,
'FILE'
=>
'light_blue'
,
'FUNCTIONLIKE'
=>
'magenta'
,
'FUNCTION'
=>
'magenta'
,
'INDEX'
=>
'yellow'
,
'INTERFACE'
=>
'green'
,
'ISSUETYPE'
=>
'light_yellow'
,
// used by Phan\Output\Printer, for minor issues
'ISSUETYPE_CRITICAL'
=>
'bg_red'
,
// for critical issues, e.g. "PhanUndeclaredMethod"
'ISSUETYPE_NORMAL'
=>
'black,bg_light_yellow'
,
// for normal issues
'LINE'
=>
'yellow'
,
'METHOD'
=>
'magenta'
,
'NAMESPACE'
=>
'green'
,
'OPERATOR'
=>
'yellow'
,
'PARAMETER'
=>
'light_cyan'
,
'PROPERTY'
=>
'light_blue'
,
'SCALAR'
=>
'red'
,
'STRING_LITERAL'
=>
'red'
,
'SUGGESTION'
=>
'light_gray'
,
'TYPE'
=>
'light_blue'
,
'TRAIT'
=>
'green'
,
'VARIABLE'
=>
'light_cyan'
,
];
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Nov 22, 04:30 (1 d, 5 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
1c/4d/e3ef2090eda894351d4fb17a60c5
Default Alt Text
Vim.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment