Magento Coding Standard (PHPCS) report for mailchimp/mc-magento2 ================================================================ Package version: 103.4.86 | Magento: 2.4.9 | Tested: 2026-09-15 690 warnings in 102 files Helper/Http.php 10:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 11:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 12:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 13:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 14:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 51:38 warning Space found before comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.SpaceBeforeComma) 55:30 warning Expected 1 space between comma and argument "$body"; 0 found (Squiz.Functions.FunctionDeclarationArgumentSpacing.NoSpaceBeforeArg) 57:49 warning Space found before comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.SpaceBeforeComma) 67:28 warning Expected 1 space between comma and argument "$body"; 0 found (Squiz.Functions.FunctionDeclarationArgumentSpacing.NoSpaceBeforeArg) 69:47 warning Space found before comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.SpaceBeforeComma) 77:17 warning The use of function is_null() is discouraged; use strict comparison "=== null"() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) Helper/Data.php 22: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 Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 24:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 25:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 26:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 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) 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) 33:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 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) 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) 42: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) 46: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) 51:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 52:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 53:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 54:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 55:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 56:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 57:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 58:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 59: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 Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 61:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 62:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 63:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 71:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 72:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 73:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 89:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 91:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 92:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 93:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 109:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 115:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 117:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 119:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 120:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 121:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 122:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 123:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 124:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 125:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 126:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 128:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 129:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 131:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 132:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 133:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 134:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 135:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 136:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 137:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 138:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 139:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 140:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 141:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 143:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 144:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 145:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 146:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 147:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 149:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 151:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 152:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 153:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 154:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 156:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 171:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 394:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 407:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 416:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 424:38 warning Incorrect spacing between argument "$store" and equals sign; expected 1 but found 0 (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpaceBeforeEquals) 424:38 warning Incorrect spacing between default value and equals sign for argument "$store"; expected 1 but found 0 (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpaceAfterEquals) 424:51 warning Incorrect spacing between argument "$scope" and equals sign; expected 1 but found 0 (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpaceBeforeEquals) 424:51 warning Incorrect spacing between default value and equals sign for argument "$scope"; expected 1 but found 0 (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpaceAfterEquals) 429:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 435:44 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 559:18 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 565:18 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 697:13 warning Expected "foreach (...) {\n"; found "foreach(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 697:13 warning Expected 1 space after FOREACH keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 781:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 806:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 807:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 990:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 1007:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 1008:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 1021:31 warning The use of the deprecated method 'getResource()' to 'save' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) 1023:5 warning Function closing brace must go on the next line following the body; found 1 blank lines before brace (PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose) 1102:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 1106:12 warning Extra @param found in method annotation (Magento2.Annotation.MethodArguments.ExtraParam) 1106:12 warning Function's nesting level (7) exceeds 5; consider refactoring the function (Generic.Metrics.NestingLevel.TooHigh) 1125:26 warning Line indented incorrectly; expected at least 28 spaces, found 25 (Generic.WhiteSpace.ScopeIndent.Incorrect) 1128:17 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 1129:17 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 1131:26 warning The use of function is_null() is discouraged; use strict comparison "=== null"() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 1164:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 1167:8 warning $value parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 1170:13 warning $address parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 1231:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 1291:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 1301:55 warning Expected 1 space before logical operator; 0 found (Squiz.WhiteSpace.LogicalOperatorSpacing.NoSpaceBefore) 1301:55 warning Expected 1 space after logical operator; 0 found (Squiz.WhiteSpace.LogicalOperatorSpacing.NoSpaceAfter) 1301:78 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 1357:32 warning The use of the deprecated method 'getResource()' to 'save' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) 1388:5 warning Function closing brace must go on the next line following the body; found 1 blank lines before brace (PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose) 1537:59 warning Incorrect spacing between argument "$scope" and equals sign; expected 1 but found 0 (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpaceBeforeEquals) 1537:59 warning Incorrect spacing between default value and equals sign for argument "$scope"; expected 1 but found 0 (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpaceAfterEquals) 1537:74 warning Incorrect spacing between argument "$scopeId" and equals sign; expected 1 but found 0 (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpaceBeforeEquals) 1537:74 warning Incorrect spacing between default value and equals sign for argument "$scopeId"; expected 1 but found 0 (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpaceAfterEquals) 1594:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 1595:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 1626:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 1627:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 1645:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 1703:123 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 1703:128 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) 1718:12 warning Function's nesting level (9) exceeds 5; consider refactoring the function (Generic.Metrics.NestingLevel.TooHigh) 1734:24 warning Expected 1 space before logical operator; 0 found (Squiz.WhiteSpace.LogicalOperatorSpacing.NoSpaceBefore) 1734:24 warning Expected 1 space after logical operator; 0 found (Squiz.WhiteSpace.LogicalOperatorSpacing.NoSpaceAfter) 1734:45 warning Expected 1 space before logical operator; 0 found (Squiz.WhiteSpace.LogicalOperatorSpacing.NoSpaceBefore) 1734:45 warning Expected 1 space after logical operator; 0 found (Squiz.WhiteSpace.LogicalOperatorSpacing.NoSpaceAfter) 1816:5 warning Function closing brace must go on the next line following the body; found 1 blank lines before brace (PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose) 1873:5 warning Function closing brace must go on the next line following the body; found 1 blank lines before brace (PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose) 1892:99 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 1892:111 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 1892:117 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 1892:138 warning Line exceeds 120 characters; contains 138 characters (Generic.Files.LineLength.TooLong) Helper/VarsMap.php 54:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) Helper/Sync.php 59:67 warning Expected 1 space before logical operator; 0 found (Squiz.WhiteSpace.LogicalOperatorSpacing.NoSpaceBefore) 92:36 warning The use of the deprecated method 'getResource()' to 'save' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) Model/HTTP/Client/Curl.php 10:4 warning Tag @author MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 362:22 warning The use of function curl_init() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 413:32 warning The use of function curl_exec() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 414:16 warning The use of function curl_errno() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 416:28 warning The use of function curl_error() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 481:9 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 492:9 warning The use of function curl_setopt_array() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) Model/Service/Admin/ConnectedSiteProvisioner.php 148:131 warning Line exceeds 120 characters; contains 131 characters (Generic.Files.LineLength.TooLong) Model/RedirectUrlValidator.php 64:19 warning The use of function parse_url() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 69:17 warning The use of function parse_url() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 106:21 warning The use of function parse_url() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) Model/Plugin/Subscriber.php 85:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 86:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 109:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 110:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) Model/Plugin/Newsletter/Save.php 90:31 warning The use of the deprecated method 'getResource()' to 'save' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) 101:31 warning The use of the deprecated method 'getResource()' to 'save' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) Model/Plugin/AccountManagement.php 58:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 59:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 73:23 warning The use of the deprecated method 'getResource()' to 'load' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) 76:23 warning The use of the deprecated method 'getResource()' to 'save' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) Model/Plugin/SubscriptionManager.php 64:8 warning $subscriber parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 65:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 69:12 warning $subscriptionManager parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 96:8 warning $subscriber parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 97:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 102:12 warning $subscriptionManager parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 149:8 warning $subscriber parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 150:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 155:12 warning $subscriptionManager parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 197:8 warning $subscriber parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 201:12 warning $subscriptionManager parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 223:2 warning Line indented incorrectly; expected 0 spaces, found 1 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 223:2 warning Closing brace indented incorrectly; expected 0 spaces, found 1 (Squiz.WhiteSpace.ScopeClosingBrace.Indent) Model/ResourceModel/MailChimpErrors.php 86:13 warning Possible raw SQL statement 'DELETE FROM ' detected. (Magento2.SQL.RawQuery.FoundRawSql) 97:35 warning Possible raw SQL statement "DELETE FROM $table WHERE date_add(added_at, interval $interval month) < now() AND store_id = $storeId LIMIT $limit" detected. (Magento2.SQL.RawQuery.FoundRawSql) 97:152 warning Line exceeds 120 characters; contains 152 characters (Generic.Files.LineLength.TooLong) Model/ResourceModel/MailchimpNotification.php 14:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Model/ResourceModel/Carts/Collection.php 13:12 warning Possible useless method overriding detected (Generic.CodeAnalysis.UselessOverridingMethod.Found) 30:29 warning Opening parenthesis of a multi-line function call must be the last content on the line (PSR2.Methods.FunctionCallSignature.ContentAfterOpenBracket) 30:73 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) 31:1 warning Multi-line function call not indented correctly; expected 8 spaces but found 12 (PSR2.Methods.FunctionCallSignature.Indent) 31:153 warning Closing parenthesis of a multi-line function call must be on a line by itself (PSR2.Methods.FunctionCallSignature.CloseBracketLine) 31:154 warning Line exceeds 120 characters; contains 154 characters (Generic.Files.LineLength.TooLong) 34:5 warning Function closing brace must go on the next line following the body; found 1 blank lines before brace (PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose) 36:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Model/ResourceModel/MailChimpSyncEcommerce.php 49:151 warning Line exceeds 120 characters; contains 151 characters (Generic.Files.LineLength.TooLong) 56:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 58 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 57:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 58 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 62:167 warning Line exceeds 120 characters; contains 167 characters (Generic.Files.LineLength.TooLong) 72:125 warning Line exceeds 120 characters; contains 125 characters (Generic.Files.LineLength.TooLong) 131:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 134:168 warning Line exceeds 120 characters; contains 168 characters (Generic.Files.LineLength.TooLong) 137:130 warning Line exceeds 120 characters; contains 130 characters (Generic.Files.LineLength.TooLong) Model/ResourceModel/Schedule/Collection.php 10:1 warning There must be one blank line after the last USE statement; 0 found; (PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse) 13:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 15:12 warning Possible useless method overriding detected (Generic.CodeAnalysis.UselessOverridingMethod.Found) 20:19 warning Incorrect spacing between argument "$mainTable" and equals sign; expected 1 but found 0 (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpaceBeforeEquals) 20:19 warning Incorrect spacing between default value and equals sign for argument "$mainTable"; expected 1 but found 0 (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpaceAfterEquals) 21:23 warning Incorrect spacing between argument "$resourceModel" and equals sign; expected 1 but found 0 (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpaceBeforeEquals) 21:23 warning Incorrect spacing between default value and equals sign for argument "$resourceModel"; expected 1 but found 0 (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpaceAfterEquals) 25:5 warning Function closing brace must go on the next line following the body; found 1 blank lines before brace (PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose) 26:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 43:5 warning Function closing brace must go on the next line following the body; found 1 blank lines before brace (PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose) 44:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 46:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Model/ResourceModel/MailChimpStores/Grid/Collection.php 20:15 warning Class properties must have type declaration using @var tag. (Magento2.Commenting.ClassPropertyPHPDocFormatting.MissingVar) 32:12 warning Possible useless method overriding detected (Generic.CodeAnalysis.UselessOverridingMethod.Found) Model/Logger/Handler.php 19:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) Model/Edge/Beacon.php 33:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 91:8 warning $notifications parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 92:8 warning $productMetadata parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 94:12 warning $config parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/Edge/Client.php 26:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 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) 35:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) Model/Edge/NotificationDelivery.php 37:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 38:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) Model/Edge/ConfigSnapshot.php 45:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 76:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 77:123 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) Model/Edge/Response.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) Model/Config/ModuleVersion.php 18:1 warning There must be one blank line after the last USE statement; 0 found; (PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse) 21:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) Model/Config/Backend/MonkeyStore.php 41:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) Model/Config/Source/CleanPeriod.php 3:1 warning There must be one blank line after the namespace declaration (PSR2.Namespaces.NamespaceDeclaration.BlankLineAfter) 8:37 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) Model/Config/Source/Details.php 17:1 warning There must be one blank line after the last USE statement; 2 found; (PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse) 121:54 warning The use of function stripslashes() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 121:121 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) 129:138 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 129:156 warning Line exceeds 120 characters; contains 156 characters (Generic.Files.LineLength.TooLong) 135:48 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 136:29 warning Expected 0 spaces after opening bracket; 1 found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 139:106 warning Expected 1 space after comma in argument list; 2 found (Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma) 139:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 178:11 warning Expected "} elseif (...) {\n"; found "} elseif(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 178:11 warning Expected 1 space after ELSEIF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 210:159 warning Line exceeds 120 characters; contains 159 characters (Generic.Files.LineLength.TooLong) Model/Api/Cart.php 21:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 101:12 warning $magentoStoreId parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 101:12 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 105:12 warning Extra @param found in method annotation (Magento2.Annotation.MethodArguments.ExtraParam) 145:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 146:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 156:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 222:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 223:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 234:197 warning Line exceeds 120 characters; contains 197 characters (Generic.Files.LineLength.TooLong) 352:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 368:206 warning Line exceeds 120 characters; contains 206 characters (Generic.Files.LineLength.TooLong) 489:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 490:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 491:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 512:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 513:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 514:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 689:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 690:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 691:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 692:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 693:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 694:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) Model/Api/Order.php 21:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 22: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 Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 24:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 25:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 26:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 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) 139:8 warning $magentoStoreId parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 139:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 143:12 warning Extra @param found in method annotation (Magento2.Annotation.MethodArguments.ExtraParam) 146:135 warning Line exceeds 120 characters; contains 135 characters (Generic.Files.LineLength.TooLong) 311:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 312:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 313:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 411:35 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 415:72 warning Expected 1 space before logical operator; 0 found (Squiz.WhiteSpace.LogicalOperatorSpacing.NoSpaceBefore) 415:72 warning Expected 1 space after logical operator; 0 found (Squiz.WhiteSpace.LogicalOperatorSpacing.NoSpaceAfter) 415:130 warning Expected 1 space before logical operator; 0 found (Squiz.WhiteSpace.LogicalOperatorSpacing.NoSpaceBefore) 415:130 warning Expected 1 space after logical operator; 0 found (Squiz.WhiteSpace.LogicalOperatorSpacing.NoSpaceAfter) 415:181 warning Line exceeds 120 characters; contains 181 characters (Generic.Files.LineLength.TooLong) 450:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 590:48 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 751:11 warning Expected 1 space after CATCH keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) Model/Api/Subscriber.php 19:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 184:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 185:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) Model/Api/Customer.php 21:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 114:22 warning The use of the deprecated method 'getResource()' to 'load' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) Model/Api/Product.php 17:1 warning There must be one blank line after the last USE statement; 2 found; (PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse) 22: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 Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 24:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 25:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 101:15 warning Line exceeds 120 characters; contains 125 characters (Generic.Files.LineLength.TooLong) 153:123 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) 155:46 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 157:1 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) 178:39 warning array_merge(...) is used in a loop and is a resources greedy construction. (Magento2.Performance.ForeachArrayMerge.ForeachArrayMerge) 186:33 warning array_merge(...) is used in a loop and is a resources greedy construction. (Magento2.Performance.ForeachArrayMerge.ForeachArrayMerge) 186:135 warning Line exceeds 120 characters; contains 135 characters (Generic.Files.LineLength.TooLong) 188:134 warning Line exceeds 120 characters; contains 134 characters (Generic.Files.LineLength.TooLong) 193:87 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 332:12 warning Line indented incorrectly; expected 12 spaces, found 11 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 334:13 warning Closing brace indented incorrectly; expected 11 spaces, found 12 (Squiz.WhiteSpace.ScopeClosingBrace.Indent) 470:82 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 517:15 warning Function's nesting level (6) exceeds 5; consider refactoring the function (Generic.Metrics.NestingLevel.TooHigh) 610:95 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 610:121 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 610:147 warning Line exceeds 120 characters; contains 147 characters (Generic.Files.LineLength.TooLong) 611:95 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 611:121 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 611:147 warning Line exceeds 120 characters; contains 147 characters (Generic.Files.LineLength.TooLong) 670:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 693:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 714:122 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) 722:29 warning array_merge(...) is used in a loop and is a resources greedy construction. (Magento2.Performance.ForeachArrayMerge.ForeachArrayMerge) 768:25 warning array_merge(...) is used in a loop and is a resources greedy construction. (Magento2.Performance.ForeachArrayMerge.ForeachArrayMerge) 790:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 791:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 792:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 793:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 794:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 876:1 warning Multi-line function call not indented correctly; expected 16 spaces but found 20 (PSR2.Methods.FunctionCallSignature.Indent) 877:1 warning Multi-line function call not indented correctly; expected 16 spaces but found 20 (PSR2.Methods.FunctionCallSignature.Indent) 878:1 warning Multi-line function call not indented correctly; expected 12 spaces but found 16 (PSR2.Methods.FunctionCallSignature.Indent) 886:1 warning Multi-line function call not indented correctly; expected 20 spaces but found 24 (PSR2.Methods.FunctionCallSignature.Indent) 887:1 warning Multi-line function call not indented correctly; expected 20 spaces but found 24 (PSR2.Methods.FunctionCallSignature.Indent) 888:1 warning Multi-line function call not indented correctly; expected 16 spaces but found 20 (PSR2.Methods.FunctionCallSignature.Indent) 923:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 924:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 925:1 warning Multi-line function call not indented correctly; expected 20 spaces but found 24 (PSR2.Methods.FunctionCallSignature.Indent) Model/Api/Result.php 21: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) 97:94 warning Incorrect spacing between argument "$mailchimpStoreId" and equals sign; expected 1 but found 0 (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpaceBeforeEquals) 97:94 warning Incorrect spacing between default value and equals sign for argument "$mailchimpStoreId"; expected 1 but found 0 (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpaceAfterEquals) 115:26 warning The use of the deprecated method 'getResource()' to 'save' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) 118:26 warning The use of the deprecated method 'getResource()' to 'save' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) 178:18 warning The use of the deprecated method 'getResource()' to 'save' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) 184:14 warning The use of the deprecated method 'getResource()' to 'save' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) 229:136 warning Line exceeds 120 characters; contains 136 characters (Generic.Files.LineLength.TooLong) 230:137 warning Line exceeds 120 characters; contains 137 characters (Generic.Files.LineLength.TooLong) 261:25 warning The use of function pathinfo() is discouraged; use Magento\Framework\Filesystem\Io\File::getPathInfo() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 290:15 warning Expected 1 space after CATCH keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 296:15 warning Function's nesting level (7) exceeds 5; consider refactoring the function (Generic.Metrics.NestingLevel.TooHigh) 335:57 warning Logical operator "and" is prohibited; use "&&" instead (Squiz.Operators.ValidLogicalOperators.NotAllowed) 347:25 warning Expected "if (...) {\n"; found "if (...){\n" (PEAR.ControlStructures.ControlSignature.Found) 347:63 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 352:25 warning Expected "if (...) {\n"; found "if (...){\n" (PEAR.ControlStructures.ControlSignature.Found) 352:64 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 366:41 warning The use of the deprecated method 'getResource()' to 'save' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) Model/Api/PromoCodes.php 20:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 120:24 warning The use of the deprecated method 'getResource()' to 'delete' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) 151:251 warning Line exceeds 120 characters; contains 251 characters (Generic.Files.LineLength.TooLong) Model/Api/PromoRules.php 17:1 warning There must be one blank line after the last USE statement; 2 found; (PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse) 22: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 Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 24:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 25:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 26:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 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) 277:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 300:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 323:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 324:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 325:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) Observer/Adminhtml/Product/DeleteAfter.php 9:1 warning There must be one blank line after the last USE statement; 3 found; (PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse) 37:1 warning Blank lines are not allowed in a multi-line function declaration (Squiz.Functions.MultiLineFunctionDeclaration.EmptyLine) 43:5 warning Visibility must be declared on method "execute" (Squiz.Scope.MethodScope.Missing) Observer/Adminhtml/Product/SaveAfter.php 13:1 warning There must be one blank line after the namespace declaration (PSR2.Namespaces.NamespaceDeclaration.BlankLineAfter) Observer/Adminhtml/Product/ImportAfter.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) 43:51 warning Expected 1 space before logical operator; 0 found (Squiz.WhiteSpace.LogicalOperatorSpacing.NoSpaceBefore) 43:51 warning Expected 1 space after logical operator; 0 found (Squiz.WhiteSpace.LogicalOperatorSpacing.NoSpaceAfter) 75:5 warning Function closing brace must go on the next line following the body; found 1 blank lines before brace (PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose) 76:47 warning Expected 1 space between comma and argument "$productsIds"; 0 found (Squiz.Functions.FunctionDeclarationArgumentSpacing.NoSpaceBeforeArg) 82:129 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) 84:5 warning Function closing brace must go on the next line following the body; found 1 blank lines before brace (PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose) Observer/Adminhtml/Customer/SaveAfter.php 14:1 warning There must be one blank line after the namespace declaration (PSR2.Namespaces.NamespaceDeclaration.BlankLineAfter) 84:35 warning The use of the deprecated method 'getResource()' to 'save' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) 97:35 warning The use of the deprecated method 'getResource()' to 'save' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) Observer/Subscriber/SaveAfter.php 75:74 warning Expected 1 space before logical operator; 0 found (Squiz.WhiteSpace.LogicalOperatorSpacing.NoSpaceBefore) 75:74 warning Expected 1 space after logical operator; 0 found (Squiz.WhiteSpace.LogicalOperatorSpacing.NoSpaceAfter) 75:87 warning Expected 1 space before logical operator; 0 found (Squiz.WhiteSpace.LogicalOperatorSpacing.NoSpaceBefore) 76:39 warning Expected 1 space before logical operator; 0 found (Squiz.WhiteSpace.LogicalOperatorSpacing.NoSpaceBefore) 76:39 warning Expected 1 space after logical operator; 0 found (Squiz.WhiteSpace.LogicalOperatorSpacing.NoSpaceAfter) Observer/Sales/Order/SaveAfter.php 17:1 warning There must be one blank line after the last USE statement; 2 found; (PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse) Observer/SalesRule/Rule/DeleteAfter.php 16:1 warning There must be one blank line after the last USE statement; 2 found; (PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse) Observer/ConfigObserver.php 133:24 warning The use of function parse_url() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) Setup/Patch/Data/Migrate32.php 31: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) 43:132 warning Line exceeds 120 characters; contains 132 characters (Generic.Files.LineLength.TooLong) 68:37 warning The use of the deprecated method 'getResource()' to 'save' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) 72:37 warning The use of the deprecated method 'getResource()' to 'save' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) 105:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) 105:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Setup/Patch/Data/Migrate24.php 22: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) 32:1 warning Multi-line function call not indented correctly; expected 16 spaces but found 12 (PSR2.Methods.FunctionCallSignature.Indent) 33:1 warning Multi-line function call not indented correctly; expected 16 spaces but found 12 (PSR2.Methods.FunctionCallSignature.Indent) 33:144 warning Line exceeds 120 characters; contains 144 characters (Generic.Files.LineLength.TooLong) 34:1 warning Multi-line function call not indented correctly; expected 12 spaces but found 8 (PSR2.Methods.FunctionCallSignature.Indent) 35:147 warning Line exceeds 120 characters; contains 147 characters (Generic.Files.LineLength.TooLong) 66:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) 66:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Setup/Patch/Data/CleanIssyncOrphanRows.php 73:13 warning Possible raw SQL statement 'DELETE FROM ' detected. (Magento2.SQL.RawQuery.FoundRawSql) Setup/Patch/Data/Migrate35.php 36: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) 53:24 warning The use of the deprecated method 'getResource()' to 'save' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) 64:20 warning The use of the deprecated method 'getResource()' to 'delete' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) 94:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) 94:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Setup/Uninstall.php 43:9 warning Expected "foreach (...) {\n"; found "foreach(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 43:9 warning Expected 1 space after FOREACH keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 44:13 warning Expected "foreach (...) {\n"; found "foreach(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 44:13 warning Expected 1 space after FOREACH keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 45:30 warning Space after opening parenthesis of function call prohibited (PSR2.Methods.FunctionCallSignature.SpaceAfterOpenBracket) 50:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Ui/Component/Listing/Column/Customers.php 61:25 warning The closing parenthesis of a multi-line function declaration must be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.CloseBracketLine) 62: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) 72:12 warning Function's nesting level (7) exceeds 5; consider refactoring the function (Generic.Metrics.NestingLevel.TooHigh) 85:129 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) 161:221 warning Line exceeds 120 characters; contains 221 characters (Generic.Files.LineLength.TooLong) 175:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Ui/Component/Listing/Column/Products.php 15:1 warning There must be one blank line after the last USE statement; 2 found; (PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse) 81:25 warning The closing parenthesis of a multi-line function declaration must be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.CloseBracketLine) 82: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) 93:12 warning Function's nesting level (7) exceeds 5; consider refactoring the function (Generic.Metrics.NestingLevel.TooHigh) 106:50 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 182:221 warning Line exceeds 120 characters; contains 221 characters (Generic.Files.LineLength.TooLong) 231:9 warning Expected "foreach (...) {\n"; found "foreach(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 231:9 warning Expected 1 space after FOREACH keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) Ui/Component/Listing/Column/Monkey.php 103:12 warning Function's nesting level (6) exceeds 5; consider refactoring the function (Generic.Metrics.NestingLevel.TooHigh) 112:50 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 182:217 warning Line exceeds 120 characters; contains 217 characters (Generic.Files.LineLength.TooLong) 185:221 warning Line exceeds 120 characters; contains 221 characters (Generic.Files.LineLength.TooLong) 208:205 warning Line exceeds 120 characters; contains 205 characters (Generic.Files.LineLength.TooLong) 269:9 warning Expected "foreach (...) {\n"; found "foreach(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 269:9 warning Expected 1 space after FOREACH keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) Ui/Component/Carts/Grid/Column/Actions.php 8:1 warning There must be one blank line after the last USE statement; 0 found; (PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse) Ui/Component/Carts/Grid/Column/Customer.php 8:1 warning There must be one blank line after the last USE statement; 0 found; (PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse) Ui/Component/Carts/Grid/Column/Mailchimp.php 91:241 warning Line exceeds 120 characters; contains 241 characters (Generic.Files.LineLength.TooLong) 97:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Ui/Component/Errors/Grid/Column/Batch.php 51:17 warning Expected 1 space after SWITCH keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) Ui/Component/Batch/Grid/Column/Batches.php 43:8 warning $context parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 44:8 warning $uiComponentFactory parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 45:8 warning $urlBuilder parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 47:12 warning $helper parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 47:12 warning $mailChimpSyncB parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 77:135 warning Line exceeds 120 characters; contains 135 characters (Generic.Files.LineLength.TooLong) 78:129 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) 80:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) Controller/Adminhtml/Orders/Campaign.php 54:11 warning Expected 1 space after CATCH keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) Controller/Adminhtml/Orders/Member.php 54:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) 56:11 warning Expected 1 space after CATCH keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) Controller/Adminhtml/Lists/Get.php 21:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) Controller/Adminhtml/Errors/Getresponse.php 20:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 69:16 warning The use of the deprecated method 'getResource()' to 'load' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) Controller/Adminhtml/Ecommerce/FixMailchimpJS.php 80:11 warning Expected 1 space after CATCH keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) Controller/Adminhtml/Ecommerce/ResetStore.php 89:50 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) Controller/Adminhtml/Ecommerce/GetInterest.php 72:82 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) Controller/Adminhtml/Ecommerce/Getaccountdetails.php 69:135 warning Line exceeds 120 characters; contains 135 characters (Generic.Files.LineLength.TooLong) 71:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 72:121 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) 73:148 warning Line exceeds 120 characters; contains 148 characters (Generic.Files.LineLength.TooLong) 74:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 75:128 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) 76:136 warning Line exceeds 120 characters; contains 136 characters (Generic.Files.LineLength.TooLong) 77:174 warning Line exceeds 120 characters; contains 174 characters (Generic.Files.LineLength.TooLong) 101:143 warning Line exceeds 120 characters; contains 143 characters (Generic.Files.LineLength.TooLong) 105:129 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) 107:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 112:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 114:187 warning Line exceeds 120 characters; contains 187 characters (Generic.Files.LineLength.TooLong) Controller/Adminhtml/Ecommerce/DeleteStore.php 99:51 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) Controller/Adminhtml/Ecommerce/ResyncProducts.php 78:54 warning Expected 1 space after comma in argument list; 2 found (Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma) Controller/Adminhtml/Ecommerce/ResetLocalErrors.php 100:56 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) Controller/Adminhtml/Ecommerce/SyncLog.php 9:1 warning There must be one blank line after the last USE statement; 2 found; (PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse) 31: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:35 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) Controller/Adminhtml/Ecommerce/Register.php 59: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) 76:77 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 80:38 warning The use of function stripslashes() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 81:122 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 81:140 warning Line exceeds 120 characters; contains 140 characters (Generic.Files.LineLength.TooLong) 91:32 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 92:13 warning Expected 0 spaces after opening bracket; 1 found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 95:81 warning Expected 1 space after comma in argument list; 2 found (Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma) 100:5 warning Function closing brace must go on the next line following the body; found 1 blank lines before brace (PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose) 109:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Controller/Adminhtml/Ecommerce/ResyncSubscribers.php 79:57 warning Expected 1 space after comma in argument list; 2 found (Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma) Controller/Adminhtml/Ecommerce/ResetLocalErrorsNoRetry.php 100:62 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) Controller/Adminhtml/Stores/Delete.php 24:24 warning The use of the deprecated method 'getResource()' to 'load' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) Controller/Adminhtml/Stores/Edit.php 31:19 warning The use of the deprecated method 'getResource()' to 'load' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) Controller/Adminhtml/Stores/Save.php 28:28 warning The use of the deprecated method 'getResource()' to 'load' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) 34:28 warning The use of the deprecated method 'getResource()' to 'save' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) Controller/Adminhtml/Stores/Get.php 21:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) Controller/Adminhtml/Batch/Index.php 45:1 warning Expected 1 blank line at end of file; 3 found (PSR2.Files.EndFileNewline.TooMany) Controller/Adminhtml/Batch/GetResponse.php 20:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 45:8 warning $errorsFactory parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 50:12 warning $_batchFactory parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 69:17 warning The use of the deprecated method 'getResource()' to 'load' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) Controller/Adminhtml/Cron/Index.php 45:1 warning Expected 1 blank line at end of file; 3 found (PSR2.Files.EndFileNewline.TooMany) Controller/WebHook/Index.php 27:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 107:34 warning The use of the deprecated method 'getResource()' to 'save' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) 109:19 warning Expected 1 space after CATCH keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) Controller/Cart/Loadquote.php 111:19 warning The use of the deprecated method 'getResource()' to 'load' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) 155:23 warning The use of the deprecated method 'getResource()' to 'save' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) Controller/Checkout/Success.php 102:31 warning The use of the deprecated method 'getResource()' to 'save' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) 113:31 warning The use of the deprecated method 'getResource()' to 'save' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) view/frontend/templates/checkout/order/success.phtml 21:33 warning The CASE body must start on the line following the statement (PSR2.ControlStructures.SwitchDeclaration.BodyOnNextLineCASE) 31:58 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 37:45 warning Terminating statement must be on a line by itself (PSR2.ControlStructures.SwitchDeclaration.BreakNotNewLine) 38:33 warning The CASE body must start on the line following the statement (PSR2.ControlStructures.SwitchDeclaration.BodyOnNextLineCASE) 51:45 warning Terminating statement must be on a line by itself (PSR2.ControlStructures.SwitchDeclaration.BreakNotNewLine) 52:33 warning The CASE body must start on the line following the statement (PSR2.ControlStructures.SwitchDeclaration.BodyOnNextLineCASE) 68:45 warning Terminating statement must be on a line by itself (PSR2.ControlStructures.SwitchDeclaration.BreakNotNewLine) 69:1 warning Code after the BREAK statement on line 68 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) view/frontend/templates/form/newsletter.phtml 17:29 warning The CASE body must start on the line following the statement (PSR2.ControlStructures.SwitchDeclaration.BodyOnNextLineCASE) 33:45 warning Terminating statement must be on a line by itself (PSR2.ControlStructures.SwitchDeclaration.BreakNotNewLine) 34:29 warning The CASE body must start on the line following the statement (PSR2.ControlStructures.SwitchDeclaration.BodyOnNextLineCASE) 47:45 warning Terminating statement must be on a line by itself (PSR2.ControlStructures.SwitchDeclaration.BreakNotNewLine) 48:29 warning The CASE body must start on the line following the statement (PSR2.ControlStructures.SwitchDeclaration.BodyOnNextLineCASE) 64:45 warning Terminating statement must be on a line by itself (PSR2.ControlStructures.SwitchDeclaration.BreakNotNewLine) 65:1 warning Code after the BREAK statement on line 64 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) view/frontend/templates/pixel/script.phtml 22:26 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 23:26 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 24:26 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) view/frontend/templates/mailchimpjs.phtml 17:52 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 17:130 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 17:135 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) view/adminhtml/templates/customer/edit/tabs/mailchimp.phtml 23:29 warning The CASE body must start on the line following the statement (PSR2.ControlStructures.SwitchDeclaration.BodyOnNextLineCASE) 42:45 warning Terminating statement must be on a line by itself (PSR2.ControlStructures.SwitchDeclaration.BreakNotNewLine) 43:29 warning The CASE body must start on the line following the statement (PSR2.ControlStructures.SwitchDeclaration.BodyOnNextLineCASE) 61:45 warning Terminating statement must be on a line by itself (PSR2.ControlStructures.SwitchDeclaration.BreakNotNewLine) 62:29 warning The CASE body must start on the line following the statement (PSR2.ControlStructures.SwitchDeclaration.BodyOnNextLineCASE) 80:45 warning Terminating statement must be on a line by itself (PSR2.ControlStructures.SwitchDeclaration.BreakNotNewLine) 81:1 warning Code after the BREAK statement on line 80 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) view/adminhtml/templates/system/config/fieldset/hint.phtml 38:19 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) Cron/BatchesClean.php 51:134 warning Line exceeds 120 characters; contains 134 characters (Generic.Files.LineLength.TooLong) Cron/ErrorsClean.php 30:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 64:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 88:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 89:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 119:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 131: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) 150:9 warning Expected "foreach (...) {\n"; found "foreach (...)\n {\n" (PEAR.ControlStructures.ControlSignature.Found) 150:70 warning Expected 1 space after closing parenthesis; found newline (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 215:69 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 215:77 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 224:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Cron/SyncStatistics.php 7:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 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) 46: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) 60:9 warning Expected "if (...) {\n"; found "if (...)\n {\n" (PEAR.ControlStructures.ControlSignature.Found) 60:46 warning Expected 1 space after closing parenthesis; found newline (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 70:121 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) 73:35 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 77:43 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 89:13 warning Expected "foreach (...) {\n"; found "foreach (...)\n {\n" (PEAR.ControlStructures.ControlSignature.Found) 89:52 warning Expected 1 space after closing parenthesis; found newline (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 91:51 warning Expected 1 space before logical operator; 0 found (Squiz.WhiteSpace.LogicalOperatorSpacing.NoSpaceBefore) 91:51 warning Expected 1 space after logical operator; 0 found (Squiz.WhiteSpace.LogicalOperatorSpacing.NoSpaceAfter) 119:66 warning Each PHP statement must be on a line by itself (Generic.Formatting.DisallowMultipleStatements.SameLine) 134:39 warning The use of the deprecated method 'getResource()' to 'load' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) 137:39 warning The use of the deprecated method 'getResource()' to 'save' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) 154:51 warning The use of the deprecated method 'getResource()' to 'load' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) 157:51 warning The use of the deprecated method 'getResource()' to 'save' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) 188:123 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) Cron/GenerateStatistics.php 13:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 74: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) 91:9 warning Expected "foreach (...) {\n"; found "foreach (...)\n {\n" (PEAR.ControlStructures.ControlSignature.Found) 91:70 warning Expected 1 space after closing parenthesis; found newline (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 113:122 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) 132:21 warning The use of function stripslashes() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 133:33 warning The use of function stripslashes() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 145:13 warning Expected 0 spaces after opening bracket; 1 found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 146:132 warning Line exceeds 120 characters; contains 132 characters (Generic.Files.LineLength.TooLong) 148:92 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 154:134 warning Line exceeds 120 characters; contains 134 characters (Generic.Files.LineLength.TooLong) 155:130 warning Line exceeds 120 characters; contains 130 characters (Generic.Files.LineLength.TooLong) 159:123 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) 160:125 warning Line exceeds 120 characters; contains 125 characters (Generic.Files.LineLength.TooLong) 164:131 warning Line exceeds 120 characters; contains 131 characters (Generic.Files.LineLength.TooLong) 177:125 warning Line exceeds 120 characters; contains 125 characters (Generic.Files.LineLength.TooLong) 240:183 warning Line exceeds 120 characters; contains 183 characters (Generic.Files.LineLength.TooLong) 258:41 warning Expected 1 space between comma and argument "$mailchimpStoreId"; 0 found (Squiz.Functions.FunctionDeclarationArgumentSpacing.NoSpaceBeforeArg) Cron/Ecommerce.php 151:29 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 230:129 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) 231:122 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) 232:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) 238:125 warning Line exceeds 120 characters; contains 125 characters (Generic.Files.LineLength.TooLong) 239:122 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) 242:37 warning The use of the deprecated method 'getResource()' to 'save' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) 274:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 275:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 297:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 298:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 393:15 warning Function's nesting level (6) exceeds 5; consider refactoring the function (Generic.Metrics.NestingLevel.TooHigh) 436:29 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) Cron/Webhook.php 14:1 warning There must be one blank line after the namespace declaration (PSR2.Namespaces.NamespaceDeclaration.BlankLineAfter) 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) 22: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 Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 24:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 25:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 26:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 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) 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) 141:18 warning The use of the deprecated method 'getResource()' to 'save' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) 156:25 warning The use of the deprecated method 'getResource()' to 'save' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) 189:33 warning The use of the deprecated method 'getResource()' to 'delete' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) 190:123 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) 212:17 warning The use of the deprecated method 'getResource()' to 'delete' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) 229:25 warning The use of the deprecated method 'getResource()' to 'save' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) 238:15 warning Function's nesting level (6) exceeds 5; consider refactoring the function (Generic.Metrics.NestingLevel.TooHigh) 249:26 warning The use of the deprecated method 'getResource()' to 'load' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) 250:48 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 251:26 warning The use of the deprecated method 'getResource()' to 'save' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) 267:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 269:128 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) 282:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 284:15 warning Function's nesting level (10) exceeds 5; consider refactoring the function (Generic.Metrics.NestingLevel.TooHigh) 288:9 warning Expected "foreach (...) {\n"; found "foreach(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 288:9 warning Expected 1 space after FOREACH keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 288:9 warning Expected 1 space before "=>"; 0 found (Squiz.ControlStructures.ForEachLoopDeclaration.NoSpaceBeforeArrow) 292:21 warning Expected "foreach (...) {\n"; found "foreach(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 292:21 warning Expected 1 space after FOREACH keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 294:101 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 294:121 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) 299:67 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 307:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 312:39 warning The use of the deprecated method 'getResource()' to 'save' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) 318:142 warning Line exceeds 120 characters; contains 142 characters (Generic.Files.LineLength.TooLong) 348:20 warning The use of the deprecated method 'getResource()' to 'save' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) 394:25 warning Expected 1 space before logical operator; 0 found (Squiz.WhiteSpace.LogicalOperatorSpacing.NoSpaceBefore) 394:25 warning Expected 1 space after logical operator; 0 found (Squiz.WhiteSpace.LogicalOperatorSpacing.NoSpaceAfter) 403:128 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) 424:26 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 427:45 warning Expected 1 space before logical operator; 0 found (Squiz.WhiteSpace.LogicalOperatorSpacing.NoSpaceBefore) 427:45 warning Expected 1 space after logical operator; 0 found (Squiz.WhiteSpace.LogicalOperatorSpacing.NoSpaceAfter) Block/Subscribe.php 29: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) 39:76 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 41:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Block/Newsletter.php 66:55 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) Block/Adminhtml/Customer/Edit/Tabs/View/Customer.php 14:1 warning There must be one blank line after the namespace declaration (PSR2.Namespaces.NamespaceDeclaration.BlankLineAfter) 66:50 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) Block/Adminhtml/System/Config/CreateAbandonedCart.php 38:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Block/Adminhtml/System/Config/Fieldset/Hint.php 122:122 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) Block/Pixel/Order.php 102:15 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) Block/Pixel/Product.php 92:15 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) 101:11 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) Block/Mailchimpjs.php 37:12 warning $secureHTtmlRender parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 54:69 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) 58:64 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) Block/Checkout/Success.php 13:1 warning There must be one blank line after the namespace declaration (PSR2.Namespaces.NamespaceDeclaration.BlankLineAfter)