Created
February 23, 2016 08:32
-
-
Save remcotolsma/f4a017c13c74f0788ce9 to your computer and use it in GitHub Desktop.
WordPress Coding Standards check Headway Base theme.
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FILE: /Users/remco/Workspace/wt-headway/footer.php | |
---------------------------------------------------------------------- | |
FOUND 8 ERRORS AFFECTING 4 LINES | |
---------------------------------------------------------------------- | |
2 | ERROR | [ ] You must use "/**" style comments for a file | |
| | comment (Squiz.Commenting.FileComment.WrongStyle) | |
3 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
3 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
3 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
3 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
4 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
4 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
11 | ERROR | [x] File must end with a newline character | |
| | (Generic.Files.EndFileNewline.NotFound) | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /Users/remco/Workspace/wt-headway/functions.php | |
---------------------------------------------------------------------- | |
FOUND 52 ERRORS AFFECTING 24 LINES | |
---------------------------------------------------------------------- | |
10 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
10 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
10 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
10 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
11 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
11 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
24 | ERROR | [x] Space after opening control structure is required | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterStructureOpen) | |
24 | ERROR | [x] No space before opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeOpenParenthesis) | |
24 | ERROR | [x] Expected 1 space after IF keyword; 0 found | |
| | (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) | |
24 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
24 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
24 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
24 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 | |
| | (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) | |
24 | ERROR | [x] Space between opening control structure and T_COLON is | |
| | required | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBetweenStructureColon) | |
25 | ERROR | [x] Line indented incorrectly; expected 1 tabs, found 0 | |
| | (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
25 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
25 | ERROR | [x] Opening brace should be on the same line as the | |
| | declaration | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.OpenBraceNotSameLine) | |
26 | ERROR | [x] Line indented incorrectly; expected at least 1 tabs, | |
| | found 0 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
26 | ERROR | [x] Opening brace should be on the same line as the | |
| | declaration | |
| | (Generic.Functions.OpeningFunctionBraceKernighanRitchie.BraceOnNewLine) | |
27 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
27 | ERROR | [x] Line indented incorrectly; expected at least 2 tabs, | |
| | found 1 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
28 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
28 | ERROR | [x] Line indented incorrectly; expected at least 2 tabs, | |
| | found 1 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
28 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
29 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
29 | ERROR | [ ] Inline comments must start with a capital letter | |
| | (Squiz.Commenting.InlineComment.NotCapital) | |
29 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
30 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
30 | ERROR | [x] Line indented incorrectly; expected at least 2 tabs, | |
| | found 1 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
31 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
31 | ERROR | [x] Line indented incorrectly; expected at least 2 tabs, | |
| | found 1 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
32 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
32 | ERROR | [x] Line indented incorrectly; expected at least 2 tabs, | |
| | found 1 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
33 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
33 | ERROR | [x] Line indented incorrectly; expected at least 2 tabs, | |
| | found 1 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
34 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
34 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found 1 | |
| | (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
35 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
35 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
36 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
36 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
37 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
37 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
38 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
39 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
40 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
41 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
41 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
42 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
43 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
44 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
49 | ERROR | [x] File must end with a newline character | |
| | (Generic.Files.EndFileNewline.NotFound) | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 49 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /Users/remco/Workspace/wt-headway/header.php | |
---------------------------------------------------------------------- | |
FOUND 8 ERRORS AFFECTING 4 LINES | |
---------------------------------------------------------------------- | |
2 | ERROR | [ ] You must use "/**" style comments for a file | |
| | comment (Squiz.Commenting.FileComment.WrongStyle) | |
3 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
3 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
3 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
3 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
4 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
4 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
10 | ERROR | [x] File must end with a newline character | |
| | (Generic.Files.EndFileNewline.NotFound) | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /Users/remco/Workspace/wt-headway/index.php | |
---------------------------------------------------------------------- | |
FOUND 8 ERRORS AFFECTING 4 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
10 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
10 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
10 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
10 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
11 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
11 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
13 | ERROR | [x] File must end with a newline character | |
| | (Generic.Files.EndFileNewline.NotFound) | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /Users/remco/Workspace/wt-headway/library/admin/admin-bar.php | |
---------------------------------------------------------------------- | |
FOUND 142 ERRORS AFFECTING 84 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [ ] Missing file doc comment | |
| | (Squiz.Commenting.FileComment.Missing) | |
2 | ERROR | [ ] Missing class doc comment | |
| | (Squiz.Commenting.ClassComment.Missing) | |
3 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
4 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
5 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
6 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
7 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
7 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
7 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
7 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
8 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
10 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
11 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
12 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
14 | ERROR | [ ] Removal of admin bar is prohibited. | |
| | (WordPress.VIP.AdminBarRemoval.RemovalDetected) | |
14 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
14 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
15 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
15 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
16 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
18 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
19 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
20 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
21 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
22 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
22 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
24 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
26 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
27 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
27 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
28 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
29 | ERROR | [x] No space found before comment text; expected "// | |
| | Headway Root" but found "//Headway Root" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
29 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
31 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
32 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
33 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
33 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
33 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
33 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
33 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
35 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
36 | ERROR | [x] No space found before comment text; expected "// | |
| | Visual Editor" but found "//Visual Editor" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
36 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
39 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
40 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
41 | ERROR | [x] Expected 1 space after "=>"; 2 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.SpacingAfter) | |
41 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
41 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
41 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
41 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
41 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
43 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
44 | ERROR | [x] No space found before comment text; expected "// Grid" | |
| | but found "//Grid" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
44 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
45 | ERROR | [x] Line indented incorrectly; expected 4 tabs, found | |
| | 6 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
45 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
45 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
49 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
50 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
51 | ERROR | [x] Expected 1 space after "=>"; 2 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.SpacingAfter) | |
51 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
51 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
51 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
51 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
51 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
55 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
56 | ERROR | [x] Line indented incorrectly; expected at least 6 tabs, | |
| | found 5 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
56 | ERROR | [x] No space found before comment text; expected "// | |
| | Design Editor" but found "//Design Editor" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
56 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
59 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
60 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
61 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
61 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
61 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
61 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
61 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
63 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
64 | ERROR | [x] Line indented incorrectly; expected at least 6 tabs, | |
| | found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
64 | ERROR | [x] No space found before comment text; expected "// Admin | |
| | Options" but found "//Admin Options" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
64 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
65 | ERROR | [x] Line indented incorrectly; expected at least 6 tabs, | |
| | found 4 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
66 | ERROR | [x] Line indented incorrectly; expected at least 6 tabs, | |
| | found 5 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
67 | ERROR | [x] Line indented incorrectly; expected at least 6 tabs, | |
| | found 5 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
67 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
68 | ERROR | [x] Line indented incorrectly; expected at least 6 tabs, | |
| | found 5 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
68 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
69 | ERROR | [x] Line indented incorrectly; expected at least 6 tabs, | |
| | found 5 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
69 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
69 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
69 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
74 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
75 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
76 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
76 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
76 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
78 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
81 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
82 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
83 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
83 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
83 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
85 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
89 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
90 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
90 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
90 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
92 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
96 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
97 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
97 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
97 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
99 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
103 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
104 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
104 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
104 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
106 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
107 | ERROR | [x] Line indented incorrectly; expected at least 5 tabs, | |
| | found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
107 | ERROR | [x] No space found before comment text; expected "// Admin | |
| | Tools" but found "//Admin Tools" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
107 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
108 | ERROR | [x] Line indented incorrectly; expected at least 5 tabs, | |
| | found 4 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
110 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
111 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
112 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
112 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
112 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
117 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
118 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
119 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
119 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
119 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
121 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
124 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
125 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
126 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
126 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
126 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
128 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
129 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
130 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
131 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
132 | ERROR | [x] File must end with a newline character | |
| | (Generic.Files.EndFileNewline.NotFound) | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 130 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: ...rs/remco/Workspace/wt-headway/library/admin/admin-meta-boxes.php | |
---------------------------------------------------------------------- | |
FOUND 197 ERRORS AND 3 WARNINGS AFFECTING 141 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [ ] Missing file doc comment | |
| | (Squiz.Commenting.FileComment.Missing) | |
2 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
2 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
3 | ERROR | [ ] Missing class doc comment | |
| | (Squiz.Commenting.ClassComment.Missing) | |
4 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
5 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
6 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
7 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
8 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
9 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
10 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
11 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
12 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
17 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
21 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
21 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
21 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$post"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
21 | ERROR | [ ] Overriding WordPress globals is prohibited | |
| | (WordPress.Variables.GlobalVariables.OverrideProhibited) | |
21 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
21 | ERROR | [x] Expected 1 spaces between argument "$post" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
25 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
26 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
29 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
29 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
30 | ERROR | [ ] Missing class doc comment | |
| | (Squiz.Commenting.ClassComment.Missing) | |
31 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
32 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
33 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
34 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
35 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
36 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
37 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
38 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
47 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
52 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
56 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
59 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
63 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
63 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
64 | ERROR | [ ] Missing class doc comment | |
| | (Squiz.Commenting.ClassComment.Missing) | |
65 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
66 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
67 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
68 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
69 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
70 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
71 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
75 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
78 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
82 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
82 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
83 | ERROR | [ ] Missing class doc comment | |
| | (Squiz.Commenting.ClassComment.Missing) | |
84 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
85 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
86 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
87 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
88 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
89 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
91 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
92 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
93 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
103 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
107 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
110 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
114 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
114 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
115 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
115 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
116 | ERROR | [ ] Missing class doc comment | |
| | (Squiz.Commenting.ClassComment.Missing) | |
117 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
118 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
119 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
120 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
121 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
122 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
123 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
124 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
125 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
126 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
129 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
131 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
137 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
139 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
145 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
147 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
153 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
155 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
161 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
163 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
169 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
171 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
177 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
179 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
185 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
187 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
193 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
195 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
201 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
203 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
205 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
206 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
207 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
208 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
210 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
211 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
211 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
211 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
211 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
211 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
211 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
212 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
212 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
213 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
215 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
217 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
218 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'get_bloginfo' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
218 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
218 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
219 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$date_text' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
220 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
221 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'str_replace' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
221 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
221 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
222 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
224 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
226 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
228 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
229 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
230 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
230 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
230 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$input"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
230 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
230 | ERROR | [x] Expected 1 spaces between argument "$input" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
231 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
235 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
235 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
241 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
241 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
241 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
241 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
251 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
253 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
254 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
255 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
255 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
255 | ERROR | [ ] Overriding WordPress globals is prohibited | |
| | (WordPress.Variables.GlobalVariables.OverrideProhibited) | |
255 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$post"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
255 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
255 | ERROR | [x] Expected 1 spaces between argument "$post" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
256 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
257 | ERROR | [x] No space found before comment text; expected "// Do | |
| | not use this box if the page being edited is the front | |
| | page since they can edit the setting in the | |
| | configuration." but found "//Do not use this box if the | |
| | page being edited is the front page since they can edit | |
| | the setting in the configuration." | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
258 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
258 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
258 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
258 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
258 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
258 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
258 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
258 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
259 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
260 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
260 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
261 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
263 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
267 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
268 | ERROR | [x] No space found before comment text; expected "// | |
| | Setup the defaults for the title and checkboxes" but | |
| | found "//Setup the defaults for the title and | |
| | checkboxes" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
268 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
270 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
270 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
271 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
271 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
272 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
273 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
273 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
273 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
273 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
273 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
273 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
273 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
273 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
274 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
275 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$title_template' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
276 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
277 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
277 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
278 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
278 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
279 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
279 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
280 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
280 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
281 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
281 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
282 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
282 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
283 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
283 | ERROR | [x] Functions must not contain multiple empty lines in a | |
| | row; found 2 empty lines | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines) | |
284 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
285 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
287 | ERROR | [x] File must end with a newline character | |
| | (Generic.Files.EndFileNewline.NotFound) | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 154 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /Users/remco/Workspace/wt-headway/library/admin/admin-pages.php | |
---------------------------------------------------------------------- | |
FOUND 36 ERRORS AFFECTING 34 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [ ] Missing file doc comment | |
| | (Squiz.Commenting.FileComment.Missing) | |
2 | ERROR | [ ] Missing class doc comment | |
| | (Squiz.Commenting.ClassComment.Missing) | |
3 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
4 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
5 | ERROR | [ ] Missing short description in doc comment | |
| | (Generic.Commenting.DocComment.MissingShort) | |
7 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
11 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
12 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
12 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
13 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'home_url' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
14 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'home_url' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
18 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
19 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
20 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
21 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
22 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
22 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
23 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
25 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
27 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
30 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
31 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
32 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
34 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
36 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
38 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
40 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
41 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
42 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
43 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
45 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
47 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
49 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
50 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
51 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
53 | ERROR | [x] File must end with a newline character | |
| | (Generic.Files.EndFileNewline.NotFound) | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 28 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /Users/remco/Workspace/wt-headway/library/admin/admin-write.php | |
---------------------------------------------------------------------- | |
FOUND 53 ERRORS AND 2 WARNINGS AFFECTING 25 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [ ] Missing file doc comment | |
| | (Squiz.Commenting.FileComment.Missing) | |
2 | ERROR | [ ] Missing class doc comment | |
| | (Squiz.Commenting.ClassComment.Missing) | |
3 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
4 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
5 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
6 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
8 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
8 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
9 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
10 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
10 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
10 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
10 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
12 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
12 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
12 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
12 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
13 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
15 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
16 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
17 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
17 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
17 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$postid"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
17 | ERROR | [x] No space before closing parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
17 | ERROR | [x] Expected 1 spaces between argument "$postid" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
19 | ERROR | [ ] Overriding WordPress globals is prohibited | |
| | (WordPress.Variables.GlobalVariables.OverrideProhibited) | |
19 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
19 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
22 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
22 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
22 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
24 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
29 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
29 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
34 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
34 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
34 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$return"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
34 | ERROR | [x] No space before closing parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
34 | ERROR | [x] Expected 1 spaces between argument "$new_slug" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
38 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
38 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
38 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
38 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
38 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
38 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
38 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
38 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
38 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
38 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
42 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
42 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
48 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
49 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
50 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
51 | ERROR | [x] File must end with a newline character | |
| | (Generic.Files.EndFileNewline.NotFound) | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 45 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /Users/remco/Workspace/wt-headway/library/admin/admin.php | |
---------------------------------------------------------------------- | |
FOUND 605 ERRORS AND 19 WARNINGS AFFECTING 309 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [ ] Missing file doc comment | |
| | (Squiz.Commenting.FileComment.Missing) | |
2 | ERROR | [ ] Missing class doc comment | |
| | (Squiz.Commenting.ClassComment.Missing) | |
3 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
4 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
5 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
6 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
8 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
15 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
17 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
18 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
19 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
22 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
22 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
22 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
22 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
23 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
23 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
23 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
23 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
24 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
24 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
24 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
24 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
25 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
26 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
26 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
26 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
26 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
26 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
27 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
27 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
27 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
27 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
28 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
28 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
28 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
28 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
30 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
30 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
30 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
30 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
31 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
32 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
32 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
32 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
32 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
33 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
33 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
33 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
33 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
34 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
35 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
35 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
35 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
35 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
37 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
37 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
37 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
37 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
38 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
38 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
38 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
38 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
39 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
39 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
39 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
39 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
40 | ERROR | [x] Functions must not contain multiple empty lines in a | |
| | row; found 2 empty lines | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines) | |
43 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
44 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
45 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
46 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
47 | ERROR | [x] No space found before comment text; expected "// | |
| | Form action for all Headway configuration panels. Not | |
| | in function/hook so it can load before everything else." | |
| | but found "//Form action for all Headway configuration | |
| | panels. Not in function/hook so it can load before | |
| | everything else." | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
48 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
48 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
48 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
48 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
50 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
51 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
51 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
51 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
51 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
51 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
52 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
55 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
57 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
60 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
60 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
61 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
62 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
62 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
63 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
65 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
70 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
72 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
74 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
76 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
76 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
76 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
76 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
79 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
79 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
79 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
79 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
79 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
79 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
81 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
82 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
82 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
82 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
82 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
82 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
82 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
87 | ERROR | [x] Functions must not contain multiple empty lines in a | |
| | row; found 2 empty lines | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines) | |
90 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found | |
| | 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
90 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
90 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
90 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
90 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
92 | ERROR | [x] Line indented incorrectly; expected 3 tabs, found | |
| | 4 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
92 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
92 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
92 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
92 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
94 | ERROR | [x] Line indented incorrectly; expected 4 tabs, found | |
| | 5 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
96 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
96 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
96 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
96 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
96 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
96 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
97 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
97 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
99 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
99 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
101 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
103 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
107 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
108 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
108 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
108 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
108 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
110 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
110 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
110 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
110 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
112 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
112 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
112 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
112 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
114 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
114 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
116 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
116 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
118 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
120 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
124 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
125 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
125 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
125 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
125 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
127 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
127 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
127 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
127 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
129 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
129 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
129 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
129 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
130 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
131 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
131 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
133 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
133 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
137 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
137 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
137 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
145 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
145 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
148 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
150 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
152 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
155 | ERROR | [x] Functions must not contain multiple empty lines in a | |
| | row; found 2 empty lines | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines) | |
157 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
162 | ERROR | [x] Line indented incorrectly; expected 1 tabs, found | |
| | 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
162 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
162 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
162 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$activation_request"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
162 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
162 | ERROR | [x] Expected 1 spaces between argument | |
| | "$activation_request" and closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
167 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found | |
| | 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
167 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
167 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
167 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
167 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
169 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
169 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
171 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
171 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
171 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
171 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
177 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
178 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
178 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
182 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
182 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
190 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found | |
| | 1 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
190 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
191 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
192 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
192 | ERROR | [x] No space found before comment text; expected "// | |
| | Form action for all Headway configuration panels. Not | |
| | in function/hook so it can load before everything else." | |
| | but found "//Form action for all Headway configuration | |
| | panels. Not in function/hook so it can load before | |
| | everything else." | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
193 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
193 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
193 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
193 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
193 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
195 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
196 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
196 | ERROR | [x] No space found before comment text; expected "// | |
| | Verify the nonce so other sites can't maliciously reset | |
| | a Headway installation." but found "//Verify the nonce | |
| | so other sites can't maliciously reset a Headway | |
| | installation." | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
197 | ERROR | [x] Line indented incorrectly; expected 3 tabs, found | |
| | 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
197 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
197 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
197 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
197 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
197 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
198 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
199 | ERROR | [x] Line indented incorrectly; expected at least 4 tabs, | |
| | found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
200 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
201 | ERROR | [x] Line indented incorrectly; expected at least 4 tabs, | |
| | found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
202 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
208 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
209 | ERROR | [x] No space found before comment text; expected "// | |
| | Fetch all options in wp_options and remove the | |
| | Headway-specific options" but found "//Fetch all options | |
| | in wp_options and remove the Headway-specific | |
| | options" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
209 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
211 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
212 | ERROR | [x] No space found before comment text; expected "// | |
| | This if statement is incredibly important and must not | |
| | be tampered with and needs to be triple-checked if | |
| | changed." but found "//This if statement is incredibly | |
| | important and must not be tampered with and needs to be | |
| | triple-checked if changed." | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
213 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
213 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
213 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
213 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
213 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
213 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
213 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
215 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
215 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
217 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
217 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
218 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
220 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
221 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
221 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
224 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
225 | ERROR | [x] No space found before comment text; expected "// | |
| | This will hide the reset box if set to true." but found | |
| | "//This will hide the reset box if set to true." | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
227 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
229 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
232 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
233 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
234 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
235 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
235 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
235 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
235 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
235 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
237 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
239 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
240 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
240 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
242 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
243 | ERROR | [x] No space found before comment text; expected "// | |
| | Since they may be upgrading and files may change, let's | |
| | clear the cache" but found "//Since they may be | |
| | upgrading and files may change, let's clear the | |
| | cache" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
243 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
244 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
244 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
247 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
249 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
250 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
251 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
252 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
253 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
253 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
254 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
255 | ERROR | [x] No space found before comment text; expected "// If | |
| | a child theme has been activated rather than Headway, | |
| | then don't redirect." but found "//If a child theme has | |
| | been activated rather than Headway, then don't | |
| | redirect." | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
256 | ERROR | [x] No space found before comment text; expected "// Let | |
| | the child theme developer redirect if they want by using | |
| | the hook above." but found "//Let the child theme | |
| | developer redirect if they want by using the hook | |
| | above." | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
257 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
259 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
261 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
262 | ERROR | [x] No space found before comment text; expected "// If | |
| | header were sent, then don't do the redirect" but found | |
| | "//If header were sent, then don't do the redirect" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
262 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
263 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
265 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
266 | ERROR | [x] No space found before comment text; expected "// | |
| | We're all good, redirect now" but found "//We're all | |
| | good, redirect now" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
266 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
267 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
267 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
267 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
267 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
269 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
271 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
272 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
273 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
274 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
275 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
275 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
275 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
275 | WARNING | [ ] Detected access of super global var $_GET, probably | |
| | need manual inspection. | |
| | (WordPress.VIP.SuperGlobalInputUsage.AccessDetected) | |
275 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
275 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
275 | WARNING | [ ] Detected access of super global var $_GET, probably | |
| | need manual inspection. | |
| | (WordPress.VIP.SuperGlobalInputUsage.AccessDetected) | |
275 | ERROR | [ ] Missing wp_unslash() before sanitization. | |
| | (WordPress.VIP.ValidatedSanitizedInput.MissingUnslash) | |
275 | ERROR | [ ] Detected usage of a non-sanitized input variable: | |
| | $_GET | |
| | (WordPress.VIP.ValidatedSanitizedInput.InputNotSanitized) | |
275 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
276 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
276 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
277 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
279 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
280 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
281 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
281 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
281 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$position"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
281 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
281 | ERROR | [x] Expected 1 space after closing parenthesis; found | |
| | 0 | |
| | (Generic.Functions.OpeningFunctionBraceKernighanRitchie.SpaceAfterBracket) | |
281 | ERROR | [x] Expected 1 spaces between argument "$position" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
281 | ERROR | [x] Space between opening control structure and closing | |
| | parenthesis is required | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterCloseParenthesis) | |
282 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
284 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
285 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
285 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
285 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
286 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
287 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
287 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
288 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
290 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
291 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
292 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
292 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
292 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$name"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
292 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
292 | ERROR | [x] Expected 1 spaces between argument "$callback" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
293 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
296 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
296 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
297 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
299 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
300 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
301 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
301 | ERROR | [x] Expected 1 space after closing parenthesis; found | |
| | 0 | |
| | (Generic.Functions.OpeningFunctionBraceKernighanRitchie.SpaceAfterBracket) | |
302 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
303 | ERROR | [x] No space found before comment text; expected "// If | |
| | the hide menus constant is set to true, don't hide the | |
| | menus!" but found "//If the hide menus constant is set | |
| | to true, don't hide the menus!" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
304 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
304 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
304 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
306 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
307 | ERROR | [x] No space found before comment text; expected "// If | |
| | user cannot access the admin panels, then don't bother | |
| | running these functions" but found "//If user cannot | |
| | access the admin panels, then don't bother running these | |
| | functions" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
307 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
308 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
308 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
308 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
311 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
311 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
311 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
313 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
313 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
313 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
313 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
313 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
315 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
318 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
318 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
318 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
319 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
320 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
320 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
320 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
321 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
322 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found | |
| | 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
323 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
324 | ERROR | [x] Line indented incorrectly; expected 3 tabs, found | |
| | 4 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
325 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
325 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
325 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
325 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
326 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
326 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
326 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
326 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
328 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
328 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
328 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
328 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
329 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
329 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
329 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
329 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
331 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
333 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
333 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
333 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
333 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
335 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
335 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
335 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
335 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
336 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
336 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
336 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
336 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
338 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
340 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
340 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
340 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
340 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
341 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
341 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
341 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
341 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
342 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
343 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
343 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
343 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
343 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
345 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
347 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
349 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
350 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
351 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
352 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
353 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
353 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
354 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
357 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
362 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
362 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
362 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
365 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
370 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
370 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
370 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
373 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
378 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
378 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
378 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
381 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
383 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
385 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
387 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
388 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
389 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
390 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
393 | WARNING | [ ] This comment is 50% valid code; is this commented | |
| | out code? (Squiz.PHP.CommentedOutCode.Found) | |
394 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
394 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
395 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
397 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
397 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
397 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
397 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
398 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
399 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
399 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
399 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
399 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
400 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
400 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
400 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
400 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
401 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
401 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
401 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
401 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
402 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
402 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
402 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
402 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
403 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
404 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
404 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
405 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
405 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
406 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
409 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
410 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
410 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
411 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
411 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
412 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
412 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
412 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
412 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
413 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
415 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
416 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
417 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
417 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
417 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
417 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
418 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
418 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
419 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
419 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
420 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
422 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
424 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
425 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
426 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
427 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
429 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
430 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
430 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
430 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
430 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
430 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
430 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
430 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
433 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not | |
| | '$headway_admin_save_message' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
434 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
438 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
439 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
441 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
442 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
442 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
442 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
442 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
442 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
442 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
442 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
444 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
445 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not | |
| | '$headway_admin_save_error_message' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
446 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
448 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
449 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
450 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
451 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
453 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
454 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
454 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
454 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
454 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
454 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
456 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
457 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
457 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
457 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
457 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
458 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
459 | ERROR | [x] No space found before comment text; expected "// | |
| | Show the widgets message if no widget blocks exist." but | |
| | found "//Show the widgets message if no widget blocks | |
| | exist." | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
460 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
460 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
461 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
462 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
462 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
463 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
464 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
464 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
464 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
464 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
466 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
467 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
467 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
467 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
467 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
469 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
471 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$grid_mode_url' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
480 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
481 | ERROR | [x] No space found before comment text; expected "// | |
| | Show the navigation menus message if no navigation | |
| | blocks exist." but found "//Show the navigation menus | |
| | message if no navigation blocks exist." | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
482 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
482 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
484 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
484 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
486 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
486 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
486 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
486 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
488 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
489 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
489 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
489 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
489 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
493 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$grid_mode_url' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
497 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
501 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
501 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
501 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$title"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
501 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
501 | ERROR | [x] Expected 1 spaces between argument "$icon_id" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
502 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
504 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$icon_id' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
506 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
506 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
507 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$title' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
508 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
512 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
519 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
519 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
519 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$actions"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
519 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
519 | ERROR | [x] Expected 1 spaces between argument "$item" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
521 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
521 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
525 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
525 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
527 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
527 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
527 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
530 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
530 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
532 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
532 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
537 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
538 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
538 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
538 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
538 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
542 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
543 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
543 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
543 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
543 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
547 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
548 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
548 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
554 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
554 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
560 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
562 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
563 | ERROR | [x] File must end with a newline character | |
| | (Generic.Files.EndFileNewline.NotFound) | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 552 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: ...rs/remco/Workspace/wt-headway/library/admin/api-admin-inputs.php | |
---------------------------------------------------------------------- | |
FOUND 279 ERRORS AND 4 WARNINGS AFFECTING 158 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [ ] Missing file doc comment | |
| | (Squiz.Commenting.FileComment.Missing) | |
2 | ERROR | [ ] Missing class doc comment | |
| | (Squiz.Commenting.ClassComment.Missing) | |
3 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
4 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
5 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
5 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
5 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$inputs"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
5 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
5 | ERROR | [x] Expected 1 spaces between argument "$table_class" | |
| | and closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
6 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
7 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$table_class' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
8 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
10 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
11 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found | |
| | 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
12 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
14 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
15 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
15 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
15 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
15 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
17 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
18 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
18 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
18 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
18 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
19 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
19 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
20 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
20 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
21 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
22 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
22 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
23 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
24 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
24 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
24 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
24 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
26 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
26 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
26 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
26 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
26 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
26 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
26 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
26 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
27 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
27 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
27 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
27 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
29 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$row_class' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
31 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$id' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
31 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
31 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$tooltip' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
34 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
35 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
35 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
35 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
35 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
37 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$suffix' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
37 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$description' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
38 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
41 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
43 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
44 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
45 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
47 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
48 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
49 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
49 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
49 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$input"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
49 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
49 | ERROR | [x] Expected 1 spaces between argument "$input" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
50 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
58 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
60 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
61 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
61 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
62 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
65 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
66 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$type_attr' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
66 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
66 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
66 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
66 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$name_attr' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
66 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
69 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
70 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
71 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
71 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
71 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$input"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
71 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
71 | ERROR | [x] Expected 1 spaces between argument "$input" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
72 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
78 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
80 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
81 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
81 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
82 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
84 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
85 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
85 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
85 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
85 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$name_attr' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
88 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
89 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
90 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
90 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
90 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$input"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
90 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
90 | ERROR | [x] Expected 1 spaces between argument "$input" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
91 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
97 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
99 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
100 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
100 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
101 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
103 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
105 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
106 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not | |
| | '$allow_tabbing_class' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
106 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
106 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
106 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
106 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$name_attr' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
106 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
107 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
109 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
110 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
111 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
111 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
111 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$input"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
111 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
111 | ERROR | [x] Expected 1 spaces between argument "$input" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
112 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
114 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
116 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
117 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
117 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
118 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
120 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
121 | ERROR | [x] No space found before comment text; expected "// | |
| | Initialize counter for adding <br />'s" but found | |
| | "//Initialize counter for adding <br />'s" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
121 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
123 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
125 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
127 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
128 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found | |
| | 4 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
128 | ERROR | [x] Space after opening control structure is | |
| | required | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterStructureOpen) | |
128 | ERROR | [x] No space before opening parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeOpenParenthesis) | |
128 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
128 | ERROR | [x] Expected 1 space after FOREACH keyword; 0 found | |
| | (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) | |
128 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
129 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
131 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
131 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
131 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
131 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
132 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
134 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
135 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$checkbox' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
136 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
137 | ERROR | [x] No space found before comment text; expected "// The | |
| | hidden input is not needed if the no-submit attribute is | |
| | set" but found "//The hidden input is not needed if the | |
| | no-submit attribute is set" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
137 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
138 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$name_attr' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
139 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
140 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not | |
| | '$checkbox_checked' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
140 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$checkbox' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
140 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$name_attr' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
141 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$checkbox' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
141 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
143 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
144 | ERROR | [x] No space found before comment text; expected "// Add | |
| | in <br /> if there are multiple checkboxes" but found | |
| | "//Add in <br /> if there are multiple checkboxes" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
144 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
145 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
145 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
145 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
145 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
145 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
147 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
149 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
150 | ERROR | [x] Line indented incorrectly; expected at least 4 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
151 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
153 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
154 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
155 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
155 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
155 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$input"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
155 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
155 | ERROR | [x] Expected 1 spaces between argument "$input" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
156 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
157 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
157 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
158 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
160 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
161 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
162 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
162 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
162 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$input"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
162 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
162 | ERROR | [x] Expected 1 spaces between argument "$input" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
163 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
167 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
169 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
170 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
170 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
170 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
171 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
175 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
176 | ERROR | [x] No space found before comment text; expected "// If | |
| | there are options in the multiselect and then the user | |
| | wants to remove all of the selected options, it will not | |
| | save." but found "//If there are options in the | |
| | multiselect and then the user wants to remove all of the | |
| | selected options, it will not save." | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
177 | ERROR | [x] No space found before comment text; expected "// | |
| | This is the workaround." but found "//This is the | |
| | workaround." | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
178 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
178 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
179 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
180 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
181 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
181 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$name_attr' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
181 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$multiple_attr' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
182 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
183 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found | |
| | 4 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
183 | ERROR | [x] Space after opening control structure is | |
| | required | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterStructureOpen) | |
183 | ERROR | [x] No space before opening parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeOpenParenthesis) | |
183 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
183 | ERROR | [x] Expected 1 space after FOREACH keyword; 0 found | |
| | (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) | |
183 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
184 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
185 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
185 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
186 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
187 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
187 | ERROR | [x] Expected 1 space after ELSE keyword; newline | |
| | found | |
| | (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) | |
188 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
188 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
188 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
188 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
188 | WARNING | [ ] Not using strict comparison for in_array(); supply | |
| | true for third argument. | |
| | (WordPress.PHP.StrictInArray.MissingTrueStrict) | |
189 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
190 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$value' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
190 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$selected' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
190 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$label' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
191 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
193 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
194 | ERROR | [x] Line indented incorrectly; expected at least 4 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
195 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
197 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
198 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
199 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
199 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
199 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$input"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
199 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
199 | ERROR | [x] Expected 1 spaces between argument "$input" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
200 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
202 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
204 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
205 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
205 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
206 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
208 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
211 | ERROR | [x] No space found before comment text; expected "// | |
| | Initialize counter for adding <br />'s" but found | |
| | "//Initialize counter for adding <br />'s" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
211 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
213 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
215 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
217 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
218 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found | |
| | 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
218 | ERROR | [x] Space after opening control structure is | |
| | required | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterStructureOpen) | |
218 | ERROR | [x] No space before opening parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeOpenParenthesis) | |
218 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
218 | ERROR | [x] Expected 1 space after FOREACH keyword; 0 found | |
| | (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) | |
218 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
219 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
222 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
224 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$radio' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
225 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$radio_checked' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
225 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$radio' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
225 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$radio' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
225 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$name_attr' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
226 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$radio' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
226 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
228 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
230 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
231 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
232 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
233 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
234 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
235 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
236 | ERROR | [x] File must end with a newline character | |
| | (Generic.Files.EndFileNewline.NotFound) | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 219 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /Users/remco/Workspace/wt-headway/library/admin/pages/extend.php | |
---------------------------------------------------------------------- | |
FOUND 133 ERRORS AND 3 WARNINGS AFFECTING 68 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [ ] Missing file doc comment | |
| | (Squiz.Commenting.FileComment.Missing) | |
5 | ERROR | [ ] Missing class doc comment | |
| | (Squiz.Commenting.ClassComment.Missing) | |
8 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
8 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
10 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
11 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
12 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
12 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
13 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
14 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
15 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
16 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
17 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
17 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
17 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
18 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
18 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
18 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
18 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
19 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
20 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
22 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
22 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
22 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
23 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
23 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
23 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
25 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
25 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
25 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
25 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
27 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
29 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
30 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
32 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
34 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
34 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$addons' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
36 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
38 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
41 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
41 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
43 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
44 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
46 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
48 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
48 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
48 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
50 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
50 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
51 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
51 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
52 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
52 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
53 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
54 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
54 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
54 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
54 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
55 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
57 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
59 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
61 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
64 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
64 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
66 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
66 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
66 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
67 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
69 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
71 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
71 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
71 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
71 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
73 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
74 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
74 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
74 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
76 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
76 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
77 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
77 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
78 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
78 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
79 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
80 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
80 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
80 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
80 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
80 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
80 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
80 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
80 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
81 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
83 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
85 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
87 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
90 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
90 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
92 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
92 | WARNING | [ ] wp_remote_get is highly discouraged, please use | |
| | vip_safe_wp_remote_get() instead. | |
| | (WordPress.VIP.RestrictedFunctions.wp_remote_get) | |
92 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
92 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
92 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
92 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
92 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
92 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
93 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
93 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
93 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
95 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
95 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
95 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
95 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
95 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
95 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
96 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
98 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
98 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
98 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
99 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
101 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
101 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
102 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
102 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
102 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
102 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
104 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
104 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
105 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
105 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
105 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
105 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
107 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
109 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
109 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
112 | ERROR | [x] File must end with a newline character | |
| | (Generic.Files.EndFileNewline.NotFound) | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 124 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: ...mco/Workspace/wt-headway/library/admin/pages/getting-started.php | |
---------------------------------------------------------------------- | |
FOUND 11 ERRORS AFFECTING 5 LINES | |
---------------------------------------------------------------------- | |
7 | ERROR | [ ] Missing file doc comment | |
| | (Squiz.Commenting.FileComment.Missing) | |
7 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 | |
| | (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) | |
7 | ERROR | [x] Space between opening control structure and T_COLON is | |
| | required | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBetweenStructureColon) | |
9 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'admin_url' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
9 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
9 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
14 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'home_url' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
17 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'admin_url' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
17 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
17 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
21 | ERROR | [x] File must end with a newline character | |
| | (Generic.Files.EndFileNewline.NotFound) | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: ...Users/remco/Workspace/wt-headway/library/admin/pages/options.php | |
---------------------------------------------------------------------- | |
FOUND 247 ERRORS AND 2 WARNINGS AFFECTING 149 LINES | |
---------------------------------------------------------------------- | |
9 | ERROR | [ ] Missing file doc comment | |
| | (Squiz.Commenting.FileComment.Missing) | |
9 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
9 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
10 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
10 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
13 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'wp_create_nonce' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
13 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
13 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
34 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
34 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
34 | ERROR | [x] Expected 1 space after closing parenthesis; found | |
| | 0 | |
| | (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) | |
34 | ERROR | [x] Space between opening control structure and T_COLON | |
| | is required | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBetweenStructureColon) | |
38 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$item_slug' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
38 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$item_name' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
41 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not | |
| | 'headway_get_license_key' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
41 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
41 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
41 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$item_slug' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
41 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$item_slug' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
42 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
43 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
43 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
45 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
45 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
47 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
47 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
49 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$item_slug' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
49 | ERROR | [ ] Expected next thing to be an escaping function (like | |
| | esc_html_e() or esc_attr_e()), not '_e' | |
| | (WordPress.XSS.EscapeOutput.UnsafePrintingFunction) | |
49 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
49 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
50 | ERROR | [ ] Expected next thing to be an escaping function (like | |
| | esc_html_e() or esc_attr_e()), not '_e' | |
| | (WordPress.XSS.EscapeOutput.UnsafePrintingFunction) | |
50 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
50 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
52 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$item_slug' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
52 | ERROR | [ ] Expected next thing to be an escaping function (like | |
| | esc_html_e() or esc_attr_e()), not '_e' | |
| | (WordPress.XSS.EscapeOutput.UnsafePrintingFunction) | |
52 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
52 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
55 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$item_slug' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
55 | ERROR | [ ] Expected next thing to be an escaping function (like | |
| | esc_html_e() or esc_attr_e()), not '_e' | |
| | (WordPress.XSS.EscapeOutput.UnsafePrintingFunction) | |
55 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
55 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
75 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
81 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
81 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
82 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
91 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
91 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
91 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
92 | ERROR | [x] Comma required after last value in array | |
| | declaration | |
| | (WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast) | |
94 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
95 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
95 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
101 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
106 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
106 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
110 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
112 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
115 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
117 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
120 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
121 | ERROR | [x] Comma required after last value in array | |
| | declaration | |
| | (WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast) | |
123 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
124 | ERROR | [x] Comma required after last value in array | |
| | declaration | |
| | (WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast) | |
126 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
127 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
127 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
133 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
137 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
137 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
140 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
143 | ERROR | [x] Comma required after last value in array | |
| | declaration | |
| | (WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast) | |
145 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
145 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
146 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
146 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
167 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
186 | ERROR | [x] Comma required after last value in array | |
| | declaration | |
| | (WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast) | |
190 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
190 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
192 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
192 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
194 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
194 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
198 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
198 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
198 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
198 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
200 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
200 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
201 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
201 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
203 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$page' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
203 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
203 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$name_attr' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
203 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'stripslashes' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
203 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
203 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
203 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
203 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
205 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
217 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
217 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
217 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
217 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
223 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
223 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
223 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
223 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
225 | ERROR | [x] Space after opening control structure is | |
| | required | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterStructureOpen) | |
225 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
225 | ERROR | [x] Expected 1 space after FOREACH keyword; 0 found | |
| | (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) | |
226 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$post_type' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
226 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$post_type' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
248 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
255 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
265 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
266 | ERROR | [x] Comma required after last value in array | |
| | declaration | |
| | (WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast) | |
269 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
269 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
278 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'admin_url' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
278 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
278 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
279 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'admin_url' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
279 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
279 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
287 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
295 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
296 | ERROR | [x] Comma required after last value in array | |
| | declaration | |
| | (WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast) | |
298 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
308 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
309 | ERROR | [x] Comma required after last value in array | |
| | declaration | |
| | (WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast) | |
311 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
321 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
322 | ERROR | [x] Comma required after last value in array | |
| | declaration | |
| | (WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast) | |
324 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
334 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
335 | ERROR | [x] Comma required after last value in array | |
| | declaration | |
| | (WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast) | |
337 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
347 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
348 | ERROR | [x] Comma required after last value in array | |
| | declaration | |
| | (WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast) | |
350 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
360 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
361 | ERROR | [x] Comma required after last value in array | |
| | declaration | |
| | (WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast) | |
363 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
364 | ERROR | [x] Comma required after last value in array | |
| | declaration | |
| | (WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast) | |
367 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
367 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
379 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
387 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
387 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
387 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
388 | ERROR | [x] Comma required after last value in array | |
| | declaration | |
| | (WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast) | |
390 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
391 | ERROR | [x] Comma required after last value in array | |
| | declaration | |
| | (WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast) | |
394 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
394 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
397 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
407 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
416 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
416 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
416 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
418 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
427 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
427 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
427 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
428 | ERROR | [x] Comma required after last value in array | |
| | declaration | |
| | (WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast) | |
431 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
431 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
440 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
448 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
448 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
448 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
449 | ERROR | [x] Comma required after last value in array | |
| | declaration | |
| | (WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast) | |
451 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
453 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
461 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
461 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
461 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
462 | ERROR | [x] Comma required after last value in array | |
| | declaration | |
| | (WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast) | |
464 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
466 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
474 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
474 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
474 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
475 | ERROR | [x] Comma required after last value in array | |
| | declaration | |
| | (WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast) | |
477 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
487 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
487 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
487 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
488 | ERROR | [x] Comma required after last value in array | |
| | declaration | |
| | (WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast) | |
490 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
491 | ERROR | [x] Comma required after last value in array | |
| | declaration | |
| | (WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast) | |
493 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
494 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
494 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
505 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
513 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
513 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
513 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
514 | ERROR | [x] Comma required after last value in array | |
| | declaration | |
| | (WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast) | |
516 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
518 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
526 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
526 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
526 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
527 | ERROR | [x] Comma required after last value in array | |
| | declaration | |
| | (WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast) | |
529 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
539 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
539 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
539 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
540 | ERROR | [x] Comma required after last value in array | |
| | declaration | |
| | (WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast) | |
542 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
543 | ERROR | [x] Comma required after last value in array | |
| | declaration | |
| | (WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast) | |
545 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
546 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
546 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
552 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
560 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
560 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
560 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
561 | ERROR | [x] Comma required after last value in array | |
| | declaration | |
| | (WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast) | |
563 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
565 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
573 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
573 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
573 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
574 | ERROR | [x] Comma required after last value in array | |
| | declaration | |
| | (WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast) | |
576 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
578 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
586 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
586 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
586 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
587 | ERROR | [x] Comma required after last value in array | |
| | declaration | |
| | (WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast) | |
589 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
590 | ERROR | [x] Comma required after last value in array | |
| | declaration | |
| | (WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast) | |
592 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
593 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
593 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
601 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
609 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
609 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
609 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
610 | ERROR | [x] Comma required after last value in array | |
| | declaration | |
| | (WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast) | |
612 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
613 | ERROR | [x] Comma required after last value in array | |
| | declaration | |
| | (WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast) | |
615 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
616 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
616 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
630 | ERROR | [x] File must end with a newline character | |
| | (Generic.Files.EndFileNewline.NotFound) | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 224 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /Users/remco/Workspace/wt-headway/library/admin/pages/tools.php | |
---------------------------------------------------------------------- | |
FOUND 104 ERRORS AND 3 WARNINGS AFFECTING 50 LINES | |
---------------------------------------------------------------------- | |
6 | ERROR | [ ] Missing file doc comment | |
| | (Squiz.Commenting.FileComment.Missing) | |
6 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
6 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
26 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
26 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
26 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
27 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
27 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
28 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
28 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
36 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
36 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
36 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'wp_get_theme' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
36 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not | |
| | 'get_current_theme' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
40 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'site_url' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
41 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'home_url' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
43 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'HEADWAY_VERSION' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
44 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'get_bloginfo' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
44 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
44 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
46 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'PHP_VERSION' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
47 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not | |
| | 'mysql_get_server_info' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
48 | WARNING | [ ] Detected access of super global var $_SERVER, | |
| | probably need manual inspection. | |
| | (WordPress.VIP.SuperGlobalInputUsage.AccessDetected) | |
48 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$_SERVER' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
48 | ERROR | [ ] Detected usage of a non-validated input variable: | |
| | $_SERVER | |
| | (WordPress.VIP.ValidatedSanitizedInput.InputNotValidated) | |
48 | ERROR | [ ] Missing wp_unslash() before sanitization. | |
| | (WordPress.VIP.ValidatedSanitizedInput.MissingUnslash) | |
48 | ERROR | [ ] Detected usage of a non-sanitized input variable: | |
| | $_SERVER | |
| | (WordPress.VIP.ValidatedSanitizedInput.InputNotSanitized) | |
49 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
49 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
51 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'ini_get' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
51 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
51 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
52 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'ini_get' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
52 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
52 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
54 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
54 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
54 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'WP_DEBUG' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
55 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
55 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
57 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'get_option' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
57 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
57 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
58 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'get_option' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
58 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
58 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
59 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'get_option' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
59 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
59 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
62 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
62 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
62 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
62 | ERROR | [x] Expected 1 space after closing parenthesis; found | |
| | 0 | |
| | (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) | |
62 | ERROR | [x] Space between opening control structure and T_COLON | |
| | is required | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBetweenStructureColon) | |
64 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$post_count' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
65 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$page_count' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
66 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
66 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
75 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'HeadwayCompiler' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
77 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'HeadwaySEO' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
79 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'ucwords' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
79 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
79 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
80 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$browser' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
81 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$browser' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
84 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$browser' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
91 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
91 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
91 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
91 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
93 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
94 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
95 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$provider' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
95 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$font' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
108 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
108 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
110 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
110 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
110 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
110 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
113 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
114 | ERROR | [x] No space found before comment text; expected "// If | |
| | the plugin isn't active, don't show it." but found "//If | |
| | the plugin isn't active, don't show it." | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
115 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
115 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
115 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
115 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
115 | WARNING | [ ] Not using strict comparison for in_array(); supply | |
| | true for third argument. | |
| | (WordPress.PHP.StrictInArray.MissingTrueStrict) | |
117 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
118 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$plugin' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
118 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$plugin' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
119 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
120 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
120 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
120 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
121 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$plugin' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
122 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
124 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
125 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
144 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
144 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
144 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
144 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
144 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
152 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'wp_create_nonce' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
152 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
152 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
163 | ERROR | [x] File must end with a newline character | |
| | (Generic.Files.EndFileNewline.NotFound) | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 70 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: ...rs/remco/Workspace/wt-headway/library/api/api-admin-meta-box.php | |
---------------------------------------------------------------------- | |
FOUND 437 ERRORS AND 9 WARNINGS AFFECTING 216 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [ ] Missing file doc comment | |
| | (Squiz.Commenting.FileComment.Missing) | |
2 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
2 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
2 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$class"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
2 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
2 | ERROR | [x] Expected 1 spaces between argument "$class" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
4 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
4 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
4 | WARNING | [ ] create_function is discouraged, please use Anonymous | |
| | functions instead. | |
| | (WordPress.VIP.RestrictedFunctions.create_function) | |
4 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
4 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
5 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
9 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
9 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
9 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$class"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
9 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
9 | ERROR | [x] Expected 1 spaces between argument "$class" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
10 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
11 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
11 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
11 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
11 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
12 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
12 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
12 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
12 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
13 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
16 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
18 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
22 | ERROR | [ ] Missing class doc comment | |
| | (Squiz.Commenting.ClassComment.Missing) | |
23 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
26 | ERROR | [ ] Missing @var tag in member variable comment | |
| | (Squiz.Commenting.VariableComment.MissingVar) | |
28 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
31 | ERROR | [ ] Missing @var tag in member variable comment | |
| | (Squiz.Commenting.VariableComment.MissingVar) | |
33 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
36 | ERROR | [ ] Missing @var tag in member variable comment | |
| | (Squiz.Commenting.VariableComment.MissingVar) | |
38 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
41 | ERROR | [ ] Missing @var tag in member variable comment | |
| | (Squiz.Commenting.VariableComment.MissingVar) | |
43 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
46 | ERROR | [ ] Missing @var tag in member variable comment | |
| | (Squiz.Commenting.VariableComment.MissingVar) | |
48 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
51 | ERROR | [ ] Missing @var tag in member variable comment | |
| | (Squiz.Commenting.VariableComment.MissingVar) | |
53 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
56 | ERROR | [ ] Missing @var tag in member variable comment | |
| | (Squiz.Commenting.VariableComment.MissingVar) | |
58 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
61 | ERROR | [ ] Missing @var tag in member variable comment | |
| | (Squiz.Commenting.VariableComment.MissingVar) | |
63 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
64 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
65 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
66 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
67 | ERROR | [x] No space found before comment text; expected "// | |
| | Check for at least a name and ID" but found "//Check for | |
| | at least a name and ID" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
67 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
68 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
68 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
68 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
68 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
70 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
71 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
71 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
71 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
71 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
73 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
74 | ERROR | [x] No space found before comment text; expected "// Set | |
| | up default variables" but found "//Set up default | |
| | variables" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
74 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
75 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
75 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
75 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
75 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
76 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
76 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
77 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
77 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
78 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
78 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
79 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
80 | ERROR | [x] No space found before comment text; expected "// Add | |
| | the prefix to the ID" but found "//Add the prefix to the | |
| | ID" (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
80 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
82 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
83 | ERROR | [x] No space found before comment text; expected "// | |
| | Change post types to array if it is a string" but found | |
| | "//Change post types to array if it is a string" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
83 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
84 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
84 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
84 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
85 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
85 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
86 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
87 | ERROR | [x] No space found before comment text; expected "// Set | |
| | up hooks" but found "//Set up hooks" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
87 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
88 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
88 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
88 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
88 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
89 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
89 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
89 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
89 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
90 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
92 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
93 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
94 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
95 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
96 | ERROR | [x] No space found before comment text; expected "// | |
| | Register the meta box on the specified post types" but | |
| | found "//Register the meta box on the specified post | |
| | types" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
96 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
97 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
97 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
98 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
98 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
98 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
98 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
100 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
101 | ERROR | [x] No space found before comment text; expected "// | |
| | Register the meta box on the post types that "support" | |
| | the meta box" but found "//Register the meta box on the | |
| | post types that "support" the meta box" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
101 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
102 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
102 | WARNING | [ ] No space before opening casting parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.CastStructureSpacing.NoSpaceBeforeOpenParenthesis) | |
102 | WARNING | [ ] No space after closing casting parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.CastStructureSpacing.NoSpaceAfterCloseParenthesis) | |
102 | ERROR | [x] A cast statement must be followed by a single | |
| | space (Generic.Formatting.SpaceAfterCast.NoSpace) | |
102 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
102 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
102 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
102 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
102 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
103 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
104 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
104 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
104 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
105 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
105 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
105 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
105 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
106 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
108 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
110 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
111 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
112 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
113 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
115 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
116 | ERROR | [x] No space found before comment text; expected "// | |
| | Create the nonce" but found "//Create the nonce" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
116 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
117 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$this' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
117 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$this' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
117 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'wp_create_nonce' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
117 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
117 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
117 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
117 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
118 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
119 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
119 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
119 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
120 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
120 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
121 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
122 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
122 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
122 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
122 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
123 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$this' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
124 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
126 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
127 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found | |
| | 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
127 | ERROR | [x] Space after opening control structure is | |
| | required | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterStructureOpen) | |
127 | ERROR | [x] No space before opening parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeOpenParenthesis) | |
127 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
127 | ERROR | [x] Expected 1 space after FOREACH keyword; 0 found | |
| | (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) | |
127 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
128 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
129 | ERROR | [x] No space found before comment text; expected "// | |
| | Change hyphens to underscores with the input types since | |
| | methods/functions can't have hyphens" but found | |
| | "//Change hyphens to underscores with the input types | |
| | since methods/functions can't have hyphens" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
129 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
130 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
130 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
131 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
132 | ERROR | [x] No space found before comment text; expected "// The | |
| | input type doesn't exist--go ahead and skip it" but | |
| | found "//The input type doesn't exist--go ahead and skip | |
| | it" (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
132 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
133 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
133 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
133 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
133 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
135 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
136 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
136 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
136 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
136 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
138 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
139 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
139 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
139 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
139 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
141 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
144 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
145 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
145 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
147 | ERROR | [x] Line indented incorrectly; expected 3 tabs, found | |
| | 4 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
147 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
147 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
152 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
152 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
158 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
159 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
159 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
159 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
159 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
160 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
161 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
161 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
161 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
161 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
162 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
163 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
165 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
166 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
169 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
170 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
171 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
171 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
171 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$post_ID"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
171 | ERROR | [ ] Variable "post_ID" is not in valid snake_case | |
| | format | |
| | (WordPress.NamingConventions.ValidVariableName.NotSnakeCase) | |
171 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
171 | ERROR | [x] Expected 1 spaces between argument "$post" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
172 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
173 | ERROR | [x] No space found before comment text; expected "// If | |
| | it is our form has not been submitted, so we dont want | |
| | to do anything" but found "//If it is our form has not | |
| | been submitted, so we dont want to do anything" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
173 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
174 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
174 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
174 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
174 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
176 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
177 | ERROR | [x] No space found before comment text; expected "// | |
| | Ruh-roh, bad nonce" but found "//Ruh-roh, bad nonce" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
177 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
178 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
178 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
178 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
178 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
178 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
178 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
178 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
178 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
179 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
180 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
181 | ERROR | [ ] Variable "post_ID" is not in valid snake_case | |
| | format | |
| | (WordPress.NamingConventions.ValidVariableName.NotSnakeCase) | |
183 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
183 | ERROR | [x] No space found before comment text; expected "// | |
| | Check for capabilities" but found "//Check for | |
| | capabilities" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
183 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
184 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
184 | WARNING | [ ] Detected access of super global var $_POST, probably | |
| | need manual inspection. | |
| | (WordPress.VIP.SuperGlobalInputUsage.AccessDetected) | |
184 | ERROR | [ ] Detected usage of a non-validated input variable: | |
| | $_POST | |
| | (WordPress.VIP.ValidatedSanitizedInput.InputNotValidated) | |
184 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
184 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
184 | ERROR | [ ] Variable "post_ID" is not in valid snake_case | |
| | format | |
| | (WordPress.NamingConventions.ValidVariableName.NotSnakeCase) | |
184 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
186 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
187 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
187 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
187 | ERROR | [ ] Variable "post_ID" is not in valid snake_case | |
| | format | |
| | (WordPress.NamingConventions.ValidVariableName.NotSnakeCase) | |
188 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
190 | ERROR | [x] No space found before comment text; expected "// If | |
| | there are no options, then there's nothing to save" but | |
| | found "//If there are no options, then there's nothing | |
| | to save" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
190 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
191 | ERROR | [x] Space after opening control structure is | |
| | required | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterStructureOpen) | |
191 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
191 | ERROR | [x] Expected 1 space after IF keyword; 0 found | |
| | (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) | |
191 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
191 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
191 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
191 | WARNING | [ ] Detected access of super global var $_POST, probably | |
| | need manual inspection. | |
| | (WordPress.VIP.SuperGlobalInputUsage.AccessDetected) | |
191 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
191 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
191 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
191 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
191 | WARNING | [ ] Detected access of super global var $_POST, probably | |
| | need manual inspection. | |
| | (WordPress.VIP.SuperGlobalInputUsage.AccessDetected) | |
191 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
191 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
192 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
193 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
194 | ERROR | [x] No space found before comment text; expected "// | |
| | Loop through and set the options" but found "//Loop | |
| | through and set the options" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
194 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
195 | ERROR | [x] Space after opening control structure is | |
| | required | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterStructureOpen) | |
195 | ERROR | [x] No space before opening parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeOpenParenthesis) | |
195 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
195 | ERROR | [x] Expected 1 space after FOREACH keyword; 0 found | |
| | (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) | |
195 | WARNING | [ ] Detected access of super global var $_POST, probably | |
| | need manual inspection. | |
| | (WordPress.VIP.SuperGlobalInputUsage.AccessDetected) | |
195 | ERROR | [ ] Missing wp_unslash() before sanitization. | |
| | (WordPress.VIP.ValidatedSanitizedInput.MissingUnslash) | |
195 | ERROR | [ ] Detected usage of a non-sanitized input variable: | |
| | $_POST | |
| | (WordPress.VIP.ValidatedSanitizedInput.InputNotSanitized) | |
195 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
195 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
195 | ERROR | [x] Expected 1 space after closing parenthesis; found | |
| | 0 | |
| | (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) | |
195 | ERROR | [x] Space between opening control structure and closing | |
| | parenthesis is required | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterCloseParenthesis) | |
195 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
196 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
197 | ERROR | [x] Space after opening control structure is | |
| | required | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterStructureOpen) | |
197 | ERROR | [x] No space before opening parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeOpenParenthesis) | |
197 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
197 | ERROR | [x] Expected 1 space after FOREACH keyword; 0 found | |
| | (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) | |
197 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
198 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
199 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
199 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
199 | ERROR | [ ] Variable "post_ID" is not in valid snake_case | |
| | format | |
| | (WordPress.NamingConventions.ValidVariableName.NotSnakeCase) | |
200 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
201 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
202 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
204 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
206 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
207 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
208 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
208 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
208 | ERROR | [ ] Overriding WordPress globals is prohibited | |
| | (WordPress.Variables.GlobalVariables.OverrideProhibited) | |
208 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$post"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
208 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
208 | ERROR | [x] Expected 1 spaces between argument "$post" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
209 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
209 | ERROR | [x] Functions must not contain multiple empty lines in a | |
| | row; found 3 empty lines | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines) | |
210 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
211 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
213 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
214 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
215 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
215 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
215 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$input"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
215 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
215 | ERROR | [x] Expected 1 spaces between argument "$input" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
216 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
220 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
220 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
220 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
220 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
224 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
226 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
227 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
228 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
228 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
228 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$input"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
228 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
228 | ERROR | [x] Expected 1 spaces between argument "$input" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
229 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
233 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
233 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
233 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
233 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
239 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
240 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
241 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
241 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
241 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$input"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
241 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
241 | ERROR | [x] Expected 1 spaces between argument "$input" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
242 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
243 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
243 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
243 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
243 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
244 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
248 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
249 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
249 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
250 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
250 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
250 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$checked' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
250 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
254 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
256 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
257 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
258 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
258 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
258 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$input"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
258 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
258 | ERROR | [x] Expected 1 spaces between argument "$input" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
259 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
263 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
263 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
265 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
265 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
265 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
266 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'headway_get' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
266 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
266 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
268 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found | |
| | 6 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
268 | ERROR | [x] Space after opening control structure is | |
| | required | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterStructureOpen) | |
268 | ERROR | [x] No space before opening parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeOpenParenthesis) | |
268 | ERROR | [x] Expected 1 space after FOREACH keyword; 0 found | |
| | (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) | |
269 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
271 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
272 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$value' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
272 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$selected' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
272 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$text' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
273 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
275 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
276 | ERROR | [x] Line indented incorrectly; expected at least 6 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
279 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
281 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
282 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
283 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
283 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
283 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$input"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
283 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
283 | ERROR | [x] Expected 1 spaces between argument "$input" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
284 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
290 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
291 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
291 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
292 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
293 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found | |
| | 5 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
293 | ERROR | [x] Space after opening control structure is | |
| | required | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterStructureOpen) | |
293 | ERROR | [x] No space before opening parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeOpenParenthesis) | |
293 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
293 | ERROR | [x] Expected 1 space after FOREACH keyword; 0 found | |
| | (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) | |
293 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
294 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
296 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
297 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
298 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
300 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
300 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$value' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
300 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$value' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
300 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
300 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$checked' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
302 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
302 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$value' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
303 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$label' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
306 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
307 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
307 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
307 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
307 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
309 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
311 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
312 | ERROR | [x] Line indented incorrectly; expected at least 5 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
316 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
318 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
319 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
320 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
320 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
320 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$input"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
320 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
320 | ERROR | [x] Expected 1 spaces between argument "$input" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
321 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
324 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
325 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not | |
| | 'wp_dropdown_pages' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
326 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
327 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
329 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
330 | ERROR | [x] Expected 1 space before "=>"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceBefore) | |
330 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
331 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
336 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
337 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
338 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
340 | ERROR | [x] File must end with a newline character | |
| | (Generic.Files.EndFileNewline.NotFound) | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 353 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /Users/remco/Workspace/wt-headway/library/api/api-block.php | |
---------------------------------------------------------------------- | |
FOUND 519 ERRORS AND 5 WARNINGS AFFECTING 317 LINES | |
---------------------------------------------------------------------- | |
2 | ERROR | [ ] Doc comment for parameter "$class" missing | |
| | (Squiz.Commenting.FunctionComment.MissingParamTag) | |
2 | ERROR | [ ] Doc comment for parameter "$block_type_url" | |
| | missing | |
| | (Squiz.Commenting.FunctionComment.MissingParamTag) | |
7 | ERROR | [ ] There must be exactly one blank line after the file | |
| | comment | |
| | (Squiz.Commenting.FileComment.SpacingAfterComment) | |
8 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
8 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$class"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
8 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
8 | ERROR | [x] Expected 1 spaces between argument "$block_type_url" | |
| | and closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
8 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
9 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
11 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
12 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
12 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
12 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
12 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
14 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
15 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
16 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
22 | ERROR | [ ] Missing class doc comment | |
| | (Squiz.Commenting.ClassComment.Missing) | |
23 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
24 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
25 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
26 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
27 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
28 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
29 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
30 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
31 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
32 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
33 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
34 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
35 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
37 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
39 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
40 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
42 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
43 | ERROR | [ ] You must use "/**" style comments for a member | |
| | variable comment | |
| | (Squiz.Commenting.VariableComment.WrongStyle) | |
44 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
45 | ERROR | [ ] You must use "/**" style comments for a member | |
| | variable comment | |
| | (Squiz.Commenting.VariableComment.WrongStyle) | |
47 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
49 | ERROR | [ ] You must use "/**" style comments for a function | |
| | comment | |
| | (Squiz.Commenting.FunctionComment.WrongStyle) | |
50 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
52 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
53 | ERROR | [x] No space found before comment text; expected "// If | |
| | the Headway blocks array doesn't exist, create it." but | |
| | found "//If the Headway blocks array doesn't exist, | |
| | create it." | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
54 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
54 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
54 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
54 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
56 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
57 | ERROR | [x] No space found before comment text; expected "// Add | |
| | block to array. This array will be used for checking if | |
| | certain blocks exist, the block type selector and so | |
| | on." but found "//Add block to array. This array will | |
| | be used for checking if certain blocks exist, the block | |
| | type selector and so on." | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
58 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
61 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
61 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
66 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
68 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
69 | ERROR | [x] No space found before comment text; expected "// Add | |
| | the element for the block itself" but found "//Add the | |
| | element for the block itself" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
69 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
70 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
70 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
70 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
70 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
71 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
72 | ERROR | [x] No space found before comment text; expected "// Run | |
| | init method if it exists" but found "//Run init method | |
| | if it exists" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
72 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
73 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
73 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
73 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
75 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
76 | ERROR | [x] No space found before comment text; expected "// Run | |
| | setup_elements if it exists" but found "//Run | |
| | setup_elements if it exists" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
76 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
77 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
77 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
77 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
78 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
78 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
78 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
78 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
80 | ERROR | [x] No space found before comment text; expected "// | |
| | Setup hooks" but found "//Setup hooks" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
80 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
81 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
82 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
82 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
82 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
82 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
82 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
84 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
84 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
84 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
84 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
86 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
86 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
86 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
86 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
87 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
89 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
90 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
91 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
92 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
98 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
98 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
99 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
108 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
117 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
124 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
128 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
130 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
131 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
132 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
132 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
132 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$block"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
132 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
132 | ERROR | [x] Expected 1 spaces between argument "$layout" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
133 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
134 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
134 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
134 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
134 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
135 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
135 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
135 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
135 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
136 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
137 | ERROR | [x] No space found before comment text; expected "// | |
| | Initiate options class" but found "//Initiate options | |
| | class" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
137 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
138 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
138 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
139 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
139 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
140 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
142 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
143 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
145 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
145 | ERROR | [ ] You must use "/**" style comments for a function | |
| | comment | |
| | (Squiz.Commenting.FunctionComment.WrongStyle) | |
145 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$block"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
145 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
145 | ERROR | [x] Expected 1 spaces between argument "$block" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
146 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
150 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
150 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
150 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$block"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
150 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
150 | ERROR | [x] Expected 1 spaces between argument "$block" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
152 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
152 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
156 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
156 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
156 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
157 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
157 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
159 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
159 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
159 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
159 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
160 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
160 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
160 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
160 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
165 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
169 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
170 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not | |
| | 'headway_fix_data_type' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
170 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
170 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
173 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
174 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not | |
| | 'headway_fix_data_type' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
174 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
174 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
177 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
183 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
184 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
186 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
187 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
188 | ERROR | [ ] Doc comment long description must start with a | |
| | capital letter | |
| | (Generic.Commenting.DocComment.LongNotCapital) | |
189 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
191 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
192 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
194 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
199 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
201 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
202 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
204 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
206 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
207 | ERROR | [x] Additional blank lines found at end of doc | |
| | comment (Generic.Commenting.DocComment.SpacingAfter) | |
208 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
209 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
211 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
211 | ERROR | [ ] You must use "/**" style comments for a function | |
| | comment | |
| | (Squiz.Commenting.FunctionComment.WrongStyle) | |
211 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$args"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
211 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
211 | ERROR | [x] Expected 1 spaces between argument "$args" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
212 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
215 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
216 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
216 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
217 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
219 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
220 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
220 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
220 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
220 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
220 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
220 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
222 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
223 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
223 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
223 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
224 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
226 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
227 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
227 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
227 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
229 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
235 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
237 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
238 | ERROR | [x] No space found before comment text; expected "// | |
| | Unset the following so they don't overwrite the | |
| | defaults" but found "//Unset the following so they don't | |
| | overwrite the defaults" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
238 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
239 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
239 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
240 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
240 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
241 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
241 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
243 | ERROR | [x] No space found before comment text; expected "// If | |
| | the parent isn't the default then put on block type | |
| | prefix" but found "//If the parent isn't the default | |
| | then put on block type prefix" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
243 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
244 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
244 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
244 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
244 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
244 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
244 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
246 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
247 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
247 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
248 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
249 | ERROR | [x] No space found before comment text; expected "// Go | |
| | through states and add the selector prefix to each | |
| | state" but found "//Go through states and add the | |
| | selector prefix to each state" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
249 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
250 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
250 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
250 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
250 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
251 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
253 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
254 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
254 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
258 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
258 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
258 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
258 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
258 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
258 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
261 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
261 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
261 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
264 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
265 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
265 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
265 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
265 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
265 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
266 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
267 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
268 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
270 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
271 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
271 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
272 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
274 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
276 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
276 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
276 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$block"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
276 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
276 | ERROR | [x] Expected 1 spaces between argument "$default" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
277 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
278 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
278 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
279 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
280 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
281 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
282 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
286 | ERROR | [ ] Missing class doc comment | |
| | (Squiz.Commenting.ClassComment.Missing) | |
287 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
288 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
289 | ERROR | [ ] You must use "/**" style comments for a member | |
| | variable comment | |
| | (Squiz.Commenting.VariableComment.WrongStyle) | |
291 | ERROR | [ ] You must use "/**" style comments for a member | |
| | variable comment | |
| | (Squiz.Commenting.VariableComment.WrongStyle) | |
293 | ERROR | [ ] You must use "/**" style comments for a member | |
| | variable comment | |
| | (Squiz.Commenting.VariableComment.WrongStyle) | |
296 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
296 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
296 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$block_type_object"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
296 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
296 | ERROR | [x] Expected 1 spaces between argument | |
| | "$block_type_object" and closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
302 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
303 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
304 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
305 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
307 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
309 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
310 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
311 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
311 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
311 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$block"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
311 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
311 | ERROR | [x] Expected 1 spaces between argument "$layout" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
312 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
313 | ERROR | [x] No space found before comment text; expected "// Set | |
| | block properties" but found "//Set block properties" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
313 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
316 | ERROR | [x] No space found before comment text; expected "// | |
| | Args for modify_arguments and block_content" but found | |
| | "//Args for modify_arguments and block_content" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
316 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
323 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
326 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
326 | ERROR | [x] No space found before comment text; expected "// | |
| | Allow developers to modify the properties of the class | |
| | and use functions since doing a property" but found | |
| | "//Allow developers to modify the properties of the | |
| | class and use functions since doing a property" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
327 | ERROR | [x] No space found before comment text; expected "// | |
| | outside of a function will not allow you to." but found | |
| | "//outside of a function will not allow you to." | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
328 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
328 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
329 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
330 | ERROR | [x] No space found before comment text; expected "// Add | |
| | the standard block tabs" but found "//Add the standard | |
| | block tabs" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
330 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
334 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
336 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
337 | ERROR | [x] No space found before comment text; expected "// | |
| | Display it" but found "//Display it" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
337 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
338 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
338 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
339 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
343 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
344 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
345 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
345 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
345 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
345 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
347 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
348 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
348 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
348 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
348 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
350 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
351 | ERROR | [x] No space found before comment text; expected "// Add | |
| | the tab" but found "//Add the tab" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
351 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
353 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
363 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
365 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
373 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
375 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
382 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
386 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
389 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
393 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found | |
| | 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
394 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
395 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
395 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
396 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
397 | ERROR | [x] Line indented incorrectly; expected 3 tabs, found | |
| | 4 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
398 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
399 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
399 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
399 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
399 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
399 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
399 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
399 | WARNING | [ ] Not using strict comparison for in_array(); supply | |
| | true for third argument. | |
| | (WordPress.PHP.StrictInArray.MissingTrueStrict) | |
401 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
402 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
402 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
402 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
402 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
402 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
402 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
404 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
405 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
406 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
407 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
408 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
408 | ERROR | [x] Functions must not contain multiple empty lines in a | |
| | row; found 2 empty lines | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines) | |
409 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
410 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
410 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
410 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
411 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
412 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
419 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
421 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
422 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
423 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
425 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
426 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
427 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
444 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found | |
| | 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
444 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
444 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
449 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
456 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
463 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
467 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
468 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
471 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
472 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
473 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
473 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
473 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
473 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
475 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
476 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
476 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
476 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
476 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
478 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
479 | ERROR | [x] No space found before comment text; expected "// Add | |
| | the tab" but found "//Add the tab" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
479 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
503 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
507 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
512 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
517 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
577 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
587 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
594 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
603 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
605 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
611 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
618 | ERROR | [x] Expected 1 space before "=>"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceBefore) | |
619 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
626 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
634 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
642 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
643 | ERROR | [x] Comma required after last value in array | |
| | declaration | |
| | (WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast) | |
648 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
657 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
661 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
664 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
668 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
670 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
670 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
670 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
670 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
672 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
673 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
673 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
673 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
673 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
675 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
676 | ERROR | [x] No space found before comment text; expected "// Add | |
| | the tab" but found "//Add the tab" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
676 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
678 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
684 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
691 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
699 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
707 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
715 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
718 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
721 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
729 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
731 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
733 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
734 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
735 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
736 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
737 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
738 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
739 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
739 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
740 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
741 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
741 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
742 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
743 | ERROR | [x] No space found before comment text; expected "// If | |
| | there are no blocks, then just return the Do Not Mirror | |
| | option." but found "//If there are no blocks, then just | |
| | return the Do Not Mirror option." | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
744 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
744 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
744 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
744 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
744 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
744 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
744 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
746 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
748 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
749 | ERROR | [x] No space found before comment text; expected "// Get | |
| | the block instance" but found "//Get the block | |
| | instance" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
749 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
750 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
750 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
751 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
752 | ERROR | [x] No space found before comment text; expected "// If | |
| | the block is mirrored, skip it" but found "//If the | |
| | block is mirrored, skip it" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
752 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
753 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
753 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
753 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
755 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
757 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
757 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
757 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
757 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
757 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
757 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
757 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
760 | ERROR | [x] No space found before comment text; expected "// | |
| | Create the default name by using the block type and ID" | |
| | but found "//Create the default name by using the block | |
| | type and ID" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
760 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
761 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
761 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
762 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
763 | ERROR | [x] No space found before comment text; expected "// If | |
| | we can't get a name for the layout, then things probably | |
| | aren't looking good. Just skip this block." but found | |
| | "//If we can't get a name for the layout, then things | |
| | probably aren't looking good. Just skip this | |
| | block." | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
764 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
764 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
764 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
764 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
767 | ERROR | [x] No space found before comment text; expected "// | |
| | Make sure the block exists" but found "//Make sure the | |
| | block exists" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
767 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
768 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
768 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
768 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
768 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
771 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
772 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
773 | ERROR | [x] No space found before comment text; expected "// Get | |
| | alias if it exists, otherwise use the default name" but | |
| | found "//Get alias if it exists, otherwise use the | |
| | default name" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
773 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
774 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
774 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
774 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
774 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
775 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
777 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
778 | ERROR | [x] No space found before comment text; expected "// | |
| | Remove the current block from the list" but found | |
| | "//Remove the current block from the list" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
778 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
779 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
779 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
779 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
780 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
782 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
783 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
785 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
786 | ERROR | [x] File must end with a newline character | |
| | (Generic.Files.EndFileNewline.NotFound) | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 461 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /Users/remco/Workspace/wt-headway/library/api/api-box.php | |
---------------------------------------------------------------------- | |
FOUND 143 ERRORS AND 2 WARNINGS AFFECTING 102 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [ ] Missing file doc comment | |
| | (Squiz.Commenting.FileComment.Missing) | |
2 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
2 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
2 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$class"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
2 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
2 | ERROR | [x] Expected 1 spaces between argument "$class" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
4 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
4 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
4 | WARNING | [ ] create_function is discouraged, please use Anonymous | |
| | functions instead. | |
| | (WordPress.VIP.RestrictedFunctions.create_function) | |
4 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
4 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
5 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
9 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
9 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
9 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$class"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
9 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
9 | ERROR | [x] Expected 1 spaces between argument "$class" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
10 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
11 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
11 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
11 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
11 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
12 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
12 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
12 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
12 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
13 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
16 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
18 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
22 | ERROR | [ ] Missing class doc comment | |
| | (Squiz.Commenting.ClassComment.Missing) | |
23 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
24 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
27 | ERROR | [ ] Missing @var tag in member variable comment | |
| | (Squiz.Commenting.VariableComment.MissingVar) | |
29 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
30 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
33 | ERROR | [ ] Missing @var tag in member variable comment | |
| | (Squiz.Commenting.VariableComment.MissingVar) | |
35 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
36 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
37 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
38 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
41 | ERROR | [ ] Missing @var tag in member variable comment | |
| | (Squiz.Commenting.VariableComment.MissingVar) | |
43 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
44 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
45 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
46 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
47 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
48 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
49 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
50 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
51 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
52 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
53 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
54 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
55 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
56 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
57 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
58 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
59 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
60 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
61 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
62 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
63 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
64 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
65 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
66 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
67 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
68 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
69 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
70 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
73 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
74 | ERROR | [ ] Missing parameter name | |
| | (Squiz.Commenting.FunctionComment.MissingParamName) | |
75 | ERROR | [ ] Missing parameter name | |
| | (Squiz.Commenting.FunctionComment.MissingParamName) | |
78 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
80 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
81 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
81 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
81 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
81 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
83 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
84 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
84 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
84 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
84 | WARNING | [ ] Not using strict comparison for in_array(); supply | |
| | true for third argument. | |
| | (WordPress.PHP.StrictInArray.MissingTrueStrict) | |
86 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
88 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
89 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
89 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
89 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
89 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
89 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
89 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
90 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
90 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
90 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
90 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
90 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
91 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
92 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
93 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
93 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
93 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
93 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
94 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
96 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
98 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
100 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
101 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
117 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
117 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
117 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
119 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
121 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
122 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
122 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
124 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
125 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'trim' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
125 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
125 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
126 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
128 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
129 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$this' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
130 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
131 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found | |
| | 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
132 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
133 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$this' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
134 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
136 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
137 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
138 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
139 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
140 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
141 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
141 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
143 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
144 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
144 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$this' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
145 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
147 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
148 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
149 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
150 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
151 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
152 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
153 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
154 | ERROR | [x] File must end with a newline character | |
| | (Generic.Files.EndFileNewline.NotFound) | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 113 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: ...Users/remco/Workspace/wt-headway/library/api/api-child-theme.php | |
---------------------------------------------------------------------- | |
FOUND 46 ERRORS AFFECTING 34 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [ ] Missing file doc comment | |
| | (Squiz.Commenting.FileComment.Missing) | |
2 | ERROR | [ ] Missing class doc comment | |
| | (Squiz.Commenting.ClassComment.Missing) | |
3 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
4 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
5 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
6 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
7 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
8 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
11 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
11 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
11 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
11 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
12 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
12 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
12 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
12 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
16 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
17 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
17 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
17 | ERROR | [x] Expected 1 spaces between opening bracket and type hint | |
| | "array"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpenHint) | |
17 | ERROR | [x] No space before closing parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
17 | ERROR | [x] Expected 1 spaces between argument "$args" and closing | |
| | bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
18 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
23 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
25 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
26 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
26 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
27 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
28 | ERROR | [x] No space found before comment text; expected "// Add | |
| | the block style to the main $block_styles property" but | |
| | found "//Add the block style to the main $block_styles | |
| | property" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
28 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
29 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
30 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
32 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
34 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
35 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
36 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
37 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
39 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
40 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
41 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
42 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
44 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
45 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
46 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
47 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
48 | ERROR | [x] File must end with a newline character | |
| | (Generic.Files.EndFileNewline.NotFound) | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 39 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /Users/remco/Workspace/wt-headway/library/api/api-element.php | |
---------------------------------------------------------------------- | |
FOUND 368 ERRORS AFFECTING 191 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [ ] Missing file doc comment | |
| | (Squiz.Commenting.FileComment.Missing) | |
2 | ERROR | [ ] Missing class doc comment | |
| | (Squiz.Commenting.ClassComment.Missing) | |
3 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
4 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
5 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
6 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
7 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
8 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
9 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
10 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
11 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
12 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
12 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
12 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
12 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
13 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
13 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
13 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
13 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
15 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
15 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
15 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
15 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
16 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
16 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
16 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
16 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
18 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
18 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
18 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
18 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
19 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
19 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
19 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
19 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
22 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
23 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
24 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
25 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
26 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
26 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
26 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
29 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
29 | ERROR | [x] No space found before comment text; expected "// Add a | |
| | central action where we can register all elements to. | |
| | This will be performance increase in the long run" but | |
| | found "//Add a central action where we can register all | |
| | elements to. This will be performance increase in the | |
| | long run" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
30 | ERROR | [x] No space found before comment text; expected "// since | |
| | elements will only be registered when they need to be." | |
| | but found "//since elements will only be registered when | |
| | they need to be." | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
31 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
31 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
32 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
36 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
38 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
38 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
38 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
41 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
41 | ERROR | [x] No space found before comment text; expected "// Add a | |
| | central action where we can register all elements to. | |
| | This will be performance increase in the long run" but | |
| | found "//Add a central action where we can register all | |
| | elements to. This will be performance increase in the | |
| | long run" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
42 | ERROR | [x] No space found before comment text; expected "// since | |
| | elements will only be registered when they need to be." | |
| | but found "//since elements will only be registered when | |
| | they need to be." | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
43 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
43 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
46 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
47 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
48 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
51 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
54 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
55 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
56 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
58 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
60 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
62 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
62 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
62 | ERROR | [x] Expected 1 spaces between opening bracket and argument | |
| | "$element"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
62 | ERROR | [x] No space before closing parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
62 | ERROR | [x] Expected 1 spaces between argument "$element" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
63 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
64 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
64 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
69 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
69 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
69 | ERROR | [x] Expected 1 spaces between opening bracket and argument | |
| | "$block_type"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
69 | ERROR | [x] No space before closing parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
69 | ERROR | [x] Expected 1 spaces between argument "$block_type" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
75 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
75 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
75 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
75 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
75 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
78 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
82 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
85 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
87 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
87 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
87 | ERROR | [x] Expected 1 spaces between opening bracket and argument | |
| | "$element"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
87 | ERROR | [x] No space before closing parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
87 | ERROR | [x] Expected 1 spaces between argument "$element" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
88 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
89 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
89 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
89 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
89 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
90 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
90 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
91 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
92 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
92 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
93 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
95 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
96 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
97 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
97 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
97 | ERROR | [x] Expected 1 spaces between opening bracket and argument | |
| | "$element"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
97 | ERROR | [x] No space before closing parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
97 | ERROR | [x] Expected 1 spaces between argument "$element" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
98 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
99 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
99 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
99 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
99 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
100 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
100 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
101 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
102 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
102 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
103 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
105 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
106 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
107 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
107 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
107 | ERROR | [x] Expected 1 spaces between opening bracket and argument | |
| | "$element"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
107 | ERROR | [x] No space before closing parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
107 | ERROR | [x] Expected 1 spaces between argument | |
| | "$special_element_meta" and closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
108 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
109 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
109 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
110 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
111 | ERROR | [x] No space found before comment text; expected "// Check | |
| | if element has a inherit location is set" but found | |
| | "//Check if element has a inherit location is set" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
111 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
112 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
112 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
113 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
114 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
114 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
115 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
117 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
119 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
121 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
123 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
124 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
125 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
125 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
125 | ERROR | [x] Expected 1 spaces between opening bracket and argument | |
| | "$args"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
125 | ERROR | [x] No space before closing parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
125 | ERROR | [x] Expected 1 spaces between argument "$args" and closing | |
| | bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
126 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
127 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
127 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
127 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
127 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
128 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
128 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
128 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
128 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
129 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
136 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
136 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
142 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
144 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
145 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
145 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
146 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
147 | ERROR | [x] No space found before comment text; expected "// If | |
| | the element is set to default, change the group to | |
| | default" but found "//If the element is set to default, | |
| | change the group to default" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
147 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
148 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
148 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
148 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
150 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
151 | ERROR | [x] No space found before comment text; expected "// If | |
| | requirements are not met, throw errors" but found "//If | |
| | requirements are not met, throw errors" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
151 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
152 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
152 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
153 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
153 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
153 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
153 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
154 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
155 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
155 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
156 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
156 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
156 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
156 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
156 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
157 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
158 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
158 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
158 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
159 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
159 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
159 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
159 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
159 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
160 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
161 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
161 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
161 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
162 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
162 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
162 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
162 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
163 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
164 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
164 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
165 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
165 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
165 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
165 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
165 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
166 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
167 | ERROR | [x] No space found before comment text; expected "// Add | |
| | the guts" but found "//Add the guts" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
167 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
168 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
170 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
171 | ERROR | [x] No space found before comment text; expected "// | |
| | Remove the empty options" but found "//Remove the empty | |
| | options" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
171 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
172 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
172 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
173 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
173 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
174 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
175 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
176 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
176 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
178 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
186 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
186 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
186 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
188 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
188 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
189 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
192 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
195 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
196 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
196 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
197 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
197 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
198 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
199 | ERROR | [x] No space found before comment text; expected "// The | |
| | element is now registered!" but found "//The element is | |
| | now registered!" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
201 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
203 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
204 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
205 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
205 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
205 | ERROR | [x] Expected 1 spaces between opening bracket and argument | |
| | "$args"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
205 | ERROR | [x] No space before closing parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
205 | ERROR | [x] Expected 1 spaces between argument "$args" and closing | |
| | bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
206 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
207 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
207 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
207 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
207 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
208 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
208 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
208 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
208 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
209 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
217 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
219 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
220 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
220 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
221 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
222 | ERROR | [x] No space found before comment text; expected "// If | |
| | requirements are not met, throw errors" but found "//If | |
| | requirements are not met, throw errors" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
222 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
223 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
223 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
224 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
224 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
224 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
224 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
225 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
226 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
226 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
227 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
227 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
227 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
227 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
227 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
228 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
229 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
229 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
230 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
230 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
230 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
230 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
230 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
231 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
232 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
232 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
233 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
233 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
233 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
233 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
234 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
235 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
235 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
236 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
236 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
236 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
236 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
238 | ERROR | [x] No space found before comment text; expected "// If | |
| | layout is set, then set layout-name as well" but found | |
| | "//If layout is set, then set layout-name as well" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
238 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
239 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
240 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
240 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
242 | ERROR | [x] No space found before comment text; expected "// | |
| | Figure out where the element will go in the elements | |
| | array" but found "//Figure out where the element will go | |
| | in the elements array" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
242 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
243 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
243 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
243 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
243 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
244 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
245 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
245 | ERROR | [x] Expected 1 space after ELSE keyword; newline found | |
| | (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) | |
248 | ERROR | [x] No space found before comment text; expected "// Make | |
| | sure that the element supports instances" but found | |
| | "//Make sure that the element supports instances" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
248 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
249 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
249 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
249 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
249 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
251 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
252 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
253 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
254 | ERROR | [x] No space found before comment text; expected "// Add | |
| | the guts" but found "//Add the guts" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
254 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
256 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
257 | ERROR | [x] No space found before comment text; expected "// | |
| | Remove the extra options" but found "//Remove the extra | |
| | options" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
257 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
258 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
258 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
259 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
259 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
260 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
261 | ERROR | [x] No space found before comment text; expected "// The | |
| | element instance is now registered!" but found "//The | |
| | element instance is now registered!" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
263 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
265 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
266 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
267 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
267 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
267 | ERROR | [x] Expected 1 spaces between opening bracket and argument | |
| | "$id"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
267 | ERROR | [x] No space before closing parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
267 | ERROR | [x] Expected 1 spaces between argument "$name" and closing | |
| | bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
268 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
269 | ERROR | [x] No space found before comment text; expected "// Group | |
| | already exists" but found "//Group already exists" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
269 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
270 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
270 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
270 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
270 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
271 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
271 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
271 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
271 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
272 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
273 | ERROR | [x] No space found before comment text; expected "// Place | |
| | group in groups array so we can track name" but found | |
| | "//Place group in groups array so we can track name" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
273 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
274 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
275 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
277 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
278 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
279 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
280 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
281 | ERROR | [x] File must end with a newline character | |
| | (Generic.Files.EndFileNewline.NotFound) | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 326 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /Users/remco/Workspace/wt-headway/library/api/api-panel.php | |
---------------------------------------------------------------------- | |
FOUND 733 ERRORS AND 12 WARNINGS AFFECTING 354 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [ ] Missing file doc comment | |
| | (Squiz.Commenting.FileComment.Missing) | |
2 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
2 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
2 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$class"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
2 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
2 | ERROR | [x] Expected 1 spaces between argument "$class" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
4 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
4 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
4 | WARNING | [ ] create_function is discouraged, please use Anonymous | |
| | functions instead. | |
| | (WordPress.VIP.RestrictedFunctions.create_function) | |
4 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
4 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
5 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
9 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
9 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
9 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$class"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
9 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
9 | ERROR | [x] Expected 1 spaces between argument "$class" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
11 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
11 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
11 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
11 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
12 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
12 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
12 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
12 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
13 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
16 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
18 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
22 | ERROR | [ ] Missing class doc comment | |
| | (Squiz.Commenting.ClassComment.Missing) | |
23 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
24 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
27 | ERROR | [ ] Missing @var tag in member variable comment | |
| | (Squiz.Commenting.VariableComment.MissingVar) | |
29 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
30 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
33 | ERROR | [ ] Missing @var tag in member variable comment | |
| | (Squiz.Commenting.VariableComment.MissingVar) | |
35 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
36 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
39 | ERROR | [ ] Missing @var tag in member variable comment | |
| | (Squiz.Commenting.VariableComment.MissingVar) | |
41 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
42 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
45 | ERROR | [ ] Missing @var tag in member variable comment | |
| | (Squiz.Commenting.VariableComment.MissingVar) | |
47 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
48 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
51 | ERROR | [ ] Missing @var tag in member variable comment | |
| | (Squiz.Commenting.VariableComment.MissingVar) | |
53 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
54 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
57 | ERROR | [ ] Missing @var tag in member variable comment | |
| | (Squiz.Commenting.VariableComment.MissingVar) | |
59 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
63 | ERROR | [ ] Missing @var tag in member variable comment | |
| | (Squiz.Commenting.VariableComment.MissingVar) | |
65 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
66 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
67 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
70 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
71 | ERROR | [ ] Missing parameter name | |
| | (Squiz.Commenting.FunctionComment.MissingParamName) | |
72 | ERROR | [ ] Missing parameter name | |
| | (Squiz.Commenting.FunctionComment.MissingParamName) | |
75 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
79 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
79 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
79 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
81 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
82 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
82 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
82 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
82 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
82 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
84 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
85 | ERROR | [x] Block comment text must start on a new line | |
| | (Squiz.Commenting.BlockComment.NoNewLine) | |
87 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
87 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
87 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
87 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
88 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
88 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
88 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
88 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
89 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
90 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
90 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
90 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
90 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
91 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
91 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
91 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
91 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
93 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
93 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
93 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
95 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
97 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
98 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
99 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
99 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
99 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$args"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
99 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
99 | ERROR | [x] Expected 1 spaces between argument "$args" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
100 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
101 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
101 | ERROR | [x] No space found before comment text; expected "// | |
| | Allow developers to modify the properties of the class | |
| | and use functions since doing a property" but found | |
| | "//Allow developers to modify the properties of the | |
| | class and use functions since doing a property" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
102 | ERROR | [x] No space found before comment text; expected "// | |
| | outside of a function will not allow you to." but found | |
| | "//outside of a function will not allow you to." | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
102 | ERROR | [x] There must be no blank line following an inline | |
| | comment | |
| | (Squiz.Commenting.InlineComment.SpacingAfter) | |
103 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
105 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
106 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
107 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
107 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
107 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$array"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
107 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
107 | ERROR | [x] Expected 1 spaces between argument "$array" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
108 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
109 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
109 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
109 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
109 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
109 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
109 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
111 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
113 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
114 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
114 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
114 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
114 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
116 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
117 | ERROR | [x] No space found before comment text; expected "// | |
| | Check if it's a function" but found "//Check if it's a | |
| | function" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
117 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
118 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
118 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
118 | ERROR | [x] String "/^[a-z0-9_]*(\(\))$/" does not require | |
| | double quotes; use single quotes instead | |
| | (Squiz.Strings.DoubleQuoteUsage.NotRequired) | |
118 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
119 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
119 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
119 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
119 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
119 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
119 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
119 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
122 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
123 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
125 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
127 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
129 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
130 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
131 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
132 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
133 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$this' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
133 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$this' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
134 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
136 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
137 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
138 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
138 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
138 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$id"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
138 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
138 | ERROR | [x] Expected 1 spaces between argument "$id" and closing | |
| | bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
139 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
141 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
142 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$this' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
142 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$class' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
144 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
144 | ERROR | [x] No space found before comment text; expected "// | |
| | Allow developers to modify the properties of the class | |
| | and use functions since doing a property" but found | |
| | "//Allow developers to modify the properties of the | |
| | class and use functions since doing a property" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
145 | ERROR | [x] No space found before comment text; expected "// | |
| | outside of a function will not allow you to." but found | |
| | "//outside of a function will not allow you to." | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
147 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
149 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
151 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
153 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
154 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
155 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
155 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
155 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$args"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
155 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
155 | ERROR | [x] Expected 1 spaces between argument "$args" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
158 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
159 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
159 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
160 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
161 | ERROR | [x] Line indented incorrectly; expected 3 tabs, found | |
| | 4 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
161 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
161 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
162 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
163 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$id' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
163 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$id' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
163 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$name' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
164 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
166 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
167 | ERROR | [x] Line indented incorrectly; expected at least 4 tabs, | |
| | found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
168 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
169 | ERROR | [x] Line indented incorrectly; expected at least 4 tabs, | |
| | found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
169 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
169 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
169 | WARNING | [ ] The use of function json_encode() is discouraged; | |
| | use wp_json_encode() instead | |
| | (WordPress.PHP.DiscouragedFunctions.DiscouragedWithAlternative) | |
169 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
169 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
170 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
171 | ERROR | [x] Line indented incorrectly; expected 4 tabs, found | |
| | 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
171 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
171 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
172 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
173 | ERROR | [x] Line indented incorrectly; expected at least 5 tabs, | |
| | found 4 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
173 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$id' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
174 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
175 | ERROR | [x] No space found before comment text; expected "// | |
| | Display notice for tab if one exists." but found | |
| | "//Display notice for tab if one exists." | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
176 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
176 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
176 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
176 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
177 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$this' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
177 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
178 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
179 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
179 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
180 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
181 | ERROR | [x] Line indented incorrectly; expected at least 5 tabs, | |
| | found 4 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
181 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$id' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
182 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
184 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
186 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
188 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
190 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
191 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
192 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
192 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
192 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$id"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
192 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
192 | ERROR | [x] Expected 1 spaces between argument "$name" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
193 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
194 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
194 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
195 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
199 | ERROR | [x] Line indented incorrectly; expected 1 tabs, found | |
| | 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
199 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
199 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
199 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$tab"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
199 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
199 | ERROR | [x] Expected 1 spaces between argument "$tab" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
201 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found | |
| | 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
201 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
201 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
201 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
201 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
201 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
201 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
203 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
203 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
204 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
204 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
209 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
210 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
211 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found | |
| | 1 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
211 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
211 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
211 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$input"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
211 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
211 | ERROR | [x] Expected 1 spaces between argument "$input" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
212 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
213 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
213 | ERROR | [x] No space found before comment text; expected "// | |
| | Fill defaults" but found "//Fill defaults" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
213 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
214 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
217 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
219 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
220 | ERROR | [x] No space found before comment text; expected "// | |
| | Merge defaults" but found "//Merge defaults" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
220 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
221 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
221 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
222 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
223 | ERROR | [x] No space found before comment text; expected "// Fix | |
| | up inputs" but found "//Fix up inputs" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
223 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
224 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
224 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
225 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
226 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
226 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
226 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
226 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
226 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
226 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
226 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
228 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
230 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
230 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
231 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
231 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
232 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
232 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
232 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
232 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
235 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
235 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
237 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
237 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
237 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
237 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
237 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
237 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
238 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
238 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
239 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
239 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
239 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
239 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
239 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
239 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
240 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
240 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
241 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
241 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
241 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
241 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
241 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
241 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
242 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
242 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
243 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
243 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
243 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
243 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
244 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
244 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
248 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
248 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
250 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
252 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
254 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
254 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
257 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
257 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
257 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
258 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
258 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
259 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
261 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
261 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
261 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
262 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
262 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
262 | WARNING | [ ] The use of function json_encode() is discouraged; | |
| | use wp_json_encode() instead | |
| | (WordPress.PHP.DiscouragedFunctions.DiscouragedWithAlternative) | |
262 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
262 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
263 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
265 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
265 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
265 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
271 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
274 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
274 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
276 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
277 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
277 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
277 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
278 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
278 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
279 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
280 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
280 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
281 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
281 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
281 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
281 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
284 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
284 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
286 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
286 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
287 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
288 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
289 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
289 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
290 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
291 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
291 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
291 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
291 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
291 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
291 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
293 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
297 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
297 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
297 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
297 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
297 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
297 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
299 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
300 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
302 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
303 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
307 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
307 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
307 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$input"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
307 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
307 | ERROR | [x] Expected 1 spaces between argument "$input" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
309 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
309 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
311 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not | |
| | '$repeater_sortable_class' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
311 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'headway_get' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
311 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
311 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
313 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found | |
| | 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
313 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
313 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
319 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
319 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
319 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
325 | ERROR | [x] Line indented incorrectly; expected 3 tabs, found | |
| | 4 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
325 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
325 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
325 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
325 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
325 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
325 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
325 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
325 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
328 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
331 | ERROR | [x] Line indented incorrectly; expected at least 5 tabs, | |
| | found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
334 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
335 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
335 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
339 | ERROR | [x] Line indented incorrectly; expected at least 4 tabs, | |
| | found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
342 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
345 | ERROR | [x] Line indented incorrectly; expected at least 4 tabs, | |
| | found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
346 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
347 | ERROR | [x] Tabs must be used to indent lines; spaces are not | |
| | allowed | |
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed) | |
347 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
348 | ERROR | [x] Line indented incorrectly; expected at least 4 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
351 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
353 | ERROR | [x] Line indented incorrectly; expected 1 tabs, found | |
| | 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
353 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
353 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
353 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$input"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
353 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
353 | ERROR | [x] Expected 1 spaces between argument "$group_index" | |
| | and closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
355 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
355 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
357 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
357 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
357 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
360 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
360 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
360 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
363 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
363 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
363 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$classes' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
365 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
365 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
365 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
368 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found | |
| | 4 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
370 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
370 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
370 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
370 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
370 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
372 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
372 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
372 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
376 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
386 | ERROR | [x] Line indented incorrectly; expected at least 4 tabs, | |
| | found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
386 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
389 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
391 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found | |
| | 1 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
391 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
391 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
391 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$input"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
391 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
391 | ERROR | [x] Expected 1 spaces between argument "$input" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
392 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
393 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
393 | WARNING | [ ] No space after closing casting parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.CastStructureSpacing.NoSpaceAfterCloseParenthesis) | |
393 | ERROR | [x] A cast statement must be followed by a single | |
| | space (Generic.Formatting.SpaceAfterCast.NoSpace) | |
393 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
393 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
395 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
397 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$checked_class' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
397 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
401 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$checked_class' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
402 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
402 | WARNING | [ ] No space before opening casting parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.CastStructureSpacing.NoSpaceBeforeOpenParenthesis) | |
402 | WARNING | [ ] No space after closing casting parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.CastStructureSpacing.NoSpaceAfterCloseParenthesis) | |
402 | ERROR | [x] A cast statement must be followed by a single | |
| | space (Generic.Formatting.SpaceAfterCast.NoSpace) | |
402 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
402 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
405 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
407 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
408 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
409 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
409 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
409 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$input"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
409 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
409 | ERROR | [x] Expected 1 spaces between argument "$input" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
410 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
411 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
411 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
411 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
412 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
415 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
419 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
419 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'stripslashes' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
419 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
419 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
419 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
419 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
419 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
419 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
419 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'stripslashes' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
419 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
419 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
419 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
419 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
419 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$readonly' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
420 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
421 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
421 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
421 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
421 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
428 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
429 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
430 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
430 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
430 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$input"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
430 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
430 | ERROR | [x] Expected 1 spaces between argument "$input" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
434 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
440 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
440 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'stripslashes' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
440 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
440 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
440 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
440 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
444 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
448 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
448 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
448 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$input"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
448 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
448 | ERROR | [x] Expected 1 spaces between argument "$input" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
452 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
458 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
458 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'stripslashes' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
458 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
458 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
458 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
458 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
462 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
464 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
466 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
466 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
466 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$input"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
466 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
466 | ERROR | [x] Expected 1 spaces between argument "$input" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
468 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
468 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
468 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
469 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
471 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
475 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
475 | WARNING | [ ] No space after closing casting parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.CastStructureSpacing.NoSpaceAfterCloseParenthesis) | |
475 | ERROR | [x] A cast statement must be followed by a single | |
| | space (Generic.Formatting.SpaceAfterCast.NoSpace) | |
475 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$readonly' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
476 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
477 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
477 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
477 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
477 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
478 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
482 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
484 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
485 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
486 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
486 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
486 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$input"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
486 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
486 | ERROR | [x] Expected 1 spaces between argument "$input" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
487 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
490 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
493 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
493 | ERROR | [x] Functions must not contain multiple empty lines in a | |
| | row; found 2 empty lines | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines) | |
494 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
496 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
497 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
499 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found | |
| | 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
499 | ERROR | [x] Space after opening control structure is | |
| | required | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterStructureOpen) | |
499 | ERROR | [x] No space before opening parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeOpenParenthesis) | |
499 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
499 | ERROR | [x] Expected 1 space after FOREACH keyword; 0 found | |
| | (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) | |
499 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
500 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
502 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
503 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$value' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
503 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$selected' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
503 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$text' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
504 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
509 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
510 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
512 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
513 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
514 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
514 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
514 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$input"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
514 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
514 | ERROR | [x] Expected 1 spaces between argument "$input" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
515 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
518 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
520 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
521 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
523 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
526 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
527 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
529 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found | |
| | 4 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
530 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
531 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
531 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
531 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
531 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
531 | WARNING | [ ] Not using strict comparison for in_array(); supply | |
| | true for third argument. | |
| | (WordPress.PHP.StrictInArray.MissingTrueStrict) | |
532 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
533 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$text' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
533 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$value' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
533 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$selected' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
533 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$text' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
534 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
538 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
539 | ERROR | [x] Line indented incorrectly; expected at least 4 tabs, | |
| | found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
540 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
541 | ERROR | [x] Line indented incorrectly; expected at least 4 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
542 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
545 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
546 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
546 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
546 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$input"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
546 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
546 | ERROR | [x] Expected 1 spaces between argument "$input" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
547 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
548 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
548 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
549 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
552 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
558 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
561 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
561 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
564 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
566 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
567 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
568 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
568 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
568 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$input"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
568 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
568 | ERROR | [x] Expected 1 spaces between argument "$input" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
569 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
570 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
570 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
570 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
571 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
572 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
574 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
574 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
575 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
575 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
576 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
577 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$src_visibility' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
577 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$filename' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
578 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$src_visibility' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
579 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
581 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
581 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
582 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
586 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
586 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
586 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$input"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
586 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
586 | ERROR | [x] Expected 1 spaces between argument "$input" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
587 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
588 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
588 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
589 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
591 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
595 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
595 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
595 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
599 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
599 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
600 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
601 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
601 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
601 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
601 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
601 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
602 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
606 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
606 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
611 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
611 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
611 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$input"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
611 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
611 | ERROR | [x] Expected 1 spaces between argument "$input" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
614 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
616 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
620 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
620 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
620 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$input"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
620 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
620 | ERROR | [x] Expected 1 spaces between argument "$input" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
622 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
627 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
627 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
627 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$input"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
627 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
627 | ERROR | [x] Expected 1 spaces between argument "$input" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
629 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
634 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
634 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
634 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$input"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
634 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
634 | ERROR | [x] Expected 1 spaces between argument "$input" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
635 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
636 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
636 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
636 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
636 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
636 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
639 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
643 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
645 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
645 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
651 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
651 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
651 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$input"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
651 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
651 | ERROR | [x] Expected 1 spaces between argument "$input" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
652 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
653 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
653 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
653 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
653 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
653 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
656 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
662 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
663 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
664 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$input' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
666 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
666 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
666 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
668 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$src_visibility' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
668 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'end' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
668 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
668 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
668 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
668 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
669 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$src_visibility' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
673 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
676 | ERROR | [x] File must end with a newline character | |
| | (Generic.Files.EndFileNewline.NotFound) | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 603 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /Users/remco/Workspace/wt-headway/library/api/api-updater.php | |
---------------------------------------------------------------------- | |
FOUND 256 ERRORS AND 8 WARNINGS AFFECTING 110 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [ ] Missing file doc comment | |
| | (Squiz.Commenting.FileComment.Missing) | |
2 | ERROR | [ ] Missing class doc comment | |
| | (Squiz.Commenting.ClassComment.Missing) | |
3 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
4 | ERROR | [ ] Missing @var tag in member variable comment | |
| | (Squiz.Commenting.VariableComment.MissingVar) | |
7 | ERROR | [ ] Missing @var tag in member variable comment | |
| | (Squiz.Commenting.VariableComment.MissingVar) | |
10 | ERROR | [ ] Missing @var tag in member variable comment | |
| | (Squiz.Commenting.VariableComment.MissingVar) | |
13 | ERROR | [ ] Missing @var tag in member variable comment | |
| | (Squiz.Commenting.VariableComment.MissingVar) | |
16 | ERROR | [ ] Missing @var tag in member variable comment | |
| | (Squiz.Commenting.VariableComment.MissingVar) | |
19 | ERROR | [ ] Missing @var tag in member variable comment | |
| | (Squiz.Commenting.VariableComment.MissingVar) | |
22 | ERROR | [ ] Missing @var tag in member variable comment | |
| | (Squiz.Commenting.VariableComment.MissingVar) | |
25 | ERROR | [ ] Missing @var tag in member variable comment | |
| | (Squiz.Commenting.VariableComment.MissingVar) | |
29 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
29 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
29 | ERROR | [x] Expected 1 spaces between opening bracket and type | |
| | hint "array"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpenHint) | |
29 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
29 | ERROR | [x] Expected 1 spaces between argument "$args" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
32 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
32 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
33 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
33 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
34 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
34 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
35 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
35 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
36 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
36 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
37 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
37 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
38 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
38 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
40 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
40 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
40 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
40 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
43 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
43 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
43 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
43 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
47 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
47 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
48 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
48 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
50 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
50 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
51 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
51 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
53 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
53 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
54 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
54 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
56 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
56 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
57 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
57 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
59 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
59 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
60 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
60 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
61 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
63 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
63 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
63 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
67 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
67 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
69 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
69 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
69 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
69 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
69 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
71 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
71 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
71 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
71 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
72 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
72 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
72 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
72 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
74 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found | |
| | 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
74 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
76 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
76 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
76 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
76 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
77 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
77 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
77 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
77 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
78 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
81 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
81 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
81 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
81 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
82 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
82 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
82 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
82 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
86 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
86 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
86 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
87 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
87 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
87 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
87 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
90 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
91 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
93 | ERROR | [ ] Doc comment for parameter "$force_request" | |
| | missing | |
| | (Squiz.Commenting.FunctionComment.MissingParamTag) | |
95 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
97 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
105 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
105 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$force_request"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
105 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
105 | ERROR | [x] Expected 1 spaces between argument "$force_request" | |
| | and closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
107 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
107 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
110 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
116 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
123 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
127 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
127 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
128 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
128 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
131 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
131 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
131 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
131 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
131 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
135 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
135 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
138 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
138 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
142 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
142 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
147 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
147 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
147 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
147 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
147 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
147 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
147 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
149 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
151 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
152 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
155 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
156 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
157 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
157 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
157 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
157 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
157 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
160 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
160 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
161 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
161 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
162 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
162 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
164 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
166 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
168 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
168 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
168 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
169 | ERROR | [x] Multi-line function call not indented correctly; | |
| | expected 16 spaces but found 20 | |
| | (PEAR.Functions.FunctionCallSignature.Indent) | |
169 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$this' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
169 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$new_version' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
169 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$this' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
169 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'admin_url' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
169 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
169 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
169 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'str_replace' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
169 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
169 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
173 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
173 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
174 | ERROR | [x] Multi-line function call not indented correctly; | |
| | expected 16 spaces but found 20 | |
| | (PEAR.Functions.FunctionCallSignature.Indent) | |
174 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$this' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
174 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$new_version' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
174 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$this' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
174 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not | |
| | 'HEADWAY_DASHBOARD_URL' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
174 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
174 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
185 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
185 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
185 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
186 | ERROR | [x] Multi-line function call not indented correctly; | |
| | expected 20 spaces but found 24 | |
| | (PEAR.Functions.FunctionCallSignature.Indent) | |
186 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$this' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
186 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$new_version' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
186 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$this' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
186 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not | |
| | 'HEADWAY_DASHBOARD_URL' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
190 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
190 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
190 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
191 | ERROR | [x] Multi-line function call not indented correctly; | |
| | expected 20 spaces but found 24 | |
| | (PEAR.Functions.FunctionCallSignature.Indent) | |
191 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$this' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
191 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$new_version' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
191 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$this' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
191 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'admin_url' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
191 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
191 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
199 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
203 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
203 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
203 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$value"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
203 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
203 | ERROR | [x] Expected 1 spaces between argument "$value" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
208 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
208 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
210 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
210 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
212 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
214 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
215 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
216 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
216 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
216 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
216 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
216 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
217 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
217 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
217 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
218 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
218 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
218 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
222 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
224 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
225 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
226 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
226 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
226 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
226 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
226 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
227 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
227 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
227 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
228 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
228 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
228 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
230 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
244 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
244 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
244 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
244 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
250 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
252 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
252 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
253 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
253 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
253 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
253 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
258 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
260 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
260 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
260 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
260 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
260 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
263 | WARNING | [ ] wp_remote_get is highly discouraged, please use | |
| | vip_safe_wp_remote_get() instead. | |
| | (WordPress.VIP.RestrictedFunctions.wp_remote_get) | |
263 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
263 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
263 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
263 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
264 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
264 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
266 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$changelog' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
270 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
272 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
273 | ERROR | [x] File must end with a newline character | |
| | (Generic.Files.EndFileNewline.NotFound) | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 214 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: /Users/remco/Workspace/wt-headway/library/blocks/blocks.php | |
---------------------------------------------------------------------- | |
FOUND 768 ERRORS AND 7 WARNINGS AFFECTING 284 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [ ] Missing file doc comment | |
| | (Squiz.Commenting.FileComment.Missing) | |
2 | ERROR | [ ] Missing class doc comment | |
| | (Squiz.Commenting.ClassComment.Missing) | |
5 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
10 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
13 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
28 | ERROR | [x] Comma required after last value in array | |
| | declaration | |
| | (WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast) | |
32 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
40 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
40 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
40 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
40 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
42 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
42 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
42 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
42 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
45 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
45 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
45 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
45 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
47 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
47 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
47 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
47 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
48 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
48 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
48 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
48 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
49 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
49 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
49 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
49 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
52 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
52 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
52 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
52 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
54 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
54 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
54 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
54 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
57 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
57 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
57 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
57 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
58 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
58 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
58 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
58 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
59 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
59 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
59 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
59 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
60 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
60 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
60 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
60 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
61 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
61 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
61 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
61 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
63 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
63 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
63 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
63 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
64 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
64 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
64 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
64 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
65 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
65 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
65 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
65 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
67 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
67 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
67 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
67 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
68 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
68 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
68 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
68 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
69 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
69 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
69 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
69 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
70 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
70 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
70 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
70 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
71 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
71 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
71 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
71 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
73 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
73 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
73 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
73 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
78 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
84 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
84 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
84 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
84 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
85 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
85 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
85 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
85 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
89 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
90 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
90 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
94 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
94 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
98 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
98 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
105 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
107 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
107 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
112 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
114 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
114 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
114 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
120 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
123 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found | |
| | 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
123 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
123 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
123 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
123 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
123 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
126 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
126 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
127 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
127 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
128 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
128 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
129 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
129 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
130 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
130 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
130 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
137 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
142 | ERROR | [x] No space found before comment text; expected "// | |
| | Make sure that the block type has at least one of the | |
| | following: init_action, enqueue_action, or dynamic_js" | |
| | but found "//Make sure that the block type has at least | |
| | one of the following: init_action, enqueue_action, or | |
| | dynamic_js" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
142 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
143 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
144 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
144 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
144 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
145 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
145 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
145 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
146 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
146 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
146 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
146 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
146 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
147 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
147 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
147 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
151 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
151 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
154 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
154 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
154 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
154 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
154 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
154 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
161 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
161 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
161 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
161 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
161 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
161 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
165 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
165 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
165 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
165 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
169 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
169 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
169 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
169 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
169 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
169 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
169 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
173 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
173 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
173 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
174 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
174 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
177 | ERROR | [x] Line indented incorrectly; expected 5 tabs, found | |
| | 6 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
177 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
177 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
179 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
179 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
179 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
179 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
179 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
180 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
182 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
182 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
182 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
182 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
183 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
186 | ERROR | [x] Line indented incorrectly; expected at least 6 tabs, | |
| | found 5 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
188 | ERROR | [x] Line indented incorrectly; expected at least 6 tabs, | |
| | found 5 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
189 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
189 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
191 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
191 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
191 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
191 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
191 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
192 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
194 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
197 | ERROR | [x] Line indented incorrectly; expected at least 6 tabs, | |
| | found 5 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
199 | ERROR | [x] Line indented incorrectly; expected at least 6 tabs, | |
| | found 5 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
200 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
200 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
200 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
200 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
202 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
202 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
202 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
202 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
202 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
203 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
205 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
208 | ERROR | [x] Line indented incorrectly; expected at least 6 tabs, | |
| | found 5 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
210 | ERROR | [x] Line indented incorrectly; expected at least 6 tabs, | |
| | found 5 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
211 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
211 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
213 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
213 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
213 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
213 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
213 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
214 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
216 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
219 | ERROR | [x] Line indented incorrectly; expected at least 6 tabs, | |
| | found 5 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
221 | ERROR | [x] Line indented incorrectly; expected at least 6 tabs, | |
| | found 5 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
222 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
222 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
222 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
222 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
222 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
222 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
222 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
225 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
225 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
225 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
227 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
228 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
229 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
232 | ERROR | [x] Line indented incorrectly; expected at least 6 tabs, | |
| | found 5 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
234 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
238 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
239 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
239 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
240 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
240 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
241 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
241 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
242 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
242 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
243 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
243 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
245 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
245 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
248 | ERROR | [x] Functions must not contain multiple empty lines in a | |
| | row; found 2 empty lines | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines) | |
253 | ERROR | [x] Line indented incorrectly; expected 1 tabs, found | |
| | 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
253 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
255 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
255 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
256 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
256 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
257 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
257 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
258 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
258 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
259 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
259 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
261 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
261 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
266 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found | |
| | 1 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
266 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
266 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
266 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$layout_id"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
266 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
266 | ERROR | [x] Expected 1 spaces between argument "$block_action" | |
| | and closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
268 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
268 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
268 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
269 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
271 | ERROR | [x] Line indented incorrectly; expected 3 tabs, found | |
| | 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
273 | ERROR | [x] Line indented incorrectly; expected at least 4 tabs, | |
| | found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
273 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
273 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
273 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
273 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
276 | ERROR | [x] Line indented incorrectly; expected 4 tabs, found | |
| | 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
276 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
276 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
276 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
278 | ERROR | [x] Line indented incorrectly; expected at least 5 tabs, | |
| | found 4 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
279 | ERROR | [x] Line indented incorrectly; expected at least 5 tabs, | |
| | found 4 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
279 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
279 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
279 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
279 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
279 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
279 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
282 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
291 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
297 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
297 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
299 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
299 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
299 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
299 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
299 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
300 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
300 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
300 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
300 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
302 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
309 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
311 | ERROR | [x] No space found before comment text; expected "// Do | |
| | not run these if it's the admin page or the visual | |
| | editor is open" but found "//Do not run these if it's | |
| | the admin page or the visual editor is open" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
311 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
312 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
317 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
317 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
318 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
318 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
320 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
320 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
320 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
320 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
322 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
322 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
322 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
322 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
322 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
322 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
327 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
327 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
330 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
330 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
334 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
334 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
334 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
334 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
334 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
334 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
334 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
338 | ERROR | [x] Line indented incorrectly; expected 3 tabs, found | |
| | 4 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
338 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
338 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
343 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
343 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
347 | ERROR | [x] Line indented incorrectly; expected at least 4 tabs, | |
| | found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
347 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
347 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
347 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
347 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
347 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
348 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
348 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
348 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
348 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
355 | ERROR | [x] Block comment text must start on a new line | |
| | (Squiz.Commenting.BlockComment.NoNewLine) | |
357 | ERROR | [x] Line indented incorrectly; expected 1 tabs, found | |
| | 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
357 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
357 | ERROR | [ ] You must use "/**" style comments for a function | |
| | comment | |
| | (Squiz.Commenting.FunctionComment.WrongStyle) | |
357 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$css_or_js"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
357 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
357 | ERROR | [x] Expected 1 spaces between argument "$layout_id" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
359 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
359 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
359 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
360 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
360 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
362 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
362 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
362 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
362 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
368 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
368 | ERROR | [ ] You must use "/**" style comments for a function | |
| | comment | |
| | (Squiz.Commenting.FunctionComment.WrongStyle) | |
368 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$blocks"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
368 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
368 | ERROR | [x] Expected 1 spaces between argument "$css_or_js" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
370 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
370 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
370 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
378 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
378 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
381 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
381 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
385 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
385 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
385 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
385 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
385 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
385 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
385 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
389 | ERROR | [x] Line indented incorrectly; expected 4 tabs, found | |
| | 5 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
389 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
389 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
394 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
394 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
398 | ERROR | [x] Line indented incorrectly; expected at least 5 tabs, | |
| | found 4 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
402 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
402 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
402 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
402 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
402 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
403 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
403 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
403 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
403 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
404 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
404 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
404 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
404 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
404 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
405 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
405 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
405 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
405 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
409 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
409 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
409 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
409 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
409 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
410 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
410 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
410 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
410 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
413 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
422 | ERROR | [x] Line indented incorrectly; expected at least 2 tabs, | |
| | found 1 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
423 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
423 | ERROR | [ ] You must use "/**" style comments for a function | |
| | comment | |
| | (Squiz.Commenting.FunctionComment.WrongStyle) | |
423 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$layout_id"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
423 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
423 | ERROR | [x] Expected 1 spaces between argument "$layout_id" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
425 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
425 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
425 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
426 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
426 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
428 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
428 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
428 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
431 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
431 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
435 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
437 | ERROR | [x] No space found before comment text; expected "// Do | |
| | not run these if it's the admin page or the visual | |
| | editor is open" but found "//Do not run these if it's | |
| | the admin page or the visual editor is open" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
437 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
438 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
443 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
444 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
444 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
446 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
446 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
446 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
453 | ERROR | [x] Multi-line function call not indented correctly; | |
| | expected 16 spaces but found 20 | |
| | (PEAR.Functions.FunctionCallSignature.Indent) | |
453 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
453 | ERROR | [x] Comma required after last value in array | |
| | declaration | |
| | (WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast) | |
453 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
455 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
458 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
458 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
458 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
458 | WARNING | [ ] No space before opening casting parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.CastStructureSpacing.NoSpaceBeforeOpenParenthesis) | |
458 | WARNING | [ ] No space after closing casting parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.CastStructureSpacing.NoSpaceAfterCloseParenthesis) | |
458 | ERROR | [x] A cast statement must be followed by a single | |
| | space (Generic.Formatting.SpaceAfterCast.NoSpace) | |
458 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
458 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
459 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
459 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
459 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
459 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
459 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
459 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
462 | ERROR | [x] Line indented incorrectly; expected at least 2 tabs, | |
| | found 1 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
465 | ERROR | [x] Line indented incorrectly; expected at least 2 tabs, | |
| | found 1 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
466 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
466 | ERROR | [ ] You must use "/**" style comments for a function | |
| | comment | |
| | (Squiz.Commenting.FunctionComment.WrongStyle) | |
466 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$layout_id"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
466 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
466 | ERROR | [x] Expected 1 spaces between argument "$layout_id" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
468 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
468 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
468 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
469 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
469 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
471 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
471 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
471 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
474 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
474 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
477 | ERROR | [x] Line indented incorrectly; expected at least 2 tabs, | |
| | found 1 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
480 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found | |
| | 1 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
480 | ERROR | [ ] You must use "/**" style comments for a function | |
| | comment | |
| | (Squiz.Commenting.FunctionComment.WrongStyle) | |
482 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
482 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
482 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
484 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
485 | ERROR | [x] Line indented incorrectly; expected 3 tabs, found | |
| | 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
487 | ERROR | [x] Line indented incorrectly; expected at least 4 tabs, | |
| | found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
488 | ERROR | [x] Line indented incorrectly; expected at least 4 tabs, | |
| | found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
488 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
488 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
488 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
488 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
488 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
488 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
488 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
491 | ERROR | [x] Line indented incorrectly; expected at least 4 tabs, | |
| | found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
492 | ERROR | [x] Line indented incorrectly; expected at least 4 tabs, | |
| | found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
492 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
492 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
492 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
495 | ERROR | [x] Line indented incorrectly; expected at least 4 tabs, | |
| | found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
495 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
495 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
496 | ERROR | [x] Line indented incorrectly; expected at least 4 tabs, | |
| | found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
496 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
496 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
496 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
496 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
498 | ERROR | [x] Line indented incorrectly; expected at least 4 tabs, | |
| | found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
504 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
508 | ERROR | [x] Line indented incorrectly; expected 3 tabs, found | |
| | 4 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
508 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
508 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
511 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
511 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
511 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
511 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
515 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
515 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
523 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
527 | ERROR | [x] Line indented incorrectly; expected 6 tabs, found | |
| | 7 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
527 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
527 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
527 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
527 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
527 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
529 | ERROR | [x] Line indented incorrectly; expected 7 tabs, found | |
| | 8 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
536 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
536 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
539 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
542 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
544 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
547 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
549 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
553 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
553 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
553 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$block"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
553 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
553 | ERROR | [x] Expected 1 spaces between argument "$where" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
555 | ERROR | [x] No space found before comment text; expected "// | |
| | We'll allow this function to take either an integer | |
| | argument to look up the block or to use the existing" | |
| | but found "//We'll allow this function to take either an | |
| | integer argument to look up the block or to use the | |
| | existing" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
555 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
556 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
556 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
556 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
556 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
557 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
557 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
559 | ERROR | [x] No space found before comment text; expected "// | |
| | Check that the block exists" but found "//Check that the | |
| | block exists" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
559 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
560 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
560 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
560 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
560 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
560 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
565 | ERROR | [x] No space found before comment text; expected "// Set | |
| | the original block for future use" but found "//Set the | |
| | original block for future use" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
565 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
569 | ERROR | [x] No space found before comment text; expected "// Set | |
| | the block style to null so we don't get an ugly notice | |
| | down the road if it's not used." but found "//Set the | |
| | block style to null so we don't get an ugly notice down | |
| | the road if it's not used." | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
572 | ERROR | [x] No space found before comment text; expected "// | |
| | Check if the block type exists" but found "//Check if | |
| | the block type exists" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
572 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
573 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
573 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
573 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
580 | ERROR | [x] No space found before comment text; expected "// Get | |
| | the custom CSS classes and change commas to spaces and | |
| | remove double spaces and remove HTML" but found "//Get | |
| | the custom CSS classes and change commas to spaces and | |
| | remove double spaces and remove HTML" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
580 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
581 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
581 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
581 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
581 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
581 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
581 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
581 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
581 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
581 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
581 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
583 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
583 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
583 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
583 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
583 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
583 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
588 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
588 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
590 | ERROR | [x] No space found before comment text; expected "// | |
| | Block Styles" but found "//Block Styles" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
590 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
591 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
591 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
593 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
593 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
593 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
593 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
593 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
593 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
595 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
600 | ERROR | [x] No space found before comment text; expected "// If | |
| | the block is being displayed in the Grid, then we need | |
| | to make it work with absolute positioning." but found | |
| | "//If the block is being displayed in the Grid, then we | |
| | need to make it work with absolute positioning." | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
601 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
601 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
610 | ERROR | [x] No space found before comment text; expected "// If | |
| | the responsive grid is active, then add the responsive | |
| | block hiding classes" but found "//If the responsive | |
| | grid is active, then add the responsive block hiding | |
| | classes" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
610 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
613 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
613 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
615 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
615 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
615 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
615 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
617 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
620 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
624 | ERROR | [x] No space found before comment text; expected "// If | |
| | it's a mirrored block, change $block to the mirrored | |
| | block" but found "//If it's a mirrored block, change | |
| | $block to the mirrored block" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
624 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
625 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
625 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
630 | ERROR | [x] No space found before comment text; expected "// Add | |
| | Classes for the mirroring" but found "//Add Classes for | |
| | the mirroring" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
630 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
633 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
633 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
638 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
642 | ERROR | [x] No space found before comment text; expected "// | |
| | Fetch the HTML tag for the block" but found "//Fetch the | |
| | HTML tag for the block" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
642 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
643 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
643 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
645 | ERROR | [x] No space found before comment text; expected "// The | |
| | ID attribute for the block. This will change if | |
| | mirrored." but found "//The ID attribute for the block. | |
| | This will change if mirrored." | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
648 | ERROR | [x] No space found before comment text; expected "// | |
| | Original block ID to be used in the Visual Editor" but | |
| | found "//Original block ID to be used in the Visual | |
| | Editor" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
648 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
652 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
652 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
653 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
653 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
654 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
654 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
654 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
654 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
659 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
659 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
659 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
659 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
659 | ERROR | [x] Comma required after last value in array | |
| | declaration | |
| | (WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast) | |
668 | ERROR | [x] No space found before comment text; expected "// The | |
| | grid will display blocks entirely differently and not | |
| | use hooks." but found "//The grid will display blocks | |
| | entirely differently and not use hooks." | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
669 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
669 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
671 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
671 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
672 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
672 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
674 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$block_tag' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
674 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not | |
| | '$block_id_for_id_attr' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
674 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
674 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
674 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'array_filter' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
674 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
674 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
674 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
674 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
674 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not | |
| | '$block_style_attr' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
674 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not | |
| | '$block_data_attrs' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
676 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
676 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
677 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
677 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
681 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
681 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
682 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
682 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
684 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
684 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
686 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
686 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
687 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
687 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
691 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
691 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
692 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
692 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
694 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$block_tag' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
694 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not | |
| | '$block_id_for_id_attr' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
696 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
696 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
697 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
697 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
699 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
699 | ERROR | [x] No space found before comment text; expected "// | |
| | Show the block in the grid" but found "//Show the block | |
| | in the grid" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
699 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
702 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
702 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
702 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
702 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
704 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
704 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
707 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
707 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
707 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
707 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
710 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$block_tag' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
710 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not | |
| | '$block_id_for_id_attr' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
710 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
710 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
710 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'array_filter' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
710 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
710 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
710 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not | |
| | '$block_style_attr' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
710 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not | |
| | '$block_data_attrs' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
714 | ERROR | [x] Line indented incorrectly; expected 3 tabs, found | |
| | 5 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
714 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
714 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
714 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
716 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
716 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
720 | ERROR | [x] Line indented incorrectly; expected at least 5 tabs, | |
| | found 4 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
722 | ERROR | [x] Line indented incorrectly; expected at least 5 tabs, | |
| | found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
722 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$block_tag' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
722 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not | |
| | '$block_id_for_id_attr' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
726 | ERROR | [x] No space found before comment text; expected "// | |
| | Spit the ID back out" but found "//Spit the ID back | |
| | out" (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
726 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
732 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
736 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
736 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
736 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
736 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
736 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
736 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
744 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
744 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
744 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$type"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
744 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
744 | ERROR | [x] Expected 1 spaces between argument "$type" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
748 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
748 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
748 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
748 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
753 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
753 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
753 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$type"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
753 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
753 | ERROR | [x] Expected 1 spaces between argument "$type" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
757 | ERROR | [x] No space found before comment text; expected "// If, | |
| | for some reason, the blocks array isn't set, just return | |
| | false." but found "//If, for some reason, the blocks | |
| | array isn't set, just return false." | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
758 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
758 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
758 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
758 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
759 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
759 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
759 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
759 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
761 | ERROR | [x] No space found before comment text; expected "// | |
| | Check for the actual block type" but found "//Check for | |
| | the actual block type" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
761 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
762 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
762 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
762 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
762 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
765 | WARNING | [ ] This comment is 37% valid code; is this commented | |
| | out code? (Squiz.PHP.CommentedOutCode.Found) | |
765 | ERROR | [x] No space found before comment text; expected "// | |
| | Return false if everything else fails" but found | |
| | "//Return false if everything else fails" | |
| | (Squiz.Commenting.InlineComment.NoSpaceBefore) | |
765 | ERROR | [ ] Inline comments must end in full-stops, exclamation | |
| | marks, or question marks | |
| | (Squiz.Commenting.InlineComment.InvalidEndChar) | |
771 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
771 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
771 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$block"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
771 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
771 | ERROR | [x] Expected 1 spaces between argument "$block" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
773 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$block' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
775 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
778 | ERROR | [x] File must end with a newline character | |
| | (Generic.Files.EndFileNewline.NotFound) | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 708 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: .../Workspace/wt-headway/library/blocks/breadcrumbs/breadcrumbs.php | |
---------------------------------------------------------------------- | |
FOUND 170 ERRORS AND 6 WARNINGS AFFECTING 105 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [ ] Missing file doc comment | |
| | (Squiz.Commenting.FileComment.Missing) | |
2 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
2 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
4 | ERROR | [ ] Missing class doc comment | |
| | (Squiz.Commenting.ClassComment.Missing) | |
5 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
6 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
7 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
8 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
9 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
10 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
11 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
13 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
14 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
15 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
16 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
17 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
18 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
19 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
24 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
26 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
31 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
37 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
39 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
41 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
42 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
43 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
43 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
43 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$block"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
43 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
43 | ERROR | [x] Expected 1 spaces between argument "$block" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
44 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
46 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
46 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
46 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
47 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
47 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
48 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
49 | WARNING | [ ] The use of function wp_reset_query() is discouraged; | |
| | use wp_reset_postdata() instead | |
| | (WordPress.PHP.DiscouragedFunctions.DiscouragedWithAlternative) | |
50 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
53 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
55 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
55 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
55 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
56 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
58 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found | |
| | 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
58 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
58 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
58 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
58 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
58 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
58 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
58 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
61 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
61 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
61 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
61 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
61 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
62 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
62 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
62 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
62 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
62 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
62 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
62 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
62 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
62 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
66 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
67 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
69 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
69 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
72 | ERROR | [x] Expected 1 space after closing brace; newline | |
| | found | |
| | (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) | |
74 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
75 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
75 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
76 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
77 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
77 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
77 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
80 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
80 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
80 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
81 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
81 | ERROR | [x] Expected 0 spaces before semicolon; newline | |
| | found | |
| | (Squiz.ControlStructures.ControlSignature.SpaceBeforeSemicolon) | |
82 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
82 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
82 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
82 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
85 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
86 | ERROR | [x] Array keys must be surrounded by spaces unless they | |
| | contain a string or an integer. | |
| | (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys) | |
86 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
86 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
87 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
88 | ERROR | [x] Line indented incorrectly; expected at least 4 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
88 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
91 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
91 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
93 | ERROR | [x] Expected 1 space after closing brace; newline | |
| | found | |
| | (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) | |
94 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
95 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
98 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
98 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
100 | ERROR | [x] Expected 1 space after closing brace; newline | |
| | found | |
| | (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) | |
102 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
104 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
106 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
107 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
107 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
108 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
109 | ERROR | [x] Expected 1 space after closing brace; newline | |
| | found | |
| | (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) | |
110 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
111 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
114 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
114 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
114 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
114 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
116 | ERROR | [x] Expected 1 space after closing brace; newline | |
| | found | |
| | (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) | |
117 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
118 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
121 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
121 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
121 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
121 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
121 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
123 | ERROR | [x] Expected 1 space after closing brace; newline | |
| | found | |
| | (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) | |
125 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
128 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
128 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
132 | ERROR | [x] Line indented incorrectly; expected at least 3 tabs, | |
| | found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
135 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
135 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
135 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
136 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'parent' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
136 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
136 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
136 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '__' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
136 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
136 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
138 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
138 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
140 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
140 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
143 | ERROR | [x] Line indented incorrectly; expected 3 tabs, found | |
| | 4 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
146 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
146 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
146 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
147 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'parent' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
147 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
147 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
151 | ERROR | [x] Line indented incorrectly; expected 4 tabs, found | |
| | 6 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
151 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
151 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
151 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
151 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
153 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$breadcrumb_url' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
153 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$breadcrumb' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
157 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$breadcrumb' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
161 | ERROR | [x] Line indented incorrectly; expected at least 6 tabs, | |
| | found 5 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
163 | ERROR | [x] Line indented incorrectly; expected at least 6 tabs, | |
| | found 5 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
164 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
167 | ERROR | [x] Line indented incorrectly; expected at least 4 tabs, | |
| | found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
169 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
170 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
171 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
175 | ERROR | [ ] Missing class doc comment | |
| | (Squiz.Commenting.ClassComment.Missing) | |
176 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
177 | ERROR | [ ] You must use "/**" style comments for a member | |
| | variable comment | |
| | (Squiz.Commenting.VariableComment.WrongStyle) | |
178 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
181 | ERROR | [ ] You must use "/**" style comments for a member | |
| | variable comment | |
| | (Squiz.Commenting.VariableComment.WrongStyle) | |
182 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
188 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
190 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
196 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
199 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
204 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
208 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
209 | ERROR | [x] File must end with a newline character | |
| | (Generic.Files.EndFileNewline.NotFound) | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 151 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: ...orkspace/wt-headway/library/blocks/content/comments-template.php | |
---------------------------------------------------------------------- | |
FOUND 65 ERRORS AND 3 WARNINGS AFFECTING 35 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [ ] Missing file doc comment | |
| | (Squiz.Commenting.FileComment.Missing) | |
7 | ERROR | [x] Line indented incorrectly; expected 0 tabs, found | |
| | 1 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
7 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
7 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
9 | ERROR | [x] Line indented incorrectly; expected 1 tabs, found | |
| | 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
15 | WARNING | [ ] No space after closing casting parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.CastStructureSpacing.NoSpaceAfterCloseParenthesis) | |
15 | ERROR | [x] A cast statement must be followed by a single | |
| | space (Generic.Formatting.SpaceAfterCast.NoSpace) | |
15 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
15 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
17 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
17 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
17 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
17 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
18 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
18 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
18 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
18 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
19 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
19 | ERROR | [x] Expected 1 space after ELSE keyword; newline | |
| | found | |
| | (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) | |
20 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
20 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
20 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
20 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
23 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
23 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
24 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
26 | ERROR | [x] Line indented incorrectly; expected at least 5 tabs, | |
| | found 4 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
27 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
28 | ERROR | [x] Line indented incorrectly; expected at least 5 tabs, | |
| | found 4 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
28 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'str_replace' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
28 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
28 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
28 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
28 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
28 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
28 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
30 | ERROR | [x] Line indented incorrectly; expected at least 5 tabs, | |
| | found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
31 | ERROR | [x] Line indented incorrectly; expected at least 5 tabs, | |
| | found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
32 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
33 | ERROR | [x] Line indented incorrectly; expected at least 5 tabs, | |
| | found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
34 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
35 | ERROR | [x] Line indented incorrectly; expected at least 5 tabs, | |
| | found 4 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
36 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
37 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
39 | ERROR | [x] Line indented incorrectly; expected at least 4 tabs, | |
| | found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
41 | ERROR | [x] Line indented incorrectly; expected at least 4 tabs, | |
| | found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
45 | ERROR | [x] Line indented incorrectly; expected at least 4 tabs, | |
| | found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
49 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
49 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
52 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
53 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
53 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
53 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
53 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
54 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
55 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$comments_closed' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
56 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
57 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
59 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
63 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
63 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
63 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
63 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
67 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '__' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
67 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
67 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
71 | ERROR | [x] Line indented incorrectly; expected at least 1 tabs, | |
| | found 0 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
71 | ERROR | [x] File must end with a newline character | |
| | (Generic.Files.EndFileNewline.NotFound) | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 59 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: ...s/remco/Workspace/wt-headway/library/blocks/content/comments.php | |
---------------------------------------------------------------------- | |
FOUND 70 ERRORS AND 1 WARNING AFFECTING 43 LINES | |
---------------------------------------------------------------------- | |
9 | ERROR | [ ] Missing class doc comment | |
| | (Squiz.Commenting.ClassComment.Missing) | |
11 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
12 | ERROR | [x] No space after opening parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
12 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
12 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$classes"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
12 | ERROR | [x] No space before closing parenthesis is prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
12 | ERROR | [x] Expected 1 spaces between argument "$classes" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
13 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
14 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
14 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
14 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
14 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
15 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
15 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
15 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
15 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
16 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
18 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
19 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
19 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
19 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
19 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
20 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
23 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
24 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
25 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
26 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
27 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
28 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '__' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
28 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
28 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
29 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
31 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
35 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
36 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
37 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
38 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
40 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
44 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
44 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
44 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
44 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
44 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
44 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
44 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
44 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
45 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '__' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
45 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
45 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
47 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
49 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
51 | ERROR | [x] Each line in an array declaration must end in a | |
| | comma (WordPress.Arrays.ArrayDeclaration.NoComma) | |
52 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
54 | ERROR | [x] Line indented incorrectly; expected at least 4 tabs, | |
| | found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
56 | ERROR | [x] Line indented incorrectly; expected at least 4 tabs, | |
| | found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
60 | ERROR | [x] Line indented incorrectly; expected at least 4 tabs, | |
| | found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
64 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
64 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
67 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
68 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
68 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
68 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
68 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
69 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
70 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not '$comments_closed' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
71 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
72 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
74 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
77 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
78 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
80 | ERROR | [x] File must end with a newline character | |
| | (Generic.Files.EndFileNewline.NotFound) | |
---------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 62 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
---------------------------------------------------------------------- | |
FILE: .../Workspace/wt-headway/library/blocks/content/content-display.php | |
---------------------------------------------------------------------- | |
FOUND 1132 ERRORS AND 45 WARNINGS AFFECTING 558 LINES | |
---------------------------------------------------------------------- | |
1 | ERROR | [ ] Missing file doc comment | |
| | (Squiz.Commenting.FileComment.Missing) | |
2 | ERROR | [ ] Missing class doc comment | |
| | (Squiz.Commenting.ClassComment.Missing) | |
3 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
4 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
4 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
5 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
6 | ERROR | [ ] Missing member variable doc comment | |
| | (Squiz.Commenting.VariableComment.Missing) | |
7 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
8 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
9 | ERROR | [x] No space after opening parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
9 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
9 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$block"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
9 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
9 | ERROR | [x] Expected 1 spaces between argument "$block" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
10 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
12 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
14 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
14 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
14 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
14 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
15 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
19 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
20 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
21 | ERROR | [ ] Doc comment for parameter "$setting" missing | |
| | (Squiz.Commenting.FunctionComment.MissingParamTag) | |
21 | ERROR | [ ] Doc comment for parameter "$default" missing | |
| | (Squiz.Commenting.FunctionComment.MissingParamTag) | |
24 | ERROR | [x] No space after opening parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
24 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$setting"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
24 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
24 | ERROR | [x] Expected 1 spaces between argument "$default" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
25 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
26 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
26 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
27 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
29 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
30 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
31 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
32 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
33 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
33 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
33 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
34 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
35 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
35 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
35 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
35 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
35 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
36 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
37 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
37 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
37 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
37 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
38 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
38 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
38 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
38 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
39 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
41 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
42 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
42 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
42 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
42 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
42 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
43 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
45 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
47 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
48 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
49 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
49 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
49 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
49 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
49 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
51 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
51 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
51 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
51 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
52 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
52 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
52 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
52 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
52 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
54 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
54 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
54 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
54 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
55 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
58 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
59 | ERROR | [x] No space after opening parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
59 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
59 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$args"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
59 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
59 | ERROR | [x] Expected 1 spaces between argument "$args" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
62 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
62 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
62 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
62 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
62 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
62 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
62 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
62 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
62 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
63 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
63 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
64 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
66 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
66 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
67 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
67 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
68 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
68 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
68 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
69 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
71 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
72 | ERROR | [x] Line indented incorrectly; expected at least 3 | |
| | tabs, found 2 | |
| | (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
73 | ERROR | [x] No space after opening parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
73 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
73 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
73 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
74 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
76 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
77 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
77 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
78 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
78 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
79 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
80 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
80 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
80 | ERROR | [ ] Use Yoda Condition checks, you must | |
| | (WordPress.PHP.YodaConditions.NotYoda) | |
81 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not | |
| | '$pluginbuddy_loopbuddy' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
81 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
81 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
81 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not | |
| | '$loopbuddy_layout' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
84 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
86 | ERROR | [x] Blank line found after control structure | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd) | |
87 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
89 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
90 | ERROR | [x] Line indented incorrectly; expected at least 3 | |
| | tabs, found 2 | |
| | (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
91 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
91 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
91 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
91 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
91 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
91 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
96 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
97 | ERROR | [x] Line indented incorrectly; expected at least 3 | |
| | tabs, found 2 | |
| | (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
98 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
98 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
101 | WARNING | [ ] The use of function wp_reset_query() is | |
| | discouraged; use wp_reset_postdata() instead | |
| | (WordPress.PHP.DiscouragedFunctions.DiscouragedWithAlternative) | |
102 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
104 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
105 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
106 | ERROR | [x] No space after opening parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis) | |
106 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
106 | ERROR | [x] Expected 1 spaces between opening bracket and | |
| | argument "$args"; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen) | |
106 | ERROR | [x] No space before closing parenthesis is | |
| | prohibited | |
| | (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis) | |
106 | ERROR | [x] Expected 1 spaces between argument "$args" and | |
| | closing bracket; 0 found | |
| | (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose) | |
107 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
108 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
108 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
109 | WARNING | [ ] extract() usage is highly discouraged, due to the | |
| | complexity and unintended issues it might cause. | |
| | (WordPress.VIP.RestrictedFunctions.extract) | |
109 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
109 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
110 | WARNING | [ ] extract() usage is highly discouraged, due to the | |
| | complexity and unintended issues it might cause. | |
| | (WordPress.VIP.RestrictedFunctions.extract) | |
110 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
110 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
111 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
112 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
113 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
117 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
118 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
120 | ERROR | [x] Line indented incorrectly; expected 3 tabs, found | |
| | 4 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
120 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
120 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
120 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
120 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
121 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
123 | ERROR | [ ] Expected next thing to be an escaping function (see | |
| | Codex for 'Data Validation'), not 'apply_filters' | |
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped) | |
123 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
123 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
123 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
123 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
125 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
127 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
129 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
131 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
135 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
136 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
136 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
136 | ERROR | [x] Missing space after array opener. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
136 | ERROR | [x] Missing space before array closer. | |
| | (WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis) | |
139 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
141 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
142 | ERROR | [x] Line indented incorrectly; expected at least 4 | |
| | tabs, found 3 | |
| | (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
143 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
144 | ERROR | [x] Line indented incorrectly; expected at least 4 | |
| | tabs, found 3 | |
| | (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
145 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
147 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
149 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
151 | ERROR | [x] Line indented incorrectly; expected 1 tabs, found | |
| | 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
151 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
153 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
153 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
153 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
156 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
156 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
156 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
156 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
159 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
159 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
159 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
159 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
169 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
172 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
172 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
172 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
172 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
172 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
175 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) | |
175 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
175 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
181 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
181 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
181 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
192 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
193 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found | |
| | 1 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
193 | ERROR | [ ] Missing function doc comment | |
| | (Squiz.Commenting.FunctionComment.Missing) | |
194 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
195 | ERROR | [x] Line indented incorrectly; expected at least 3 | |
| | tabs, found 2 | |
| | (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
196 | ERROR | [x] Line indented incorrectly; expected at least 3 | |
| | tabs, found 2 | |
| | (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
196 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
196 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
196 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
196 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
196 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). | |
| | (WordPress.PHP.StrictComparisons.LooseComparison) | |
198 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
199 | ERROR | [x] Line indented incorrectly; expected at least 3 | |
| | tabs, found 2 | |
| | (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
200 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
201 | ERROR | [x] Line indented incorrectly; expected at least 3 | |
| | tabs, found 2 | |
| | (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
201 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
202 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
203 | ERROR | [x] Line indented incorrectly; expected at least 3 | |
| | tabs, found 2 | |
| | (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
204 | ERROR | [x] Line indented incorrectly; expected 3 tabs, found | |
| | 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) | |
205 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
206 | ERROR | [x] Line indented incorrectly; expected at least 4 | |
| | tabs, found 3 | |
| | (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
207 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
208 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
209 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
209 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
209 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
210 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
211 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
212 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
212 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
212 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
212 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
212 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
213 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
214 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
215 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
215 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
215 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
215 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
216 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
217 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
217 | ERROR | [x] Expected 1 space after ELSE keyword; newline | |
| | found | |
| | (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) | |
217 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
218 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
218 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
218 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket) | |
219 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
220 | ERROR | [x] Line indented incorrectly; expected at least 4 | |
| | tabs, found 3 | |
| | (Generic.WhiteSpace.ScopeIndent.Incorrect) | |
221 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
222 | ERROR | [x] Expected 1 space after closing brace; newline | |
| | found | |
| | (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) | |
223 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
226 | ERROR | [x] Whitespace found at end of line | |
| | (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) | |
228 | ERROR | [x] Expected 1 spaces after opening bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket) | |
228 | ERROR | [x] Expected 1 spaces before closing bracket; 0 | |
| | found | |
| | (PEAR.Functions.FunctionCallSignature.SpaceBeforeC |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment