summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'MLEB/CleanChanges/.phan/config.php')
-rw-r--r--MLEB/CleanChanges/.phan/config.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/MLEB/CleanChanges/.phan/config.php b/MLEB/CleanChanges/.phan/config.php
new file mode 100644
index 00000000..5e697c2e
--- /dev/null
+++ b/MLEB/CleanChanges/.phan/config.php
@@ -0,0 +1,22 @@
+<?php
+
+$cfg = require __DIR__ . '/../vendor/mediawiki/mediawiki-phan-config/src/config.php';
+
+// Many addition properties on RCCacheEntry
+$cfg['suppress_issue_types'][] = 'PhanUndeclaredProperty';
+
+$cfg['directory_list'] = array_merge(
+ $cfg['directory_list'],
+ [
+ '../../extensions/cldr',
+ ]
+);
+
+$cfg['exclude_analysis_directory_list'] = array_merge(
+ $cfg['exclude_analysis_directory_list'],
+ [
+ '../../extensions/cldr',
+ ]
+);
+
+return $cfg;