Phan/local-config.php: Difference between revisions

Created page with "The distributed <code>.phan/config.php</code> file contains an include at the bottom for this file. So, if you create this file in your MediaWiki $IP (Install Path) at <code>...."
 
No edit summary
Line 3: Line 3:
This example purposely ignores all 'core' MediaWiki for analysis, and adds a long list of extensions for analysis.
This example purposely ignores all 'core' MediaWiki for analysis, and adds a long list of extensions for analysis.


{{collapsible|
{{collapsible
|visible_text=This is a sample 'local' configuration for Phan
|visible_text=This is a sample 'local' configuration for Phan
|collapsed_content=
|collapsed_content=
<syntaxhighlight lang="php">
<syntaxhighlight lang="php" line="1">
<?php
// DO analyze every extension
// DO analyze every extension
$cfg['directory_list'] = array_merge(
$cfg['directory_list'] = array_merge(