Magento Coding Standard (PHPCS) report for angeo/module-llms-txt ================================================================ Package version: 4.3.3 | Magento: 2.4.9 | Tested: 2026-09-16 129 warnings in 31 files Service/GenerationService.php 44:12 warning $skip parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/Stock/SalableStatusResolver.php 54:19 warning Class properties must have type declaration using @var tag. (Magento2.Commenting.ClassPropertyPHPDocFormatting.MissingVar) Model/Pipeline/ChangeDetector.php 56:13 warning Space found after opening bracket of FOREACH loop (Squiz.ControlStructures.ForEachLoopDeclaration.SpaceAfterOpen) 56:13 warning Space found before closing bracket of FOREACH loop (Squiz.ControlStructures.ForEachLoopDeclaration.SpaceBeforeClose) 56:22 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) Model/Pipeline/SinglePassGenerator.php 57:12 warning $storeManager parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 57:12 warning $filesystem parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 85:32 warning Class properties must have type declaration using @var tag. (Magento2.Commenting.ClassPropertyPHPDocFormatting.MissingVar) 87:41 warning Class properties must have type declaration using @var tag. (Magento2.Commenting.ClassPropertyPHPDocFormatting.MissingVar) 89:39 warning Class properties must have type declaration using @var tag. (Magento2.Commenting.ClassPropertyPHPDocFormatting.MissingVar) 91:38 warning Class properties must have type declaration using @var tag. (Magento2.Commenting.ClassPropertyPHPDocFormatting.MissingVar) 99:12 warning $skip parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 135:13 warning $store parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 135:13 warning Function's nesting level (7) exceeds 5; consider refactoring the function (Generic.Metrics.NestingLevel.TooHigh) 318:19 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) 358:13 warning $store parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 431:19 warning The use of function dirname() is discouraged; use Magento\Framework\Filesystem\DriverInterface::getParentDirectory() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 435:19 warning The use of function fopen() is discouraged; use Magento\Framework\Filesystem\DriverInterface::fileOpen() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 439:14 warning The use of function flock() is discouraged; use Magento\Framework\Filesystem\DriverInterface::fileLock() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 440:13 warning The use of function fclose() is discouraged; use Magento\Framework\Filesystem\DriverInterface::fileClose() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 449:13 warning $directory parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 452:13 warning The use of function flock() is discouraged; use Magento\Framework\Filesystem\DriverInterface::fileLock() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 453:13 warning The use of function fclose() is discouraged; use Magento\Framework\Filesystem\DriverInterface::fileClose() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) Model/Pipeline/Provider/ProductEntityProvider.php 192:13 warning $product parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 235:13 warning $product parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/Pipeline/Renderer/AbstractRenderer.php 45:13 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 57:12 warning Empty FUNCTION statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedFunction) 84:15 warning $record parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/Data/GenerationStatus.php 33:52 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 33:52 warning Opening brace must be the last content on the line (Squiz.Functions.MultiLineFunctionDeclaration.ContentAfterBrace) 33:79 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 34:52 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 34:52 warning Opening brace must be the last content on the line (Squiz.Functions.MultiLineFunctionDeclaration.ContentAfterBrace) 34:76 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 35:52 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 35:52 warning Opening brace must be the last content on the line (Squiz.Functions.MultiLineFunctionDeclaration.ContentAfterBrace) 35:76 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 36:52 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 36:52 warning Opening brace must be the last content on the line (Squiz.Functions.MultiLineFunctionDeclaration.ContentAfterBrace) 36:83 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 37:52 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 37:52 warning Opening brace must be the last content on the line (Squiz.Functions.MultiLineFunctionDeclaration.ContentAfterBrace) 37:83 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 38:52 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 38:52 warning Opening brace must be the last content on the line (Squiz.Functions.MultiLineFunctionDeclaration.ContentAfterBrace) 38:78 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 39:52 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 39:52 warning Opening brace must be the last content on the line (Squiz.Functions.MultiLineFunctionDeclaration.ContentAfterBrace) 39:79 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 40:52 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 40:52 warning Opening brace must be the last content on the line (Squiz.Functions.MultiLineFunctionDeclaration.ContentAfterBrace) 40:85 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 41:52 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 41:52 warning Opening brace must be the last content on the line (Squiz.Functions.MultiLineFunctionDeclaration.ContentAfterBrace) 41:82 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) Model/Output/AgentsMdBuilder.php 71:149 warning Line exceeds 120 characters; contains 149 characters (Generic.Files.LineLength.TooLong) 74:139 warning Line exceeds 120 characters; contains 139 characters (Generic.Files.LineLength.TooLong) 77:160 warning Line exceeds 120 characters; contains 160 characters (Generic.Files.LineLength.TooLong) 80:181 warning Line exceeds 120 characters; contains 181 characters (Generic.Files.LineLength.TooLong) 83:193 warning Line exceeds 120 characters; contains 193 characters (Generic.Files.LineLength.TooLong) 86:257 warning Line exceeds 120 characters; contains 257 characters (Generic.Files.LineLength.TooLong) 143:147 warning Line exceeds 120 characters; contains 147 characters (Generic.Files.LineLength.TooLong) Model/Output/OutputContextFactory.php 34:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 35:8 warning $format parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 37:12 warning $store parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/Output/MarkdownUrl.php 42:18 warning The use of function parse_url() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 61:13 warning $parts parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/Output/AgentSurfacesBlock.php 28:12 warning $baseUrl parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 34:123 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) 37:141 warning Line exceeds 120 characters; contains 141 characters (Generic.Files.LineLength.TooLong) 40:139 warning Line exceeds 120 characters; contains 139 characters (Generic.Files.LineLength.TooLong) Model/Cache/MdMirrorCacheKey.php 31:12 warning $storeId parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/Repository/GenerationStatusRepository.php 153:19 warning The use of function fopen() is discouraged; use Magento\Framework\Filesystem\DriverInterface::fileOpen() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 157:14 warning The use of function flock() is discouraged; use Magento\Framework\Filesystem\DriverInterface::fileLock() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 158:13 warning The use of function fclose() is discouraged; use Magento\Framework\Filesystem\DriverInterface::fileClose() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 170:13 warning The use of function flock() is discouraged; use Magento\Framework\Filesystem\DriverInterface::fileLock() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 171:13 warning The use of function fclose() is discouraged; use Magento\Framework\Filesystem\DriverInterface::fileClose() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 218:13 warning $row parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/Sanitizer/Filter/HtmlFilter.php 57:20 warning The use of function html_entity_decode() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) Model/Sanitizer/Filter/PageBuilderFilter.php 131:13 warning $html parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 131:13 warning $strategy parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 224:13 warning $type parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 224:13 warning $strategy parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/Sanitizer/Sanitizer.php 33:32 warning Class properties must have type declaration using @var tag. (Magento2.Commenting.ClassPropertyPHPDocFormatting.MissingVar) Console/Command/GenerateCommand.php 46:40 warning Expected 1 space after comma in argument list; 4 found (Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma) 46:122 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) 47:74 warning Expected 1 space after comma in argument list; 4 found (Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma) 48:42 warning Expected 1 space after comma in argument list; 2 found (Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma) 48:74 warning Expected 1 space after comma in argument list; 4 found (Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma) 49:42 warning Expected 1 space after comma in argument list; 2 found (Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma) 49:74 warning Expected 1 space after comma in argument list; 4 found (Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma) 50:40 warning Expected 1 space after comma in argument list; 4 found (Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma) 50:48 warning Expected 1 space after comma in argument list; 2 found (Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma) 50:74 warning Expected 1 space after comma in argument list; 4 found (Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma) 50:134 warning Line exceeds 120 characters; contains 134 characters (Generic.Files.LineLength.TooLong) 124:13 warning $output parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Console/Command/ValidateCommand.php 111:9 warning Space found after opening bracket of FOREACH loop (Squiz.ControlStructures.ForEachLoopDeclaration.SpaceAfterOpen) 111:9 warning Space found before closing bracket of FOREACH loop (Squiz.ControlStructures.ForEachLoopDeclaration.SpaceBeforeClose) 111:18 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 189:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 196:135 warning Line exceeds 120 characters; contains 135 characters (Generic.Files.LineLength.TooLong) Controller/Adminhtml/Generate/Schedule.php 80:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) Controller/Router.php 148:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Controller/Index/Index.php 99:17 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) Controller/Index/AgenticSitemap.php 51:17 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 108:33 warning The use of function htmlspecialchars() is discouraged; use \Magento\Framework\Escaper->escapeHtml() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) Controller/Index/MdMirror.php 91:60 warning Class properties must have type declaration using @var tag. (Magento2.Commenting.ClassPropertyPHPDocFormatting.MissingVar) 98:17 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 107:17 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) view/adminhtml/templates/system/config/status_panel.phtml 30:29 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 31:21 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 32:30 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 33:25 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 34:21 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 35:37 warning Using escapeHtmlAttr on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 35:95 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) view/adminhtml/templates/system/config/generate_button.phtml 18:46 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 19:27 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 24:46 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 25:27 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 30:25 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 31:25 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) Test/Unit/Model/Generator/GenerationSummaryTest.php 23:25 warning Expected 1 space after comma in argument list; 6 found (Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma) 24:25 warning Expected 1 space after comma in argument list; 6 found (Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma) Test/Unit/Model/Output/AgentsMdBuilderTest.php 99:122 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) Test/Unit/Model/Sanitizer/Filter/PageBuilderFilterTest.php 65:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) Block/Adminhtml/System/Config/StatusPanel.php 28:12 warning Possible useless method overriding detected (Generic.CodeAnalysis.UselessOverridingMethod.Found) Block/Adminhtml/System/Config/GenerateButton.php 43:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Block/Head/LinkRelations.php 79:13 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace)