Magento Coding Standard (PHPCS) report for bydn/improved-page-cache =================================================================== Package version: 1.0.4 | Magento: 2.4.9 | Tested: 2026-05-26 4 errors, 223 warnings in 13 files Plugin/Magento/Framework/App/Http/Context.php 54:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 55:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 80:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 80:53 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 83:9 warning Expected "if (...) {\n"; found "if (...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 83:9 warning Expected 1 space after IF keyword; 2 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 92:17 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) Plugin/Magento/CacheInvalidate/Model/PurgeCache.php 93:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 115:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 132:9 warning Expected "if (...) {\n"; found "if (...) { " (PEAR.ControlStructures.ControlSignature.Found) 132:30 warning Expected 1 space after closing parenthesis; found 12 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 132:43 warning Newline required after opening brace (Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace) 132:110 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 133:9 warning Expected "if (...) {\n"; found "if (...) { " (PEAR.ControlStructures.ControlSignature.Found) 133:33 warning Expected 1 space after closing parenthesis; found 9 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 133:43 warning Newline required after opening brace (Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace) 133:110 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 134:9 warning Expected "if (...) {\n"; found "if (...) { " (PEAR.ControlStructures.ControlSignature.Found) 134:36 warning Expected 1 space after closing parenthesis; found 6 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 134:43 warning Newline required after opening brace (Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace) 134:110 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 135:9 warning Expected "if (...) {\n"; found "if (...) { " (PEAR.ControlStructures.ControlSignature.Found) 135:36 warning Expected 1 space after closing parenthesis; found 6 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 135:43 warning Newline required after opening brace (Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace) 135:110 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 136:9 warning Expected "if (...) {\n"; found "if (...) { " (PEAR.ControlStructures.ControlSignature.Found) 136:43 warning Newline required after opening brace (Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace) 136:110 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 137:9 warning Expected "if (...) {\n"; found "if (...) { " (PEAR.ControlStructures.ControlSignature.Found) 137:38 warning Expected 1 space after closing parenthesis; found 4 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 137:43 warning Newline required after opening brace (Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace) 137:110 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 138:9 warning Expected "if (...) {\n"; found "if (...) { " (PEAR.ControlStructures.ControlSignature.Found) 138:32 warning Expected 1 space after closing parenthesis; found 10 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 138:43 warning Newline required after opening brace (Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace) 138:110 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 139:9 warning Expected "if (...) {\n"; found "if (...) { " (PEAR.ControlStructures.ControlSignature.Found) 139:36 warning Expected 1 space after closing parenthesis; found 6 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 139:43 warning Newline required after opening brace (Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace) 139:110 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 140:9 warning Expected "if (...) {\n"; found "if (...) { " (PEAR.ControlStructures.ControlSignature.Found) 140:32 warning Expected 1 space after closing parenthesis; found 10 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 140:43 warning Newline required after opening brace (Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace) 140:110 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 159:17 error Identical operator === is not used for testing the return value of stripos function (Magento2.PHP.ReturnValueCheck.ImproperValueTesting) 162:17 error Identical operator === is not used for testing the return value of stripos function (Magento2.PHP.ReturnValueCheck.ImproperValueTesting) 167:17 error Identical operator === is not used for testing the return value of stripos function (Magento2.PHP.ReturnValueCheck.ImproperValueTesting) 172:17 error Identical operator === is not used for testing the return value of stripos function (Magento2.PHP.ReturnValueCheck.ImproperValueTesting) 188:9 warning Line exceeds 120 characters; contains 140 characters (Generic.Files.LineLength.TooLong) 202:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 203:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 215:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 218:47 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 221:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 248:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 251:48 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 254:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 281:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 284:44 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 287:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 313:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 316:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 316:51 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 322:1 warning Multi-line function call not indented correctly; expected 12 spaces but found 16 (PSR2.Methods.FunctionCallSignature.Indent) 322:26 warning Closing parenthesis of a multi-line function call must be on a line by itself (PSR2.Methods.FunctionCallSignature.CloseBracketLine) 328:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 331:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 331:52 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 337:1 warning Multi-line function call not indented correctly; expected 12 spaces but found 16 (PSR2.Methods.FunctionCallSignature.Indent) 337:26 warning Closing parenthesis of a multi-line function call must be on a line by itself (PSR2.Methods.FunctionCallSignature.CloseBracketLine) 343:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 346:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 346:48 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 352:1 warning Multi-line function call not indented correctly; expected 12 spaces but found 16 (PSR2.Methods.FunctionCallSignature.Indent) 352:26 warning Closing parenthesis of a multi-line function call must be on a line by itself (PSR2.Methods.FunctionCallSignature.CloseBracketLine) 358:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 361:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 361:13 warning Empty FUNCTION statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedFunction) 361:52 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 371:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Helper/Config.php 91:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Helper/RequestInfo.php 36:13 warning Class properties must have type declaration using @var tag. (Magento2.Commenting.ClassPropertyPHPDocFormatting.MissingVar) 41:13 warning Class properties must have type declaration using @var tag. (Magento2.Commenting.ClassPropertyPHPDocFormatting.MissingVar) 46:12 warning Possible useless method overriding detected (Generic.CodeAnalysis.UselessOverridingMethod.Found) 56:37 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 65:42 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 69:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 70:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 70:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 73:47 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 82:40 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 91:45 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 95:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 96:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 96:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 99:50 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 108:40 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 117:45 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 121:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 122:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 122:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 125:50 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 134:39 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 143:46 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 147:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 148:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 148:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 151:51 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) Model/Queue/Publisher.php 34:1 warning PHP keywords must be lowercase; expected "class" but found "Class" (Generic.PHP.LowerCaseKeyword.Found) 124:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 125:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 125:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 126:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 127:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 138:125 warning Line exceeds 120 characters; contains 125 characters (Generic.Files.LineLength.TooLong) 166:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 177:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 191:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 204:21 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 220:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 245:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 259:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 273:9 warning Line exceeds 120 characters; contains 138 characters (Generic.Files.LineLength.TooLong) 285:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 299:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 300:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 300:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 311:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 312:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 312:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 333:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 334:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 334:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 335:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 344:13 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 345:13 warning Expected "} else if (...) {\n"; found "}\n else if (...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 345:13 warning Usage of ELSE IF is discouraged; use ELSEIF instead (PSR2.ControlStructures.ElseIfDeclaration.NotAllowed) 359:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 367:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 368:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 371:46 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 378:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 379:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 381:45 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 395:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 396:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 398:42 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) Model/Queue/Consumer.php 160:13 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 161:13 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 263:24 warning The use of function curl_multi_init() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 269:19 warning The use of function curl_init() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 270:13 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 271:13 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 272:13 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 273:13 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 274:13 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 276:13 warning The use of function curl_multi_add_handle() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 282:20 warning The use of function curl_multi_exec() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 286:17 warning The use of function curl_multi_select() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 288:28 warning The use of function curl_multi_exec() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 294:25 warning The use of function curl_getinfo() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 303:13 warning The use of function curl_multi_remove_handle() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 304:13 warning The use of function curl_close() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 307:9 warning The use of function curl_multi_close() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) Model/WarmItem/Priority.php 22:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/WarmItem/Status.php 21:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/WarmItem/Types.php 17:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 18:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 19:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 20:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 21:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 23:5 warning The static declaration must come after the visibility declaration (PSR2.Methods.MethodDeclaration.StaticBeforeVisibility) 23:19 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Observer/WidgetsCache.php 48:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 48:12 warning $cachePool parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 48:12 warning $cacheState parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 62:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 63:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 74:13 warning Expected "if (...) {\n"; found "if (...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 74:13 warning Expected 1 space after IF keyword; 2 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 74:18 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 78:17 warning Expected "if (...) {\n"; found "if (...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 78:17 warning Expected 1 space after IF keyword; 2 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 81:35 warning array_merge(...) is used in a loop and is a resources greedy construction. (Magento2.Performance.ForeachArrayMerge.ForeachArrayMerge) 84:13 warning Expected "if (...) {\n"; found "if (...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 84:13 warning Expected 1 space after IF keyword; 2 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 84:18 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 88:17 warning Expected "if (...) {\n"; found "if (...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 88:17 warning Expected 1 space after IF keyword; 2 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 91:35 warning array_merge(...) is used in a loop and is a resources greedy construction. (Magento2.Performance.ForeachArrayMerge.ForeachArrayMerge) 99:13 warning Expected "if (...) {\n"; found "if (...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 99:13 warning Expected 1 space after IF keyword; 2 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 99:18 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 103:17 warning Expected "if (...) {\n"; found "if (...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 103:17 warning Expected 1 space after IF keyword; 2 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 106:35 warning array_merge(...) is used in a loop and is a resources greedy construction. (Magento2.Performance.ForeachArrayMerge.ForeachArrayMerge) 109:13 warning Expected "if (...) {\n"; found "if (...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 109:13 warning Expected 1 space after IF keyword; 2 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 109:18 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 113:17 warning Expected "if (...) {\n"; found "if (...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 113:17 warning Expected 1 space after IF keyword; 2 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 116:35 warning array_merge(...) is used in a loop and is a resources greedy construction. (Magento2.Performance.ForeachArrayMerge.ForeachArrayMerge) 124:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 125:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 143:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 144:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 146:51 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 157:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 158:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 182:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) Console/Warm.php 22: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 Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 42:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 57:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 58:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Console/Enqueue.php 32:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 34: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) 60: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) 66:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 67:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 110:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 111:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Cron/Warm.php 42:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound)