// if not then check whether it is a configurable problem
switch(problemId){
-
+ case IProblem.PHPVarDeprecatedWarning :
+ return this.options.getSeverity(CompilerOptions.PHPVarDeprecatedWarning);
+
case IProblem.MaskedCatch :
return this.options.getSeverity(CompilerOptions.MaskedCatchBlock);
public void phpVarDeprecatedWarning(
int problemStartPosition, int problemEndPosition,
ReferenceContext context, CompilationResult compilationResult) {
+ if (computeSeverity(IProblem.PHPVarDeprecatedWarning) == Ignore)
+ return;
this.handle(IProblem.PHPVarDeprecatedWarning, NoArgument, new String[]{},
problemStartPosition, problemEndPosition, context, compilationResult);
}