Merge pull request #28857 from mdeweerd/phan/extended/disable_PhanPluginDuplicateCatchStatementBody

Qual: Disable PhanPluginDuplicateCatchStatementBody requires PHP7.1
This commit is contained in:
Laurent Destailleur 2024-03-14 22:43:55 +01:00 committed by GitHub
commit ae85f06ed3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -368,6 +368,7 @@ return [
'PhanPluginDuplicateConditionalTernaryDuplication', // 2750+ occurrences
'PhanPluginDuplicateConditionalNullCoalescing', // Not essential - 990+ occurrences
'PhanPluginRedundantAssignmentInGlobalScope', // Not essential, a lot of false warning
'PhanPluginDuplicateCatchStatementBody', // Requires PHP7.1 - 50+ occurrences
],
// You can put relative paths to internal stubs in this config option.
// Phan will continue using its detailed type annotations,