require_once \PL\PATH . '/inc/endpoints/especiales-endpoint.php';
❗️ Warning: Absolute include path must be used. Use get_template_directory(), get_stylesheet_directory() or plugin_dir_path() (WordPressVIPMinimum.Files.IncludingFile.IncludingFile).
What problem would the enhancement address for VIP?
Currently clients include files be defining path variables or constants that get used for the path. This makes the IncludingFile rule very noisy with false postiives.
Describe the solution you'd like
We should enhance the rule check to account for path variables/constants to reduce false positives.