Magento Coding Standard (PHPCS) report for angeo/module-openai-product-feed-api =============================================================================== Package version: 2.0.1 | Magento: 2.4.9 | Tested: 2026-07-06 136 warnings in 11 files Model/Product/ProductsService.php 49:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 57:8 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 61:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 85:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 90:122 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) 140:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 154:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 219:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 236:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 267:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 273:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 279:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 289:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 296:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/Promotion/PromotionsService.php 20:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 28:8 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 32:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 46:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 51:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 97:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 113:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 128:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 166:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 172:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/Promotion/PromotionMapper.php 49:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 54:8 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 56:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 57:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 59:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 95:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 128:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 163:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 185:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 200:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/Mapper/ProductMapper.php 52:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 60:8 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 69:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 94:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 116:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 127:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 145:11 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) 160:19 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) 160:38 warning Newline required after opening brace (Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace) 160:39 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 169:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 183:15 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) 186:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 196:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 238:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 249:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 257:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 270:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 281:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 301:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 324:11 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) 324:30 warning Newline required after opening brace (Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace) 324:31 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 331:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 344:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 378:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 390:11 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) 390:30 warning Newline required after opening brace (Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace) 390:31 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 395:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 415:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 424:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/Feed/FeedService.php 11:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 11:78 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 11:79 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 13:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 18:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 23:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/Feed/FeedRepository.php 35:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 40:8 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 48:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 90:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 106:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 107:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 109:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 126:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 137:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 147:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Test/Unit/Model/Product/ProductsServiceTest.php 21:28 warning There must be 1 space after the property type declaration; 6 found (PSR2.Classes.PropertyDeclaration.SpacingAfterType) 21:44 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 22:27 warning There must be 1 space after the property type declaration; 7 found (PSR2.Classes.PropertyDeclaration.SpacingAfterType) 22:44 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 23:31 warning There must be 1 space after the property type declaration; 3 found (PSR2.Classes.PropertyDeclaration.SpacingAfterType) 23:44 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 24:28 warning There must be 1 space after the property type declaration; 6 found (PSR2.Classes.PropertyDeclaration.SpacingAfterType) 24:44 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 25:44 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 26:29 warning There must be 1 space after the property type declaration; 5 found (PSR2.Classes.PropertyDeclaration.SpacingAfterType) 26:44 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 27:23 warning There must be 1 space after the property type declaration; 13 found (PSR2.Classes.PropertyDeclaration.SpacingAfterType) 27:46 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 28:13 warning There must be 1 space after the property type declaration; 16 found (PSR2.Classes.PropertyDeclaration.SpacingAfterType) 28:44 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 100:160 warning Line exceeds 120 characters; contains 160 characters (Generic.Files.LineLength.TooLong) 111:160 warning Line exceeds 120 characters; contains 160 characters (Generic.Files.LineLength.TooLong) 123:160 warning Line exceeds 120 characters; contains 160 characters (Generic.Files.LineLength.TooLong) 135:160 warning Line exceeds 120 characters; contains 160 characters (Generic.Files.LineLength.TooLong) 147:160 warning Line exceeds 120 characters; contains 160 characters (Generic.Files.LineLength.TooLong) 170:160 warning Line exceeds 120 characters; contains 160 characters (Generic.Files.LineLength.TooLong) 196:160 warning Line exceeds 120 characters; contains 160 characters (Generic.Files.LineLength.TooLong) Test/Unit/Model/Promotion/PromotionMapperTest.php 22:46 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 23:50 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 24:46 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 25:29 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 59:122 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) 61:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) Test/Unit/Model/Promotion/PromotionsServiceTest.php 23:28 warning There must be 1 space after the property type declaration; 7 found (PSR2.Classes.PropertyDeclaration.SpacingAfterType) 23:45 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 24:29 warning There must be 1 space after the property type declaration; 6 found (PSR2.Classes.PropertyDeclaration.SpacingAfterType) 24:45 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 25:48 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 26:46 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 27:28 warning There must be 1 space after the property type declaration; 7 found (PSR2.Classes.PropertyDeclaration.SpacingAfterType) 27:45 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 28:33 warning There must be 1 space after the property type declaration; 2 found (PSR2.Classes.PropertyDeclaration.SpacingAfterType) 28:45 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 29:13 warning There must be 1 space after the property type declaration; 15 found (PSR2.Classes.PropertyDeclaration.SpacingAfterType) 29:45 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) Test/Unit/Model/Feed/FeedServiceTest.php 15:39 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 16:25 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 26:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 36:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) Test/Unit/Model/Feed/FeedRepositoryTest.php 20:32 warning There must be 1 space after the property type declaration; 3 found (PSR2.Classes.PropertyDeclaration.SpacingAfterType) 20:45 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 21:30 warning There must be 1 space after the property type declaration; 5 found (PSR2.Classes.PropertyDeclaration.SpacingAfterType) 21:45 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 22:45 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 23:20 warning There must be 1 space after the property type declaration; 15 found (PSR2.Classes.PropertyDeclaration.SpacingAfterType) 23:45 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 24:49 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 25:13 warning There must be 1 space after the property type declaration; 18 found (PSR2.Classes.PropertyDeclaration.SpacingAfterType) 25:45 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing)