public void inspectionStarted()

in src/com/jetbrains/php/tools/quality/phpstan/PhpStanGlobalInspection.java [33:43]


  public void inspectionStarted(@NotNull InspectionManager manager,
                                @NotNull GlobalInspectionContext globalContext,
                                @NotNull ProblemDescriptionsProcessor problemDescriptionsProcessor) {
    super.inspectionStarted(manager, globalContext, problemDescriptionsProcessor);
    final PhpStanAnnotatorProxy annotator = getAnnotator();
    final QualityToolAnnotatorInfo<PhpStanValidationInspection> info =
      annotator.collectAnnotatorInfo(null, null, globalContext.getProject(), ((InspectionManagerBase)manager).getCurrentProfile(), false);
    if (info != null) {
      manager.getProject().putUserData(ANNOTATOR_INFO, annotator.doAnnotate(info));
    }
  }