Magento Coding Standard (PHPCS) report for amzn/amazon-pay-magento-2-module =========================================================================== Package version: 5.18.5 | Magento: 2.4.9 | Tested: 2026-08-06 50 warnings in 5 files Model/CustomerLinkManagement.php 147:38 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/CheckoutSessionManagement.php 884:145 warning Line exceeds 120 characters; contains 145 characters (Generic.Files.LineLength.TooLong) 981:40 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) view/frontend/email/payment_declined.html 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var incrementId (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var storeName (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var storeName (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) view/frontend/web/css/source/_module.less 61:33 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 67:51 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 67:51 warning CSS colours must use shorthand if available; expected #666 but found #666666 (Magento2.Less.ColourDefinition.Shorthand) 69:36 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 75:51 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 77:36 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 119:5 warning Id selector is used (Magento2.Less.AvoidId.IdSelectorUsage) 122:34 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 125:5 warning Id selector is used (Magento2.Less.AvoidId.IdSelectorUsage) 128:32 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 135:34 warning Space before opening brace is missing (Magento2.Less.BracesFormatting.SpacingBeforeOpen) 138:41 warning Space before opening brace is missing (Magento2.Less.BracesFormatting.SpacingBeforeOpen) 147:34 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 147:34 warning CSS colours must use shorthand if available; expected #ccc but found #cccccc (Magento2.Less.ColourDefinition.Shorthand) 148:22 warning Values starts from "0" (Magento2.Less.ZeroUnits.ZeroUnitFound) 151:25 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 153:25 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 154:20 warning Expected 1 space after colon in style definition; 0 found (Magento2.Less.ColonSpacing.NoneAfter) 163:27 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 167:29 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 173:47 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 173:47 warning CSS colours must use shorthand if available; expected #666 but found #666666 (Magento2.Less.ColourDefinition.Shorthand) 175:32 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 181:47 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 183:32 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 191:21 warning Units specified for "0" value (Magento2.Less.ZeroUnits.ZeroUnitFound) 195:31 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable) 197:28 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 203:23 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 208:30 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 251:21 warning Variable declaration located not in the beginning of general comments (Magento2.Less.Variables.VariableLocation) 267:22 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 281:5 warning Id selector is used (Magento2.Less.AvoidId.IdSelectorUsage) 290:37 warning Inline comment should have 1 space after "//" (Magento2.Less.CommentLevels.SpaceMissedAfter) 291:34 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 304:29 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 343:18 warning Space before opening brace is missing (Magento2.Less.BracesFormatting.SpacingBeforeOpen) view/adminhtml/web/css/source/_module.less 3:10 warning Style definitions must end with a semicolon (Magento2.Less.SemicolonSpacing.NotAtEnd) 23:39 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 30:1 warning Id selector is used (Magento2.Less.AvoidId.IdSelectorUsage) 32:12 warning Named colours are forbidden; use hex, rgb, or rgba values instead (Squiz.CSS.NamedColours.Forbidden) 32:15 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting) 35:1 warning Id selector is used (Magento2.Less.AvoidId.IdSelectorUsage) 41:1 warning Id selector is used (Magento2.Less.AvoidId.IdSelectorUsage)