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',
);
$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',
];
// approximate error count: 127
"PhanParamTooMany",
// approximate error count: 2
- "PhanPluginDuplicateExpressionBinaryOp",
- // approximate error count: 2
"PhanTraitParentReference",
// approximate error count: 30
"PhanTypeArraySuspicious",
"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
- "PhanTypeInvalidRightOperand",
- // approximate error count: 2
"PhanTypeInvalidRightOperandOfIntegerOp",
// approximate error count: 154
"PhanTypeMismatchArgument",
// approximate error count: 27
"PhanTypeMismatchArgumentInternal",
- // approximate error count: 1
- "PhanTypeMismatchBitwiseBinaryOperands",
// approximate error count: 2
"PhanTypeMismatchDimEmpty",
// approximate error count: 27
"PhanUndeclaredVariableAssignOp",
// approximate error count: 55
"PhanUndeclaredVariableDim",
- // approximate error count: 3
- "PhanUnextractableAnnotationElementName",
- // approximate error count: 4
- "PhanUnextractableAnnotationSuffix",
] );
$cfg['ignore_undeclared_variables_in_global_scope'] = true;