Magento Coding Standard (PHPCS) report for younitedcredit/younitedpay-module-magento2 ===================================================================================== Package version: 1.1.4 | Magento: 2.4.9 | Tested: 2026-06-07 28 errors, 290 warnings in 29 files Helper/Maturity.php 28:1 warning PHP keywords must be lowercase; expected "use" but found "Use" (Generic.PHP.LowerCaseKeyword.Found) 388:69 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 456:20 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 460:130 warning Line exceeds 120 characters; contains 130 characters (Generic.Files.LineLength.TooLong) 512:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Helper/Config.php 27:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 28:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 29:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 30:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 32:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 33:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 35:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 36:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 37:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 38:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 39:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 40:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 41:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 43:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 44:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 45:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 47:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 48:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 49:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 50:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) Helper/YounitedClient.php 69:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 74:6 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 75: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) 101:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 101:40 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 120:15 warning The use of function curl_init() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 121:9 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 122:9 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 123:9 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 124:9 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 125:9 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 126:9 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 128:19 warning The use of function curl_exec() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 129:13 warning The use of function curl_errno() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 130:21 warning The use of function curl_getinfo() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 133:9 warning The use of function curl_close() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 137:143 warning Line exceeds 120 characters; contains 143 characters (Generic.Files.LineLength.TooLong) 138:141 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 138:166 warning Line exceeds 120 characters; contains 166 characters (Generic.Files.LineLength.TooLong) 140:97 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 194:21 warning The use of function curl_init() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 197:9 warning The use of function curl_setopt_array() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 200:19 warning The use of function curl_exec() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 201:18 warning The use of function curl_getinfo() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 203:17 warning The use of function curl_errno() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 211:60 warning The use of function curl_error() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 215:9 warning The use of function curl_close() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 220:97 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 257:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/Payment/Younited.php 121:8 warning $directory parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 122:8 warning $data parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) Model/Logger/YounitedLogger.php 47:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 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) 57:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 62:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 67:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 72:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 77:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/Logger/YounitedLoggerMonolog.php 24:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/Logger/YounitedLoggerHandler.php 51:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/YounitedCacheHandler.php 34:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 41:8 warning Short description must start with a capital letter (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 59:8 warning Short description must start with a capital letter (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 65:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 80:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) 80:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Model/Cache/YounitedCache.php 27:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 32:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) Observer/ObserverConfig.php 44:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 45:42 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 55:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 70:9 warning Expected "foreach (...) {\n"; found "foreach (...) \n {\n" (PEAR.ControlStructures.ControlSignature.Found) 70:34 warning Expected 1 space after closing parenthesis; found newline (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 70:35 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 75:9 warning Expected "foreach (...) {\n"; found "foreach (...) \n {\n" (PEAR.ControlStructures.ControlSignature.Found) 75:60 warning Expected 1 space after closing parenthesis; found newline (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 75:61 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) Controller/Adminhtml/Cache/Clean.php 27:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) Controller/Contract/Successold.php 110:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 181:136 warning Line exceeds 120 characters; contains 136 characters (Generic.Files.LineLength.TooLong) 209:10 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 211:9 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 247:75 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 248:30 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 293:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 348:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Controller/Contract/Success.php 180:136 warning Line exceeds 120 characters; contains 136 characters (Generic.Files.LineLength.TooLong) 208:10 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 210:9 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 246:75 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 247:30 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 292:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 347:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Controller/Contract/Webhookold.php 122:52 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 122:130 warning Line exceeds 120 characters; contains 130 characters (Generic.Files.LineLength.TooLong) 142:132 warning Line exceeds 120 characters; contains 132 characters (Generic.Files.LineLength.TooLong) 192:15 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) 192:15 warning Expected 1 space after CATCH keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 210:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 235:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Controller/Contract/Webhook.php 83:8 warning $context parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 84:8 warning $orderManagement parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 85:8 warning $logger parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 86:8 warning $client parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 90:12 warning Extra @param found in method annotation (Magento2.Annotation.MethodArguments.ExtraParam) 90:12 warning $logger duplicate found in method annotation (Magento2.Annotation.MethodArguments.DuplicateParam) 98:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 9 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 99:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 9 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 123:52 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 123:130 warning Line exceeds 120 characters; contains 130 characters (Generic.Files.LineLength.TooLong) 143:132 warning Line exceeds 120 characters; contains 132 characters (Generic.Files.LineLength.TooLong) 193:15 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) 193:15 warning Expected 1 space after CATCH keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 211:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 236:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Controller/Ajax/Maturity.php 58:8 warning $resultRawFactory parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 59:8 warning $layoutFactory parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 60:8 warning $jsonResultFactory parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 61:8 warning $resultLayoutFactory parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 94:39 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 103:66 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 116:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Controller/Order/Contract.php 27:1 warning PHP keywords must be lowercase; expected "use" but found "Use" (Generic.PHP.LowerCaseKeyword.Found) 291:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 408:8 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 410:5 warning Expected 5 spaces before asterisk; 4 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 411:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 418:167 warning Line exceeds 120 characters; contains 167 characters (Generic.Files.LineLength.TooLong) 421:172 warning Line exceeds 120 characters; contains 172 characters (Generic.Files.LineLength.TooLong) view/frontend/templates/order/info.phtml 31:31 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 31:85 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 36:60 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 39:53 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 42:46 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) view/frontend/templates/product/widget.phtml 36:37 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 37:34 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 38:33 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 39:33 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 44:74 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 45:38 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 48:17 warning Line indented incorrectly; expected at least 20 spaces, found 16 (Generic.WhiteSpace.ScopeIndent.Incorrect) 49:21 warning Line indented incorrectly; expected at least 24 spaces, found 20 (Generic.WhiteSpace.ScopeIndent.Incorrect) 50:21 warning Line indented incorrectly; expected at least 24 spaces, found 20 (Generic.WhiteSpace.ScopeIndent.Incorrect) 51:21 warning Line indented incorrectly; expected at least 24 spaces, found 20 (Generic.WhiteSpace.ScopeIndent.Incorrect) 52:128 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 52:133 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 52:154 warning Line exceeds 120 characters; contains 154 characters (Generic.Files.LineLength.TooLong) 53:39 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 54:52 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 55:50 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 56:54 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 57:48 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 58:47 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 59:55 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 60:57 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 64:67 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 67:49 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 72:21 warning Line indented incorrectly; expected at least 24 spaces, found 20 (Generic.WhiteSpace.ScopeIndent.Incorrect) 74:17 warning Line indented incorrectly; expected at least 20 spaces, found 16 (Generic.WhiteSpace.ScopeIndent.Incorrect) 78:1 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 80:36 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 84:29 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 84:159 warning Line exceeds 120 characters; contains 160 characters (Generic.Files.LineLength.TooLong) 90:41 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 93:35 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 98:1 warning Line exceeds 120 characters; contains 177 characters (Generic.Files.LineLength.TooLong) 100:1 warning Line exceeds 120 characters; contains 207 characters (Generic.Files.LineLength.TooLong) 101:1 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) 102:1 warning Line exceeds 120 characters; contains 141 characters (Generic.Files.LineLength.TooLong) 103:1 warning Line exceeds 120 characters; contains 365 characters (Generic.Files.LineLength.TooLong) 108:57 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 113:39 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 117:39 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 121:39 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 125:39 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 135:66 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 135:124 warning Line exceeds 120 characters; contains 137 characters (Generic.Files.LineLength.TooLong) 138:51 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 138:109 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) 142:1 warning Line exceeds 120 characters; contains 156 characters (Generic.Files.LineLength.TooLong) 145:41 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 149:29 warning Line indented incorrectly; expected at least 32 spaces, found 28 (Generic.WhiteSpace.ScopeIndent.Incorrect) 150:29 warning Line indented incorrectly; expected at least 32 spaces, found 28 (Generic.WhiteSpace.ScopeIndent.Incorrect) 151:33 warning Line indented incorrectly; expected at least 36 spaces, found 32 (Generic.WhiteSpace.ScopeIndent.Incorrect) 152:33 warning Line indented incorrectly; expected at least 36 spaces, found 32 (Generic.WhiteSpace.ScopeIndent.Incorrect) 153:140 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 153:145 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 153:165 warning Line exceeds 120 characters; contains 165 characters (Generic.Files.LineLength.TooLong) 154:51 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 155:64 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 156:62 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 157:66 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 158:60 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 159:59 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 160:67 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 161:69 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 165:79 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 168:61 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 173:33 warning Line indented incorrectly; expected at least 36 spaces, found 32 (Generic.WhiteSpace.ScopeIndent.Incorrect) 177:1 warning Line exceeds 120 characters; contains 137 characters (Generic.Files.LineLength.TooLong) 178:41 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 180:84 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 180:118 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 181:45 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 186:45 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 188:49 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 190:45 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 196:1 warning Line exceeds 120 characters; contains 130 characters (Generic.Files.LineLength.TooLong) 197:58 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 199:77 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 199:135 warning Line exceeds 120 characters; contains 148 characters (Generic.Files.LineLength.TooLong) 203:111 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 203:139 warning Line exceeds 120 characters; contains 149 characters (Generic.Files.LineLength.TooLong) 205:78 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 205:134 warning Line exceeds 120 characters; contains 147 characters (Generic.Files.LineLength.TooLong) 209:111 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 209:155 warning Line exceeds 120 characters; contains 165 characters (Generic.Files.LineLength.TooLong) 211:80 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 211:140 warning Line exceeds 120 characters; contains 153 characters (Generic.Files.LineLength.TooLong) 217:88 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 219:61 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 223:76 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 223:135 warning Line exceeds 120 characters; contains 143 characters (Generic.Files.LineLength.TooLong) 226:1 warning Line exceeds 120 characters; contains 125 characters (Generic.Files.LineLength.TooLong) 227:49 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 229:75 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 229:129 warning Line exceeds 120 characters; contains 137 characters (Generic.Files.LineLength.TooLong) 237:37 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 237:167 warning Line exceeds 120 characters; contains 168 characters (Generic.Files.LineLength.TooLong) 242:37 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 254:45 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 255:48 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 256:47 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) view/frontend/web/css/source/_module.less 23:1 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed) 30:24 warning CSS colours must be defined in lowercase; expected #dddbdf but found #DDDBDF (Magento2.Less.ColourDefinition.NotLower) 35:24 warning CSS colours must be defined in lowercase; expected #6200fe but found #6200FE (Magento2.Less.ColourDefinition.NotLower) 36:24 warning CSS colours must be defined in lowercase; expected #efe6ff but found #EFE6FF (Magento2.Less.ColourDefinition.NotLower) 49:21 warning Spaces should be before and after combinators (Magento2.Less.CombinatorIndentation.NoSpaces) 49:34 warning Spaces should be before and after combinators (Magento2.Less.CombinatorIndentation.NoSpaces) 49:42 warning Spaces should be before and after combinators (Magento2.Less.CombinatorIndentation.NoSpaces) 49:55 warning Spaces should be before and after combinators (Magento2.Less.CombinatorIndentation.NoSpaces) 49:68 warning Spaces should be before and after combinators (Magento2.Less.CombinatorIndentation.NoSpaces) 49:76 warning Spaces should be before and after combinators (Magento2.Less.CombinatorIndentation.NoSpaces) 49:84 warning Spaces should be before and after combinators (Magento2.Less.CombinatorIndentation.NoSpaces) 49:92 warning Spaces should be before and after combinators (Magento2.Less.CombinatorIndentation.NoSpaces) 49:105 warning Spaces should be before and after combinators (Magento2.Less.CombinatorIndentation.NoSpaces) 49:113 warning Spaces should be before and after combinators (Magento2.Less.CombinatorIndentation.NoSpaces) 49:121 warning Spaces should be before and after combinators (Magento2.Less.CombinatorIndentation.NoSpaces) 49:129 warning Spaces should be before and after combinators (Magento2.Less.CombinatorIndentation.NoSpaces) 49:137 warning Spaces should be before and after combinators (Magento2.Less.CombinatorIndentation.NoSpaces) 49:145 warning Spaces should be before and after combinators (Magento2.Less.CombinatorIndentation.NoSpaces) 49:153 warning Spaces should be before and after combinators (Magento2.Less.CombinatorIndentation.NoSpaces) 49:161 warning Spaces should be before and after combinators (Magento2.Less.CombinatorIndentation.NoSpaces) 49:169 warning Spaces should be before and after combinators (Magento2.Less.CombinatorIndentation.NoSpaces) 58:21 warning Spaces should be before and after combinators (Magento2.Less.CombinatorIndentation.NoSpaces) 58:34 warning Spaces should be before and after combinators (Magento2.Less.CombinatorIndentation.NoSpaces) 58:42 warning Spaces should be before and after combinators (Magento2.Less.CombinatorIndentation.NoSpaces) 58:55 warning Spaces should be before and after combinators (Magento2.Less.CombinatorIndentation.NoSpaces) 58:68 warning Spaces should be before and after combinators (Magento2.Less.CombinatorIndentation.NoSpaces) 58:76 warning Spaces should be before and after combinators (Magento2.Less.CombinatorIndentation.NoSpaces) 58:84 warning Spaces should be before and after combinators (Magento2.Less.CombinatorIndentation.NoSpaces) 58:92 warning Spaces should be before and after combinators (Magento2.Less.CombinatorIndentation.NoSpaces) 58:105 warning Spaces should be before and after combinators (Magento2.Less.CombinatorIndentation.NoSpaces) 58:113 warning Spaces should be before and after combinators (Magento2.Less.CombinatorIndentation.NoSpaces) 58:121 warning Spaces should be before and after combinators (Magento2.Less.CombinatorIndentation.NoSpaces) 58:129 warning Spaces should be before and after combinators (Magento2.Less.CombinatorIndentation.NoSpaces) 58:137 warning Spaces should be before and after combinators (Magento2.Less.CombinatorIndentation.NoSpaces) 58:145 warning Spaces should be before and after combinators (Magento2.Less.CombinatorIndentation.NoSpaces) 58:153 warning Spaces should be before and after combinators (Magento2.Less.CombinatorIndentation.NoSpaces) 58:161 warning Spaces should be before and after combinators (Magento2.Less.CombinatorIndentation.NoSpaces) 58:169 warning Spaces should be before and after combinators (Magento2.Less.CombinatorIndentation.NoSpaces) 95:30 warning Style definitions must end with a semicolon (Magento2.Less.SemicolonSpacing.NotAtEnd) 106:15 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes) view/adminhtml/templates/order/info.phtml 30:23 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 30:77 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 36:33 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 39:38 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 50:33 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 53:38 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) view/adminhtml/templates/system/config/cache.phtml 27:27 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 29:27 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 31:27 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 39:42 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 58:71 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 86:38 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 88:42 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 89:51 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 91:46 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 92:46 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) Test/Unit/Model/Source/LocationTest.php 25:1 warning Duplicate class name "YounitedCredit\YounitedPay\Test\Unit\Model\Config\Source\LocationTest" found; first defined in /data/vendor/younitedcredit/younitedpay-module-magento2/Test/Unit/Model/Config/Source/LocationTest.php on line 25 (Generic.Classes.DuplicateClassName.Found) Test/Unit/Model/Source/ModeTest.php 25:1 warning Duplicate class name "YounitedCredit\YounitedPay\Test\Unit\Model\Config\Source\ModeTest" found; first defined in /data/vendor/younitedcredit/younitedpay-module-magento2/Test/Unit/Model/Config/Source/ModeTest.php on line 25 (Generic.Classes.DuplicateClassName.Found) Block/Adminhtml/Form/Field/MaturitiesConfig.php 49:12 warning Extra @param found in method annotation (Magento2.Annotation.MethodArguments.ExtraParam) Block/Adminhtml/Form/Field/Maturities.php 24:1 warning PHP keywords must be lowercase; expected "use" but found "Use" (Generic.PHP.LowerCaseKeyword.Found) Block/Adminhtml/System/Config/Requirements.php 27:1 warning PHP keywords must be lowercase; expected "use" but found "Use" (Generic.PHP.LowerCaseKeyword.Found) 32:5 warning Expected 0 spaces before opening brace; 4 found (PSR2.Classes.ClassDeclaration.SpaceBeforeBrace) 45:8 warning $client parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 46:8 warning $data parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 92:26 warning The use of function curl_version() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 96:19 warning The use of function curl_init() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 97:13 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 98:21 warning The use of function curl_exec() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 99:13 warning The use of function curl_close() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) Block/Adminhtml/System/Config/Gtc.php 32:6 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 36:11 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) 92:78 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 94:44 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 94:83 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) Block/Product/Widget.php 29:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 30:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 31:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 32:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 186:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 330:132 warning Line exceeds 120 characters; contains 132 characters (Generic.Files.LineLength.TooLong)