Qual: Disable PhanPluginDuplicateCatchStatementBody which requires PHP7.1 for fix

# Qual: Disable PhanPluginDuplicateCatchStatementBody which requires PHP7.1 for fix

To fix this PHP7.1 is required, so skipping the message in the extended
report as well.
This commit is contained in:
MDW 2024-03-14 20:05:32 +01:00
parent b6b4acf5f9
commit 97f4e4f462
No known key found for this signature in database

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,