Skip to content

Commit

Permalink
[#1901] UnknownInspectionInspector: resolved false positives (reporte…
Browse files Browse the repository at this point in the history
…d inspection name is empty)
  • Loading branch information
ea-inspections-team committed Sep 18, 2024
1 parent 8d205c7 commit a665c27
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class UnknownInspectionInspector extends BasePhpInspection {

final static private Pattern inspectionsShortNames;
static {
inspectionsShortNames = Pattern.compile("(?:[A-Z][a-z]+)+");
inspectionsShortNames = Pattern.compile("(?:[A-Z][a-z]+){2,}");
}

final private static Set<String> inspections = new HashSet<>();
Expand Down

0 comments on commit a665c27

Please sign in to comment.