'maintenance/language/',
// External class
'includes/libs/jsminplus.php',
+ // External class
+ 'includes/libs/objectcache/utils/MemcachedClient.php',
];
// NOTE: If you're facing an issue which you cannot easily fix, DO NOT add it here. Suppress it
// approximate error count: 45
"PhanTypeMismatchArgument",
- // approximate error count: 693
- "PhanUndeclaredProperty",
] );
// This helps a lot in discovering bad code, but unfortunately it will always fail for
// @todo Enable when the issue above is resolved and we update our config!
$cfg['redundant_condition_detection'] = false;
+// Do not use aliases in core.
+// Use the correct name, because we don't need backward compatibility
+$cfg['enable_class_alias_support'] = false;
+
$cfg['ignore_undeclared_variables_in_global_scope'] = true;
// @todo It'd be great if we could just make phan read these from DefaultSettings, to avoid
// duplicating the types.