Skip to content

Commit

Permalink
Allow MixedArrayTypeCoercion to be properly suppressed by default
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug committed Apr 29, 2019
1 parent f760ab6 commit b9bece4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Psalm/Config.php
Expand Up @@ -37,6 +37,7 @@ class Config
'MixedArrayAccess',
'MixedArrayAssignment',
'MixedArrayOffset',
'MixedArrayTypeCoercion',
'MixedAssignment',
'MixedFunctionCall',
'MixedInferredReturnType',
Expand Down
1 change: 1 addition & 0 deletions src/Psalm/IssueBuffer.php
Expand Up @@ -168,6 +168,7 @@ private static function getParentIssueType($issue_type)
if ($issue_type === 'MixedArgumentTypeCoercion'
|| $issue_type === 'MixedPropertyTypeCoercion'
|| $issue_type === 'MixedReturnTypeCoercion'
|| $issue_type === 'MixedArrayTypeCoercion'
) {
return 'MixedTypeCoercion';
}
Expand Down

0 comments on commit b9bece4

Please sign in to comment.