Magento Coding Standard (PHPCS) report for mago-assistant/magento2-mago ======================================================================= Package version: v1.0.0 | Magento: 2.4.9 | Tested: 2026-10-21 32 errors, 312 warnings in 121 files Service/Form/PageContextNormalizer.php 49:122 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) 209:13 warning $path parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Service/Form/FormPolicy.php 72:136 warning Line exceeds 120 characters; contains 136 characters (Generic.Files.LineLength.TooLong) 73:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 107:13 warning $value parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Service/Flag/SnapshotBuilder.php 155:13 warning $row parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 198:13 warning $turnStart parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Service/Flag/SnapshotSizeLimit.php 18:1 error Final keyword is prohibited in Magento. It decreases extensibility and is not compatible with plugins and proxies. (Magento2.PHP.FinalImplementation.FoundFinal) 31:12 warning $snapshot parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 51:13 warning $snapshot parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Service/Flag/TurnUsage.php 16:1 error Final keyword is prohibited in Magento. It decreases extensibility and is not compatible with plugins and proxies. (Magento2.PHP.FinalImplementation.FoundFinal) 24:13 warning $calls parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 24:13 warning $answeringCall parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 34:19 warning $rows parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 34:19 warning $decode parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 34:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) Service/Flag/FlagRepository.php 49:12 warning $messageId parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 197:12 warning $flag parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 221:13 warning $existing parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 260:13 warning $snapshot parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Service/Ai/ChatService.php 182:137 warning Line exceeds 120 characters; contains 141 characters (Generic.Files.LineLength.TooLong) 383:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 388:12 warning $toolCalls parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 416:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 418:16 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) 420:13 warning $toolCalls parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 553:13 warning $toolCall parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 553:13 warning $status parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 573:13 warning $result parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 595:13 warning $input parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 621:13 warning $input parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 682:13 warning $onChunk parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 722:13 warning $result parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 737:13 warning $tool parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 737:13 warning $input parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 896:13 warning $result parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 936:13 warning $result parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 936:13 warning $directive parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 957:13 warning $toolCall parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 977:13 warning $toolCall parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 993:13 warning $input parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 1010:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 1015:13 warning $toolCall parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 1015:13 warning $messages parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 1015:13 warning $instructedTools parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 1055:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 1060:13 warning arrayescapeHtml() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) Controller/Adminhtml/Flags/Delete.php 40:121 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) Controller/Adminhtml/Chat/Confirm.php 138:125 warning Line exceeds 120 characters; contains 125 characters (Generic.Files.LineLength.TooLong) 244:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 249:13 warning $toolCalls parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 249:13 warning $results parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 249:13 warning $durations parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 281:9 error Use of echo language construct is discouraged. (Magento2.Security.LanguageConstruct.DirectOutput) 290:9 error Use of exit language construct is discouraged. (Magento2.Security.LanguageConstruct.ExitUsage) Controller/Adminhtml/Chat/Load.php 81:13 warning $messages parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Controller/Adminhtml/Chat/Stream.php 108:147 warning Line exceeds 120 characters; contains 147 characters (Generic.Files.LineLength.TooLong) 147:125 warning Line exceeds 120 characters; contains 125 characters (Generic.Files.LineLength.TooLong) 277:122 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) 341:13 warning $toolCalls parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 394:13 warning $postData parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 414:13 warning $postData parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 448:9 error Use of echo language construct is discouraged. (Magento2.Security.LanguageConstruct.DirectOutput) Controller/Adminhtml/Chat/ReleasesSessionLock.php 26:9 error Use of echo language construct is discouraged. (Magento2.Security.LanguageConstruct.DirectOutput) Controller/Adminhtml/Chat/Reject.php 88:13 warning $toolCalls parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) view/adminhtml/templates/chat/panel.phtml 127:1 warning Line indented incorrectly; expected at least 4 spaces, found 0 (Generic.WhiteSpace.ScopeIndent.Incorrect) view/adminhtml/templates/dashboard/index.phtml 187:17 warning Line indented incorrectly; expected 20 spaces, found 16 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) view/adminhtml/templates/skills/edit.phtml 22:41 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 27:33 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 28:33 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 31:33 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 32:33 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 35:33 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 36:33 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 42:55 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 44:63 warning Using escapeHtmlAttr on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 48:45 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 52:32 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 57:66 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 58:66 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 67:49 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 69:54 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 76:57 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 79:57 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 82:57 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 85:57 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 98:97 warning Using escapeJs on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 99:31 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 103:35 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) view/adminhtml/templates/conversations/view.phtml 116:25 warning Line indented incorrectly; expected at least 28 spaces, found 24 (Generic.WhiteSpace.ScopeIndent.Incorrect) 117:25 warning Line indented incorrectly; expected at least 28 spaces, found 24 (Generic.WhiteSpace.ScopeIndent.Incorrect) 131:25 warning Line indented incorrectly; expected at least 28 spaces, found 24 (Generic.WhiteSpace.ScopeIndent.Incorrect) 179:13 warning Line indented incorrectly; expected 20 spaces, found 12 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 183:13 warning Line indented incorrectly; expected at least 16 spaces, found 12 (Generic.WhiteSpace.ScopeIndent.Incorrect) 291:1 warning Line indented incorrectly; expected 4 spaces, found 0 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) Api/ConversationRepositoryInterface.php 13:1 warning Interface description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) Api/InternalApiClientInterface.php 25:12 warning $params parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 34:12 warning $body parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 45:12 warning $body parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 54:12 warning $body parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 68:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 68:15 warning Line exceeds 120 characters; contains 150 characters (Generic.Files.LineLength.TooLong) 74:12 warning array