Magento Coding Standard (PHPCS) report for majerome/magento2-module-sentimate ============================================================================= Package version: 1.0.2 | Magento: 2.4.9 | Tested: 2026-05-26 1 error, 20 warnings in 6 files ViewModel/ReviewSentiment.php 21:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) 35:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) 42:11 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) Model/RapidApi.php 37:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) 51:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) 95:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) 114:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) 132:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) Model/ReviewSentimentService.php 25:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) 37:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) 55:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) Model/ReviewConsumer.php 55:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 56:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Observer/AddReviewToQueue.php 26:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) 28:5 warning Function closing brace must go on the next line following the body; found 1 blank lines before brace (PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose) 39:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) view/frontend/templates/review/product/view/list.phtml 48:78 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 48:129 warning Line exceeds 120 characters; contains 130 characters (Generic.Files.LineLength.TooLong) 54:46 warning Line indented incorrectly; expected at least 48 spaces, found 45 (Generic.WhiteSpace.ScopeIndent.Incorrect) 55:46 warning Line indented incorrectly; expected at least 48 spaces, found 45 (Generic.WhiteSpace.ScopeIndent.Incorrect) 56:46 warning Line indented incorrectly; expected at least 48 spaces, found 45 (Generic.WhiteSpace.ScopeIndent.Incorrect)