X-Git-Url: https://git.cyclocoop.org/%242?a=blobdiff_plain;f=.phan%2Fconfig.php;h=8746ada38425ce885c47a2f3a19f8b196eaffc0d;hb=2c046e1b6c80c57ec67b507d00e5add7cf958b7c;hp=64197bf30d6cf583e95c8cea0d4930c59b47a232;hpb=5f8d76336dba61aa6ce495a92e30367368aaa651;p=lhc%2Fweb%2Fwiklou.git diff --git a/.phan/config.php b/.phan/config.php index 64197bf30d..8746ada384 100644 --- a/.phan/config.php +++ b/.phan/config.php @@ -32,7 +32,6 @@ $cfg['file_list'] = array_merge( class_exists( PHPUnit_TextUI_Command::class ) ? [] : [ '.phan/stubs/phpunit4.php' ], class_exists( ProfilerExcimer::class ) ? [] : [ '.phan/stubs/excimer.php' ], [ - 'maintenance/7zip.inc', 'maintenance/cleanupTable.inc', 'maintenance/CodeCleanerGlobalsPass.inc', 'maintenance/commandLine.inc', @@ -44,8 +43,12 @@ $cfg['file_list'] = array_merge( ); $cfg['autoload_internal_extension_signatures'] = [ + 'imagick' => '.phan/internal_stubs/imagick.phan_php', 'memcached' => '.phan/internal_stubs/memcached.phan_php', 'oci8' => '.phan/internal_stubs/oci8.phan_php', + 'pcntl' => '.phan/internal_stubs/pcntl.phan_php', + 'redis' => '.phan/internal_stubs/redis.phan_php', + 'sockets' => '.phan/internal_stubs/sockets.phan_php', 'sqlsrv' => '.phan/internal_stubs/sqlsrv.phan_php', 'tideways' => '.phan/internal_stubs/tideways.phan_php', ]; @@ -90,8 +93,6 @@ $cfg['suppress_issue_types'] = array_merge( $cfg['suppress_issue_types'], [ // approximate error count: 127 "PhanParamTooMany", // approximate error count: 2 - "PhanPluginDuplicateExpressionBinaryOp", - // approximate error count: 2 "PhanTraitParentReference", // approximate error count: 30 "PhanTypeArraySuspicious", @@ -99,14 +100,8 @@ $cfg['suppress_issue_types'] = array_merge( $cfg['suppress_issue_types'], [ "PhanTypeArraySuspiciousNullable", // approximate error count: 26 "PhanTypeComparisonFromArray", - // approximate error count: 2 - "PhanTypeComparisonToArray", - // approximate error count: 7 - "PhanTypeExpectedObjectPropAccess", // approximate error count: 63 "PhanTypeInvalidDimOffset", - // approximate error count: 6 - "PhanTypeInvalidExpressionArrayDestructuring", // approximate error count: 7 "PhanTypeInvalidLeftOperandOfIntegerOp", // approximate error count: 2