Magento Coding Standard (PHPCS) report for angeo/module-rich-data ================================================================= Package version: 1.2.0 | Magento: 2.4.9 | Tested: 2026-06-14 113 warnings in 16 files ViewModel/JsonLd.php 26:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 35:8 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 39:67 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 90:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 122:75 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 126:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 161:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 218:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/Config/Source/ItemCondition.php 11:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/Config/Source/ReturnFee.php 14:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/JsonLd/Builder/OrganizationBuilder.php 15:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 15:39 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 15:39 warning Opening brace must be the last content on the line (Squiz.Functions.MultiLineFunctionDeclaration.ContentAfterBrace) 15:64 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 17:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 22:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/JsonLd/Builder/CollectionPageBuilder.php 26:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 31:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 36:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/JsonLd/Builder/WebSiteBuilder.php 15:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 15:39 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 15:39 warning Opening brace must be the last content on the line (Squiz.Functions.MultiLineFunctionDeclaration.ContentAfterBrace) 15:59 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 17:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 22:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/JsonLd/Builder/AbstractBuilder.php 14:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 16:8 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 18:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 27:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 36:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 42:24 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/JsonLd/Builder/ProductBuilder.php 36:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 46:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 46:39 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 46:39 warning Opening brace must be the last content on the line (Squiz.Functions.MultiLineFunctionDeclaration.ContentAfterBrace) 46:59 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 48:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 53:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 67:121 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) 68:129 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) 155:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 176:50 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 178:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 209:50 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 211:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 263:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 273:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 286:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/JsonLd/Builder/BreadcrumbBuilder.php 17:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 17:39 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 17:39 warning Opening brace must be the last content on the line (Squiz.Functions.MultiLineFunctionDeclaration.ContentAfterBrace) 17:62 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 19:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 24:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/JsonLd/Builder/FaqBuilder.php 24:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 24:39 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 24:39 warning Opening brace must be the last content on the line (Squiz.Functions.MultiLineFunctionDeclaration.ContentAfterBrace) 24:55 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 26:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 31:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 66:80 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 68:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 85:65 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 87:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) Model/JsonLd/Renderer/SchemaRenderer.php 24:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 24:12 warning $logger parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 27:8 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 31:70 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 33:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 76:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) Console/Command/ValidateCommand.php 23:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 32:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 36:40 warning Expected 1 space after comma in argument list; 6 found (Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma) 37:128 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) 40:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 44:11 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) 44:30 warning Newline required after opening brace (Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace) 44:31 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 124:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 155:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Api/Data/SchemaInterface.php 27:61 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 43:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) Test/Unit/Model/JsonLd/Builder/ProductBuilderTest.php 21:34 warning There must be 1 space after the property type declaration; 2 found (PSR2.Classes.PropertyDeclaration.SpacingAfterType) 21:46 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 22:47 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 23:25 warning There must be 1 space after the property type declaration; 12 found (PSR2.Classes.PropertyDeclaration.SpacingAfterType) 23:47 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 24:47 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 25:27 warning There must be 1 space after the property type declaration; 10 found (PSR2.Classes.PropertyDeclaration.SpacingAfterType) 25:47 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 26:28 warning There must be 1 space after the property type declaration; 9 found (PSR2.Classes.PropertyDeclaration.SpacingAfterType) 26:47 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 27:21 warning There must be 1 space after the property type declaration; 16 found (PSR2.Classes.PropertyDeclaration.SpacingAfterType) 27:47 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 28:13 warning There must be 1 space after the property type declaration; 20 found (PSR2.Classes.PropertyDeclaration.SpacingAfterType) 28:47 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) Test/Unit/Model/JsonLd/Builder/FaqBuilderTest.php 15:45 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 16:28 warning There must be 1 space after the property type declaration; 7 found (PSR2.Classes.PropertyDeclaration.SpacingAfterType) 16:45 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 17:13 warning There must be 1 space after the property type declaration; 22 found (PSR2.Classes.PropertyDeclaration.SpacingAfterType) 17:45 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 50:134 warning Line exceeds 120 characters; contains 134 characters (Generic.Files.LineLength.TooLong) 65:1 warning Line exceeds 120 characters; contains 135 characters (Generic.Files.LineLength.TooLong) 66:1 warning Line exceeds 120 characters; contains 133 characters (Generic.Files.LineLength.TooLong) 128:135 warning Line exceeds 120 characters; contains 135 characters (Generic.Files.LineLength.TooLong) Test/Unit/Model/JsonLd/Renderer/SchemaRendererTest.php 16:40 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 17:28 warning There must be 1 space after the property type declaration; 2 found (PSR2.Classes.PropertyDeclaration.SpacingAfterType) 17:40 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 89:43 warning Expected 1 space after comma in argument list; 6 found (Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma) 108:123 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) 121:123 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) 122:52 warning Expected 1 space after comma in argument list; 6 found (Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma) 122:123 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong)