I am currently working on a PHP project using Eclipse as my IDE. I've come across a situation where Eclipse's PHP linter is not recognizing a variable. The problem is that the variable is dynamically generated and its existence is determined at runtime.
Is there a way to inform the PHP linter in Eclipse that this variable exists, so that I can get rid of the "Undefined variable" warning? I want to avoid disabling the PHP linter altogether because it is generally helpful for error detection.
Any help or suggestions on how to tackle this issue would be greatly appreciated. Thank you in advance!