awesomemotive / EDD-License-handler

License / updater handler for Easy Digital Downloads extensions
55 stars 29 forks source link

EDD_License_Handler.php coding standards fail #7

Closed michael-cannon closed 6 years ago

michael-cannon commented 11 years ago

FILE: ...content/plugins/testimonials-widget-premium/lib/EDD_License_Handler.php

FOUND 14 ERROR(S) AFFECTING 13 LINE(S)

1 | ERROR | The PHP open tag does not have a corresponding PHP close tag | | (Generic.PHP.ClosingPHPTag.NotFound) 1 | ERROR | Filename "EDD_License_Handler.php" with underscores found; use | | EDD-License-Handler.php instead (WordPress.Files.FileName) 15 | ERROR | Blank line found at start of control structure | | (WordPress.WhiteSpace.ControlStructureSpacing) 114 | ERROR | Each line in an array declaration must end in a comma | | (WordPress.Arrays.ArrayDeclaration) 135 | ERROR | Each line in an array declaration must end in a comma | | (WordPress.Arrays.ArrayDeclaration) 136 | ERROR | Comma required after last value in array declaration | | (WordPress.Arrays.ArrayDeclaration) 165 | ERROR | Each line in an array declaration must end in a comma | | (WordPress.Arrays.ArrayDeclaration) 174 | ERROR | Each line in an array declaration must end in a comma | | (WordPress.Arrays.ArrayDeclaration) 212 | ERROR | Each line in an array declaration must end in a comma | | (WordPress.Arrays.ArrayDeclaration) 220 | ERROR | Each line in an array declaration must end in a comma | | (WordPress.Arrays.ArrayDeclaration) 239 | ERROR | Blank line found at end of control structure | | (WordPress.WhiteSpace.ControlStructureSpacing) 264 | ERROR | Expected 1 space after comma in function call; 2 found | | (Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma) 269 | ERROR | Expected next thing to be a escaping function, not '$html' | | (WordPress.XSS.EscapeOutput) 272 | ERROR | Blank line found at end of control structure

| | (WordPress.WhiteSpace.ControlStructureSpacing)