diff --git a/administrator/components/com_jedchecker/libraries/helper.php b/administrator/components/com_jedchecker/libraries/helper.php index 7f117f8..ff7fa7e 100644 --- a/administrator/components/com_jedchecker/libraries/helper.php +++ b/administrator/components/com_jedchecker/libraries/helper.php @@ -400,6 +400,14 @@ abstract class JEDCheckerHelper return str_repeat("\n", substr_count($content, "\n")); } + /** + * Resolve all aliases in the PHP file + * + * @param string $content + * + * @return string + * @since 2.4.4 + */ public static function resolveAliases($content) { if (preg_match_all('/\buse\s+([\\\\\w]+)(?:\s+as\s+(\w+))?\s*;/i', $content, $matches, PREG_SET_ORDER)) {