Magento Coding Standard (PHPCS) report for angeo/module-aeo-audit ================================================================= Package version: 4.2.4 | Magento: 2.4.9 | Tested: 2026-10-15 77 warnings in 28 files Service/RobotsTxtParser.php 82:12 warning $robotsToken parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Service/HttpCache.php 94:12 warning $url parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 135:13 warning $method parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Service/AuditResultPersister.php 37:12 warning $report parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/AuditRunner.php 41:12 warning $storeManager parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/Checker/AbstractChecker.php 112:15 warning $message parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 120:15 warning $message parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 136:15 warning $message parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 220:15 warning $schemas parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/Checker/RobotsTxtChecker.php 236:13 warning $body parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/Checker/JsonLdQualityChecker.php 119:13 warning $schemas parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 134:13 warning $html parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 190:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) Model/Checker/SitemapXmlChecker.php 283:21 warning The use of function parse_url() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 284:62 warning The use of function basename() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 318:11 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) 327:11 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) 335:11 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) Model/Checker/LlmsJsonlChecker.php 324:13 warning $record parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 352:13 warning $record parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/Checker/AgentsMdChecker.php 91:122 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) 170:129 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) Model/Checker/UcpProfileChecker.php 273:13 warning Opening parenthesis of a multi-line function call must be the last content on the line (PSR2.Methods.FunctionCallSignature.ContentAfterOpenBracket) Model/Checker/WafRealityChecker.php 49:142 warning Line exceeds 120 characters; contains 142 characters (Generic.Files.LineLength.TooLong) 51:132 warning Line exceeds 120 characters; contains 132 characters (Generic.Files.LineLength.TooLong) 110:129 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) Model/Checker/CanonicalChecker.php 87:30 warning The use of function parse_url() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 88:30 warning The use of function parse_url() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) Model/Checker/AgentCardChecker.php 241:13 warning $card parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/Checker/CoreWebVitalsChecker.php 240:13 warning $payload parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/Checker/AiCrawlerActivityChecker.php 49:12 warning $httpCache parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/Checker/OpenGraphChecker.php 59:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 91:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) Model/Checker/LlmsTxtChecker.php 109:132 warning Line exceeds 120 characters; contains 132 characters (Generic.Files.LineLength.TooLong) 131:30 warning The use of function parse_url() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 134:34 warning The use of function parse_url() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 211:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) Model/Checker/MerchantPoliciesChecker.php 202:13 warning $product parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 221:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 226:13 warning mixed> duplicate found in method annotation (Magento2.Annotation.MethodArguments.DuplicateParam) 226:13 warning $offer parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 226:13 warning $product parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 226:13 warning $schemas parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/Checker/LinkRelationsChecker.php 87:125 warning Line exceeds 120 characters; contains 125 characters (Generic.Files.LineLength.TooLong) 170:13 warning $html parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 232:26 warning The use of function parse_url() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 233:43 warning The use of function basename() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) Model/ResourceModel/AuditResult/Grid/Collection.php 40:12 warning Possible useless method overriding detected (Generic.CodeAnalysis.UselessOverridingMethod.Found) Model/Report/CheckResult.php 24:12 warning $checkName parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 43:19 warning $checkName parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 43:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 71:19 warning $checkName parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 71:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 101:19 warning $checkName parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 101:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 225:28 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) Console/Command/AeoAuditCommand.php 166:24 warning The use of function dirname() is discouraged; use Magento\Framework\Filesystem\DriverInterface::getParentDirectory() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) Test/Unit/Service/BotRegistryTest.php 24:13 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 61:13 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) Test/Unit/Service/HttpCacheTest.php 15:18 warning There must be 1 space after the property type declaration; 8 found (PSR2.Classes.PropertyDeclaration.SpacingAfterType) 17:13 warning There must be 1 space after the property type declaration; 14 found (PSR2.Classes.PropertyDeclaration.SpacingAfterType) Test/Unit/Model/Checker/OpenGraphCheckerTest.php 50:15 warning Line exceeds 120 characters; contains 134 characters (Generic.Files.LineLength.TooLong) Test/Unit/Model/Checker/UcpProfileCheckerTest.php 120:16 warning Opening parenthesis of a multi-line function call must be the last content on the line (PSR2.Methods.FunctionCallSignature.ContentAfterOpenBracket) 120:63 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) 120:68 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) 121:1 warning Multi-line function call not indented correctly; expected 8 spaces but found 12 (PSR2.Methods.FunctionCallSignature.Indent) 121:44 warning Closing parenthesis of a multi-line function call must be on a line by itself (PSR2.Methods.FunctionCallSignature.CloseBracketLine) 129:16 warning Opening parenthesis of a multi-line function call must be the last content on the line (PSR2.Methods.FunctionCallSignature.ContentAfterOpenBracket) 129:63 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) 129:68 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) 130:1 warning Multi-line function call not indented correctly; expected 8 spaces but found 12 (PSR2.Methods.FunctionCallSignature.Indent) 130:51 warning Closing parenthesis of a multi-line function call must be on a line by itself (PSR2.Methods.FunctionCallSignature.CloseBracketLine) Test/Unit/Model/Report/CheckResultTest.php 82:27 warning Opening parenthesis of a multi-line function call must be the last content on the line (PSR2.Methods.FunctionCallSignature.ContentAfterOpenBracket) 82:37 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) 82:43 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) 82:47 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) 82:52 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments)