classes/Validate/Check/UnclosedElements.php
Avoid using undefined variables such as '::$error_ids' which will lead to PHP notices. Open
Open
static::addErrorToHtml($url, 'unclosed_elements', static::$error_ids[$url], 'ignores');
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}