Suppress PhanUndeclaredProperty for custom properties and phan bugs
[lhc/web/wiklou.git] / .phan / config.php
index 0ae6fcf..b1ca2a7 100644 (file)
@@ -88,6 +88,8 @@ $cfg['exclude_analysis_directory_list'] = [
        '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
@@ -102,8 +104,6 @@ $cfg['suppress_issue_types'] = array_merge( $cfg['suppress_issue_types'], [
 
        // 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