How to suppress warnings in Eclipse for PHP?

In Eclipse, I get warnings that I do not have a start tag ( <div>), because the start tag is in a different file. How can I suppress this warning to prevent it from the Problems window?

I know in Java, I could do @SuppressWarning, but I don't know how for php. I assume that it exists based on the availability of the type of the PHP type in Eclipse, but maybe it is not?

+5
source share
3 answers

You can also set this for each project base. Go to

Project -> Properties -> Validation

. , HTML → → !

+3

> . "" > " HTML" > "" " :" " :" enter image description here

+2

window-> preferences-> validation-> suspend all validators

will also accelerate the eclipse :)

+1
source

All Articles