I am working in a PHP project that uses checkstyle to validate the code. I have a problem with a part of the code that reads XML's with simplexml, the XML is all in uppercase and for example:
$response = simplexml_load_string($xml);
$code = $response->CODE; // checkstyle won't validate this because it is in uppercase
this piece of code gives me warnings because the variable name is in uppercase (the variables are required to be in camelcase). There are lots of warnings in the code because of this.
The question is: can I disable checking specific variables, or an entire region of code? How?
Thank you very much.