This commit is contained in:
Laurent Destailleur 2026-06-01 23:47:52 +02:00
parent b073e61dd5
commit a09519ce41
2 changed files with 2 additions and 0 deletions

View file

@ -487,6 +487,7 @@ return [
'PhanPluginCanUseNullableParamType', // Fixer - Report/Add nullable parameter types in the function definition
'PhanPluginCanUseNullableReturnType', // Fixer - Report/Add nullable return types in the function definition
'PhanPluginEmptyStatementIf', // Usually done on purpose with a comment
'PhanPluginNonBoolBranch', // Not essential - 31240+ occurrences
'PhanPluginNumericalComparison', // Not essential - 19870+ occurrences
// 'PhanTypeMismatchArgument', // Can detect missing array keys, invalid types, objects being passed when scalar expected - Not all reported by phpstan - <=3800 cases (was: 12300+ before)

View file

@ -87,6 +87,7 @@ $config['suppress_issue_types'] = [
'PhanPluginCanUseNullableParamType', // Fixer - Report/Add nullable parameter types in the function definition
'PhanPluginCanUseNullableReturnType', // Fixer - Report/Add nullable return types in the function definition
'PhanPluginEmptyStatementIf', // Usually done on purpose with a comment
'PhanPluginNonBoolBranch', // Not essential - 31240+ occurrences
'PhanPluginNumericalComparison', // Not essential - 19870+ occurrences
// 'PhanTypeMismatchArgument', // Most fixed ~120 occurrences (was: 12300+ before)