Magento Coding Standard (PHPCS) report for perspectiveteam/module-smartlog ========================================================================== Package version: 1.1.1 | Magento: 2.4.9 | Tested: 2026-06-01 22 errors, 193 warnings in 19 files Composer/WorkerInstaller.php 19:19 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 19:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 34:14 warning The use of function is_dir() is discouraged; use Magento\Framework\Filesystem\DriverInterface::isDirectory() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 35:13 warning The use of function mkdir() is discouraged; use Magento\Framework\Filesystem\DriverInterface::createDirectory() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 40:17 warning The use of function is_file() is discouraged; use Magento\Framework\Filesystem\DriverInterface::isFile() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 41:17 warning The use of function copy() is discouraged; use Magento\Framework\Filesystem\DriverInterface::copy() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 51:13 warning The use of function escapeshellarg() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 57:9 error The use of function exec() is forbidden; use \Magento\Framework\Shell::execute() instead (Magento2.Security.InsecureFunction.FoundWithAlternative) 68:20 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 68:28 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 71:16 warning The use of function dirname() is discouraged; use Magento\Framework\Filesystem\DriverInterface::getParentDirectory() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 72:13 warning The use of function is_dir() is discouraged; use Magento\Framework\Filesystem\DriverInterface::isDirectory() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 72:29 warning The use of function is_file() is discouraged; use Magento\Framework\Filesystem\DriverInterface::isFile() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 78:20 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 78:28 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 81:16 warning The use of function dirname() is discouraged; use Magento\Framework\Filesystem\DriverInterface::getParentDirectory() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 83:20 warning The use of function dirname() is discouraged; use Magento\Framework\Filesystem\DriverInterface::getParentDirectory() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 84:17 warning The use of function is_dir() is discouraged; use Magento\Framework\Filesystem\DriverInterface::isDirectory() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 84:43 warning The use of function is_dir() is discouraged; use Magento\Framework\Filesystem\DriverInterface::isDirectory() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 84:68 warning The use of function is_dir() is discouraged; use Magento\Framework\Filesystem\DriverInterface::isDirectory() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 91:20 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 91:28 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 95:13 error The use of function exec() is forbidden; use \Magento\Framework\Shell::execute() instead (Magento2.Security.InsecureFunction.FoundWithAlternative) 103:20 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 103:28 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 108:13 error Use of echo language construct is discouraged. (Magento2.Security.LanguageConstruct.DirectOutput) Model/Config.php 14:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 20:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 25:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 30:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 36:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 48:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 53:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 58:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 60:130 warning Line exceeds 120 characters; contains 130 characters (Generic.Files.LineLength.TooLong) 63:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 68:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 73:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 78:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 83:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 88:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 90:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 93:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/LogReader.php 13:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 25:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 26:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 33:13 warning The use of function is_dir() is discouraged; use Magento\Framework\Filesystem\DriverInterface::isDirectory() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 38:13 warning The use of function is_dir() is discouraged; use Magento\Framework\Filesystem\DriverInterface::isDirectory() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 53:13 warning The use of function is_dir() is discouraged; use Magento\Framework\Filesystem\DriverInterface::isDirectory() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 65:13 warning The use of function is_dir() is discouraged; use Magento\Framework\Filesystem\DriverInterface::isDirectory() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 79:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 104:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 107:19 error Silencing errors is discouraged; found: @fopen($filePath... (Generic.PHP.NoSilencedErrors.Discouraged) 107:20 warning The use of function fopen() is discouraged; use Magento\Framework\Filesystem\DriverInterface::fileOpen() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 123:29 warning The use of function fgets() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 181:13 warning The use of function fclose() is discouraged; use Magento\Framework\Filesystem\DriverInterface::fileClose() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 185:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 208:24 error Silencing errors is discouraged; found: @file_get_contents($filePath... (Generic.PHP.NoSilencedErrors.Discouraged) 208:25 warning The use of function file_get_contents() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 235:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 236:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 238:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) Model/Indexer.php 10:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/Config/Source/Provider.php 10:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/Config/Source/GeminiModel.php 10:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/Config/Source/VoyageModel.php 10:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/Config/Source/OpenAiModel.php 10:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/WorkerBridge.php 18:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 28:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 51:20 error The use of function proc_open() is forbidden (Magento2.Security.InsecureFunction.Found) 55:13 warning The use of function dirname() is discouraged; use Magento\Framework\Filesystem\DriverInterface::getParentDirectory() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 63:9 warning The use of function fwrite() is discouraged; use Magento\Framework\Filesystem\DriverInterface::fileWrite() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 64:9 warning The use of function fclose() is discouraged; use Magento\Framework\Filesystem\DriverInterface::fileClose() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 67:9 warning The code must be wrapped with a try block if the method uses system resources. (Magento2.Exceptions.TryProcessSystemResources.MissingTryCatch) 67:9 warning The use of function stream_set_blocking() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 75:23 error The use of function proc_get_status() is forbidden (Magento2.Security.InsecureFunction.Found) 78:29 warning The use of function fgets() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 90:22 warning The use of function fread() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 97:28 warning The code must be wrapped with a try block if the method uses system resources. (Magento2.Exceptions.TryProcessSystemResources.MissingTryCatch) 97:28 warning The use of function stream_get_contents() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 98:28 warning The code must be wrapped with a try block if the method uses system resources. (Magento2.Exceptions.TryProcessSystemResources.MissingTryCatch) 98:28 warning The use of function stream_get_contents() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 105:9 warning The use of function fclose() is discouraged; use Magento\Framework\Filesystem\DriverInterface::fileClose() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 106:9 warning The use of function fclose() is discouraged; use Magento\Framework\Filesystem\DriverInterface::fileClose() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 108:21 error The use of function proc_close() is forbidden (Magento2.Security.InsecureFunction.Found) 144:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 161:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 167:14 warning The use of function is_file() is discouraged; use Magento\Framework\Filesystem\DriverInterface::isFile() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 169:27 warning The use of function dirname() is discouraged; use Magento\Framework\Filesystem\DriverInterface::getParentDirectory() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 171:17 warning The use of function is_file() is discouraged; use Magento\Framework\Filesystem\DriverInterface::isFile() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 171:38 warning The use of function is_dir() is discouraged; use Magento\Framework\Filesystem\DriverInterface::isDirectory() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 186:93 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 197:16 warning The use of function dirname() is discouraged; use Magento\Framework\Filesystem\DriverInterface::getParentDirectory() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 199:17 warning The use of function is_executable() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) Model/SearchService.php 8:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 19:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 54:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 82:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 100:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Setup/Recurring.php 3:1 warning There must be one blank line after the namespace declaration (PSR2.Namespaces.NamespaceDeclaration.BlankLineAfter) 8:1 warning There must be one blank line after the last USE statement; 0 found; (PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse) 18:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 22:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Console/Command/IndexLogsCommand.php 19:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 28:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 40:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 43:131 warning Line exceeds 120 characters; contains 131 characters (Generic.Files.LineLength.TooLong) 49:133 warning Line exceeds 120 characters; contains 133 characters (Generic.Files.LineLength.TooLong) Console/Command/InstallWorkerCommand.php 13:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 13:12 warning Possible useless method overriding detected (Generic.CodeAnalysis.UselessOverridingMethod.Found) 18:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 24:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Controller/Adminhtml/Log/Index.php 14:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Controller/Adminhtml/Log/Search.php 16:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 25:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 32:128 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) Controller/Adminhtml/Log/Reindex.php 16:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 25:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 32:128 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) view/adminhtml/templates/smartlog.phtml 8:23 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 9:23 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 10:23 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 12:23 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 13:23 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 20:29 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 21:30 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 21:57 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 26:55 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 27:52 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 28:26 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 29:29 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 37:43 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 44:60 warning Using escapeHtmlAttr on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 44:198 warning Line exceeds 120 characters; contains 210 characters (Generic.Files.LineLength.TooLong) 52:43 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 65:43 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 78:43 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 95:44 warning Using escapeHtmlAttr on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 96:39 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 101:44 warning Using escapeHtmlAttr on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 102:39 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 111:29 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 141:45 warning Using escapeJs on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 147:41 warning Using escapeJs on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 151:31 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 172:49 warning Using escapeJs on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 172:129 warning Line exceeds 120 characters; contains 140 characters (Generic.Files.LineLength.TooLong) 187:43 warning Using escapeJs on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 187:174 warning Line exceeds 120 characters; contains 178 characters (Generic.Files.LineLength.TooLong) 193:41 warning Using escapeJs on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 193:118 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) 196:31 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 207:49 warning Using escapeJs on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 207:150 warning Line exceeds 120 characters; contains 161 characters (Generic.Files.LineLength.TooLong) 216:1 warning Line exceeds 120 characters; contains 147 characters (Generic.Files.LineLength.TooLong) 233:78 warning Using escapeJs on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 233:166 warning Line exceeds 120 characters; contains 174 characters (Generic.Files.LineLength.TooLong) 244:1 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) Worker/worker.php 1:1 warning A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 63 and the first side effect is on line 21. (PSR1.Files.SideEffects.FoundWithSymbols) 21:1 error "require_once" statement detected. File manipulations are discouraged. Concatenating is forbidden. (Magento2.Security.IncludeFile.FoundIncludeFile) 34:10 warning The use of function file_get_contents() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 63:1 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 63:1 warning Consider putting global function "handleIndex" in a static class (Squiz.Functions.GlobalFunction.Found) 94:28 error The use of function md5() is forbidden; use improved hash functions (SHA-256, SHA-512 etc.)() instead (Magento2.Security.InsecureFunction.FoundWithAlternative) 106:119 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) 122:9 warning The use of function fwrite() is discouraged; use Magento\Framework\Filesystem\DriverInterface::fileWrite() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 128:1 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 128:1 warning Consider putting global function "handleSearch" in a static class (Squiz.Functions.GlobalFunction.Found) 155:33 error The use of function md5() is forbidden; use improved hash functions (SHA-256, SHA-512 etc.)() instead (Magento2.Security.InsecureFunction.FoundWithAlternative) 164:31 error The use of function md5() is forbidden; use improved hash functions (SHA-256, SHA-512 etc.)() instead (Magento2.Security.InsecureFunction.FoundWithAlternative) 184:1 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 184:1 warning Consider putting global function "keywordSearch" in a static class (Squiz.Functions.GlobalFunction.Found) 249:1 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 249:1 warning Consider putting global function "handleReset" in a static class (Squiz.Functions.GlobalFunction.Found) 258:7 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) 267:1 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 267:1 warning Consider putting global function "createEmbeddingGenerator" in a static class (Squiz.Functions.GlobalFunction.Found) 284:1 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 284:1 warning Consider putting global function "createOpenAIGenerator" in a static class (Squiz.Functions.GlobalFunction.Found) 299:1 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 299:1 warning Consider putting global function "createGeminiGenerator" in a static class (Squiz.Functions.GlobalFunction.Found) 302:36 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 305:16 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 313:16 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 326:16 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 332:16 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 356:16 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 366:1 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 366:1 warning Consider putting global function "createVoyageGenerator" in a static class (Squiz.Functions.GlobalFunction.Found) 369:36 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 372:16 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 380:16 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 390:16 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 396:16 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 416:16 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 423:1 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 423:1 warning Consider putting global function "createVectorStore" in a static class (Squiz.Functions.GlobalFunction.Found) 431:1 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 431:1 warning Consider putting global function "createOpenSearchClient" in a static class (Squiz.Functions.GlobalFunction.Found) 436:17 warning The use of function parse_url() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 460:1 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 460:1 warning Consider putting global function "outputSuccess" in a static class (Squiz.Functions.GlobalFunction.Found) 462:5 error Use of echo language construct is discouraged. (Magento2.Security.LanguageConstruct.DirectOutput) 463:5 error Use of exit language construct is discouraged. (Magento2.Security.LanguageConstruct.ExitUsage) 466:1 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 466:1 warning Consider putting global function "outputError" in a static class (Squiz.Functions.GlobalFunction.Found) 468:5 error Use of echo language construct is discouraged. (Magento2.Security.LanguageConstruct.DirectOutput) 469:5 error Use of exit language construct is discouraged. (Magento2.Security.LanguageConstruct.ExitUsage) Block/Adminhtml/SmartLog.php 12:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 20:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 25:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 30:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 35:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 40:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 45:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)