@@ -0,0 +1,907 @@
+package com.cedricziel.idea.typo3.codeInspection;%0A%0Aimport com.cedricziel.idea.typo3.TYPO3CMSProjectSettings;%0Aimport com.intellij.codeInspection.ProblemsHolder;%0Aimport com.intellij.psi.PsiElementVisitor;%0Aimport com.jetbrains.php.lang.inspections.PhpInspection;%0Aimport com.jetbrains.php.lang.psi.visitors.PhpElementVisitor;%0Aimport org.jetbrains.annotations.NotNull;%0A%0Apublic abstract class PluginEnabledPhpInspection extends PhpInspection %7B%0A    @NotNull%0A    @Override%0A    public PsiElementVisitor buildVisitor(@NotNull ProblemsHolder problemsHolder, boolean b) %7B%0A        if (!TYPO3CMSProjectSettings.getInstance(problemsHolder.getProject()).pluginEnabled) %7B%0A            return new PhpElementVisitor() %7B%0A            %7D;%0A        %7D%0A%0A        return buildRealVisitor(problemsHolder, b);%0A    %7D%0A%0A    @NotNull%0A    public abstract PsiElementVisitor buildRealVisitor(@NotNull ProblemsHolder problemsHolder, boolean b);%0A%7D%0A

Introduce PluginEnabledPhpInspection