Skip to content
Permalink
Browse files

Allow MixedArrayTypeCoercion to be properly suppressed by default

  • Loading branch information...
muglug committed Apr 29, 2019
1 parent f760ab6 commit b9bece4cbcb3f342c8412618f73ca02db98064e8
Showing with 2 additions and 0 deletions.
  1. +1 −0 src/Psalm/Config.php
  2. +1 −0 src/Psalm/IssueBuffer.php
@@ -37,6 +37,7 @@ class Config
'MixedArrayAccess',
'MixedArrayAssignment',
'MixedArrayOffset',
'MixedArrayTypeCoercion',
'MixedAssignment',
'MixedFunctionCall',
'MixedInferredReturnType',
@@ -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';
}

0 comments on commit b9bece4

Please sign in to comment.
You can’t perform that action at this time.