Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5983795
base-config.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
base-config.php
View Options
<?php
// This is the base config, shared with all the others
return
[
/**
* Backwards Compatibility Checking. This is slow
* and expensive, but you should consider running
* it before upgrading your version of PHP to a
* new version that has backward compatibility
* breaks.
*/
'backward_compatibility_checks'
=>
false
,
'analyzed_file_extensions'
=>
[
'php'
,
'inc'
],
/**
* A set of fully qualified class-names for which
* a call to parent::__construct() is required
*/
'parent_constructor_required'
=>
[
],
'quick_mode'
=>
false
,
'analyze_signature_compatibility'
=>
false
,
/**
* Do not emit false positives
*/
"minimum_severity"
=>
1
,
'allow_missing_properties'
=>
false
,
'null_casts_as_any_type'
=>
true
,
'scalar_implicit_cast'
=>
true
,
'ignore_undeclared_variables_in_global_scope'
=>
true
,
'dead_code_detection'
=>
false
,
'dead_code_detection_prefer_false_negative'
=>
true
,
'read_type_annotations'
=>
true
,
'disable_suppression'
=>
false
,
'dump_ast'
=>
false
,
'dump_signatures_file'
=>
null
,
// Include a progress bar in the output
'progress_bar'
=>
true
,
/**
* The number of processes to fork off during the analysis
* phase.
*/
'processes'
=>
1
,
/** We selectively enable the checks we want, rather than disabling the ones we don't want */
'suppress_issue_types'
=>
[],
/**
* If empty, no filter against issues types will be applied.
* If this allowed list is non-empty, only issues within the list
* will be emitted by Phan.
*/
'whitelist_issue_types'
=>
[
'SecurityCheck-XSS'
,
'SecurityCheck-SQLInjection'
,
'SecurityCheck-ShellInjection'
,
'SecurityCheck-DoubleEscaped'
,
'SecurityCheck-CUSTOM1'
,
'SecurityCheck-CUSTOM2'
,
'SecurityCheck-RCE'
,
'SecurityCheck-PathTraversal'
,
'SecurityCheck-ReDoS'
,
// Rely on severity setting to prevent false positive.
'SecurityCheck-LikelyFalsePositive'
,
'PhanSyntaxError'
,
'SecurityCheckDebugTaintedness'
,
'SecurityCheckInvalidAnnotation'
,
],
/**
* Override to hardcode existence and types of (non-builtin) globals in the global scope.
* Class names must be prefixed with '\\'.
* (E.g. ['_FOO' => '\\FooClass', 'page' => '\\PageClass', 'userId' => 'int'])
*/
'globals_type_map'
=>
[
// 'IP' => 'string',
],
// Emit issue messages with markdown formatting
'markdown_issue_messages'
=>
false
,
/**
* Enable or disable support for generic templated
* class types.
*/
'generic_types_enabled'
=>
true
,
'plugins'
=>
[
'UnusedSuppressionPlugin'
],
'plugin_config'
=>
[
// Only report unused suppressions for security issues
'unused_suppression_whitelisted_only'
=>
true
],
];
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 23:02 (1 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
a0/29/a65b5ffe1c67990b01dc5d2cb94c
Default Alt Text
base-config.php (2 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment