Magento Coding Standard (PHPCS) report for payplug/payplug-magento2
===================================================================
Package version: 4.7.2 | Magento: 2.4.9 | Tested: 2026-07-13
151 warnings in 12 files
examples/react/public/index.html
1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements)
1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements)
1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements)
1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements)
1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements)
1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements)
1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements)
1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements)
1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements)
1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements)
Controller/ApplePay/UpdateCartOrder.php
347:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines)
view/frontend/templates/checkout/formjs.phtml
24:44 warning Expected 0 spaces after closing parenthesis; found 1 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis)
25:141 warning Line exceeds 120 characters; contains 142 characters (Generic.Files.LineLength.TooLong)
view/frontend/web/template/payment/payplug_payments_standard.html
1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements)
1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements)
1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements)
view/frontend/web/css/source/module/_variables.less
2:22 warning Expected 1 space after colon in style definition; newline found (Magento2.Less.ColonSpacing.AfterNewline)
2:22 warning Expected 1 space after colon in style definition; 0 found (Magento2.Less.ColonSpacing.NoneAfter)
2:23 warning Inline comment should have 1 space after "//" (Magento2.Less.CommentLevels.SpaceMissedAfter)
2:23 warning Inline comment should have 1 space before "//" (Magento2.Less.CommentLevels.SpaceMissedBefore)
17:1 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed)
24:1 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed)
31:53 warning Named colours are forbidden; use hex, rgb, or rgba values instead (Squiz.CSS.NamedColours.Forbidden)
43:1 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed)
47:36 warning Units specified for "0" value (Magento2.Less.ZeroUnits.ZeroUnitFound)
view/frontend/web/css/source/module/_utilities.less
2:23 warning Inline comment should have 1 space after "//" (Magento2.Less.CommentLevels.SpaceMissedAfter)
2:23 warning Inline comment should have 1 space before "//" (Magento2.Less.CommentLevels.SpaceMissedBefore)
view/frontend/web/css/source/module/_checkout.less
2:23 warning Inline comment should have 1 space after "//" (Magento2.Less.CommentLevels.SpaceMissedAfter)
2:23 warning Inline comment should have 1 space before "//" (Magento2.Less.CommentLevels.SpaceMissedBefore)
13:18 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes)
20:39 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
23:24 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes)
28:24 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes)
40:60 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
75:32 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
85:18 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes)
view/frontend/web/css/source/module/payments/_oney.less
2:23 warning Inline comment should have 1 space after "//" (Magento2.Less.CommentLevels.SpaceMissedAfter)
2:23 warning Inline comment should have 1 space before "//" (Magento2.Less.CommentLevels.SpaceMissedBefore)
81:23 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
104:44 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
118:61 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
147:36 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
154:17 warning Selector contains uppercase symbols (Magento2.Less.TypeSelectors.UpperCaseSelector)
154:17 warning CSS class name does not follow class naming requirements: C (Magento2.Less.ClassNaming.NotAllowedSymbol)
154:17 warning CSS class names should be separated with "-" (dash) instead of "_" (underscore) (Magento2.Less.ClassNaming.NotAllowedSymbol)
172:17 warning Selector contains uppercase symbols (Magento2.Less.TypeSelectors.UpperCaseSelector)
172:17 warning CSS class name does not follow class naming requirements: C (Magento2.Less.ClassNaming.NotAllowedSymbol)
172:17 warning CSS class names should be separated with "-" (dash) instead of "_" (underscore) (Magento2.Less.ClassNaming.NotAllowedSymbol)
186:54 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
210:64 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
215:27 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
225:48 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
235:47 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
243:17 warning Selector contains uppercase symbols (Magento2.Less.TypeSelectors.UpperCaseSelector)
243:17 warning CSS class name does not follow class naming requirements: P (Magento2.Less.ClassNaming.NotAllowedSymbol)
246:51 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
259:43 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
280:33 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
285:40 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
307:54 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
313:56 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
334:55 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
340:23 warning Add a line break after each selector delimiter (Magento2.Less.SelectorDelimiter.LineBreakAfterDelimiter)
356:37 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
385:34 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
413:29 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
434:52 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
474:36 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
491:29 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
493:17 warning Selector contains uppercase symbols (Magento2.Less.TypeSelectors.UpperCaseSelector)
493:17 warning CSS class name does not follow class naming requirements: P (Magento2.Less.ClassNaming.NotAllowedSymbol)
506:21 warning Selector contains uppercase symbols (Magento2.Less.TypeSelectors.UpperCaseSelector)
506:21 warning CSS class name does not follow class naming requirements: P (Magento2.Less.ClassNaming.NotAllowedSymbol)
528:21 warning Selector contains uppercase symbols (Magento2.Less.TypeSelectors.UpperCaseSelector)
528:21 warning CSS class name does not follow class naming requirements: P (Magento2.Less.ClassNaming.NotAllowedSymbol)
554:17 warning Selector contains uppercase symbols (Magento2.Less.TypeSelectors.UpperCaseSelector)
554:17 warning CSS class name does not follow class naming requirements: P (Magento2.Less.ClassNaming.NotAllowedSymbol)
599:34 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
614:35 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
635:53 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
637:17 warning Selector contains uppercase symbols (Magento2.Less.TypeSelectors.UpperCaseSelector)
637:17 warning CSS class name does not follow class naming requirements: O (Magento2.Less.ClassNaming.NotAllowedSymbol)
637:18 warning Style definitions must end with a semicolon (Magento2.Less.SemicolonSpacing.NotAtEnd)
642:17 warning Selector contains uppercase symbols (Magento2.Less.TypeSelectors.UpperCaseSelector)
642:17 warning CSS class name does not follow class naming requirements: O (Magento2.Less.ClassNaming.NotAllowedSymbol)
658:47 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
708:17 warning Selector contains uppercase symbols (Magento2.Less.TypeSelectors.UpperCaseSelector)
708:17 warning CSS class name does not follow class naming requirements: O (Magento2.Less.ClassNaming.NotAllowedSymbol)
708:17 warning CSS class names should be separated with "-" (dash) instead of "_" (underscore) (Magento2.Less.ClassNaming.NotAllowedSymbol)
745:122 warning Expected 0 blank lines before closing brace of class definition; -1 found (Magento2.Less.BracesFormatting.SpacingBeforeClose)
818:48 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
826:26 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes)
832:43 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
835:26 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes)
860:44 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
862:17 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed)
868:51 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
875:17 warning Selector contains uppercase symbols (Magento2.Less.TypeSelectors.UpperCaseSelector)
875:17 warning CSS class name does not follow class naming requirements: P (Magento2.Less.ClassNaming.NotAllowedSymbol)
901:36 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
903:17 warning Selector contains uppercase symbols (Magento2.Less.TypeSelectors.UpperCaseSelector)
903:17 warning CSS class name does not follow class naming requirements: P (Magento2.Less.ClassNaming.NotAllowedSymbol)
922:43 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
924:13 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed)
926:26 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes)
934:29 warning Units specified for "0" value (Magento2.Less.ZeroUnits.ZeroUnitFound)
979:31 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
981:17 warning Selector contains uppercase symbols (Magento2.Less.TypeSelectors.UpperCaseSelector)
981:17 warning CSS class name does not follow class naming requirements: O (Magento2.Less.ClassNaming.NotAllowedSymbol)
993:31 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
view/frontend/web/css/source/module/payments/_apple-pay.less
2:23 warning Inline comment should have 1 space after "//" (Magento2.Less.CommentLevels.SpaceMissedAfter)
2:23 warning Inline comment should have 1 space before "//" (Magento2.Less.CommentLevels.SpaceMissedBefore)
17:50 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
view/frontend/web/css/source/module/payments/_ppro.less
2:23 warning Inline comment should have 1 space after "//" (Magento2.Less.CommentLevels.SpaceMissedAfter)
2:23 warning Inline comment should have 1 space before "//" (Magento2.Less.CommentLevels.SpaceMissedBefore)
17:31 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes)
view/frontend/web/css/source/module/payments/_standard.less
2:23 warning Inline comment should have 1 space after "//" (Magento2.Less.CommentLevels.SpaceMissedAfter)
2:23 warning Inline comment should have 1 space before "//" (Magento2.Less.CommentLevels.SpaceMissedBefore)
15:66 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
25:24 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable)
25:24 warning CSS colours must be defined in lowercase; expected #555d64 but found #555D64 (Magento2.Less.ColourDefinition.NotLower)
43:53 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
46:33 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes)
56:33 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes)
66:33 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes)
76:33 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes)
95:43 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
98:26 warning Use single quotes (Magento2.Less.Quotes.DoubleQuotes)
104:29 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable)
112:28 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable)
112:28 warning CSS colours must be defined in lowercase; expected #e91932 but found #E91932 (Magento2.Less.ColourDefinition.NotLower)
112:35 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
118:35 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable)
118:35 warning CSS colours must be defined in lowercase; expected #e91932 but found #E91932 (Magento2.Less.ColourDefinition.NotLower)
131:82 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
136:79 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
141:83 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
146:79 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
176:20 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable)
176:27 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
188:24 warning A variable should be used for a CSS colour (Magento2.Less.ColourDefinition.NotInVariable)
189:43 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
212:5 warning Level's comment does not have 2 spaces after "//" (Magento2.Less.CommentLevels.SpacesMissed)
224:72 warning Properties sorted not alphabetically (Magento2.Less.PropertiesSorting.PropertySorting)
229:27 warning Add a line break after each selector delimiter (Magento2.Less.SelectorDelimiter.LineBreakAfterDelimiter)
241:118 warning Expected 0 blank lines before closing brace of class definition; -1 found (Magento2.Less.BracesFormatting.SpacingBeforeClose)
view/frontend/web/css/source/_module.less
2:22 warning Expected 1 space after colon in style definition; newline found (Magento2.Less.ColonSpacing.AfterNewline)
2:22 warning Expected 1 space after colon in style definition; 0 found (Magento2.Less.ColonSpacing.NoneAfter)
2:23 warning Inline comment should have 1 space after "//" (Magento2.Less.CommentLevels.SpaceMissedAfter)
2:23 warning Inline comment should have 1 space before "//" (Magento2.Less.CommentLevels.SpaceMissedBefore)
9:1 warning First and second level comments must be surrounded by empty lines (Magento2.Less.CommentLevels.SpaceMissed)