mirror of
https://github.com/Universal-Omega/DynamicPageList3
synced 2024-12-04 04:28:43 +00:00
41 lines
1.2 KiB
PHP
41 lines
1.2 KiB
PHP
<?php
|
|
|
|
$cfg = require __DIR__ . '/../vendor/mediawiki/mediawiki-phan-config/src/config.php';
|
|
|
|
$cfg['suppress_issue_types'] = array_merge( $cfg['suppress_issue_types'], [
|
|
'PhanUndeclaredInterface',
|
|
'PhanUndeclaredTypeParameter',
|
|
'PhanUndeclaredClassMethod',
|
|
'PhanUndeclaredFunction',
|
|
'PhanUndeclaredConstant',
|
|
'PhanUndeclaredTypeReturnType',
|
|
'PhanPossiblyUndeclaredVariable',
|
|
'PhanTypePossiblyInvalidDimOffset',
|
|
'PhanTypeInvalidDimOffset',
|
|
'PhanUndeclaredConstantOfClass',
|
|
'PhanUndeclaredExtendedClass',
|
|
'PhanTypeMismatchReturnNullable',
|
|
'PhanUndeclaredExtendedClass',
|
|
'PhanUndeclaredMethod',
|
|
'PhanUndeclaredProperty',
|
|
'PhanPluginDuplicateAdjacentStatement',
|
|
'PhanImpossibleCondition',
|
|
'PhanUndeclaredClassInstanceof',
|
|
'PhanTypeArraySuspiciousNullable',
|
|
'PhanParamTooMany',
|
|
'PhanPluginDuplicateConditionalNullCoalescing',
|
|
'PhanRedundantCondition',
|
|
'PhanPluginDuplicateConditionalTernaryDuplication',
|
|
'PhanTypeMismatchReturnProbablyReal',
|
|
'PhanUndeclaredVariableDim',
|
|
'PhanUndeclaredClass',
|
|
'PhanUnextractableAnnotation',
|
|
'PhanTypeSuspiciousStringExpression',
|
|
'PhanImpossibleTypeComparison',
|
|
'PhanTypeMismatchArgument'
|
|
] );
|
|
|
|
$cfg['scalar_implicit_cast'] = true;
|
|
|
|
return $cfg;
|