While reviewing the theme, we couldn't find a tool to verify the PHP coding standards, which would be nice to have in the development environment.
After running a PHPCS manually, we've found that almost all the PHP files have violations, and it would be nice to have all them fixed before marking it as production-ready.
> phpcs --standard=WordPress --ignore=vendor/,node_modules/,assets/ --extensions=php -p ./
EEEEEEEE........EEEE.EE.EEEEEEEEEEEEEEEEEEEEE 45 / 45 (100%)
FILE: ...marcos.schratzenstaller/workspace/course-maker-pro/functions.php
----------------------------------------------------------------------
FOUND 36 ERRORS AND 32 WARNINGS AFFECTING 51 LINES
----------------------------------------------------------------------
3 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
4 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
5 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
6 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
7 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
8 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
9 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
10 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
11 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
13 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
14 | WARNING | [x] "include_once" is a statement not a function; no
| | parentheses are required
14 | WARNING | [x] File is being unconditionally included; use
| | "require_once" instead
16 | ERROR | [x] No space found before comment text; expected "//
| | * Include functions file which checks for
| | plugins" but found "//* Include functions file
| | which checks for plugins"
18 | WARNING | [ ] Found precision alignment of 1 spaces.
18 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
18 | WARNING | [x] "include_once" is a statement not a function; no
| | parentheses are required
30 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
31 | ERROR | [x] No space found after comma in function call
41 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
42 | WARNING | [x] "include_once" is a statement not a function; no
| | parentheses are required
42 | WARNING | [x] File is being unconditionally included; use
| | "require_once" instead
44 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
45 | WARNING | [x] "include_once" is a statement not a function; no
| | parentheses are required
45 | WARNING | [x] File is being unconditionally included; use
| | "require_once" instead
47 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
48 | WARNING | [x] "include_once" is a statement not a function; no
| | parentheses are required
48 | WARNING | [x] File is being unconditionally included; use
| | "require_once" instead
50 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
51 | WARNING | [x] "include_once" is a statement not a function; no
| | parentheses are required
51 | WARNING | [x] File is being unconditionally included; use
| | "require_once" instead
53 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
54 | WARNING | [x] "include_once" is a statement not a function; no
| | parentheses are required
54 | WARNING | [x] File is being unconditionally included; use
| | "require_once" instead
56 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
57 | WARNING | [x] "include_once" is a statement not a function; no
| | parentheses are required
57 | WARNING | [x] File is being unconditionally included; use
| | "require_once" instead
59 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
60 | WARNING | [x] "include_once" is a statement not a function; no
| | parentheses are required
60 | WARNING | [x] File is being unconditionally included; use
| | "require_once" instead
62 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
63 | WARNING | [x] "include_once" is a statement not a function; no
| | parentheses are required
63 | WARNING | [x] File is being unconditionally included; use
| | "require_once" instead
65 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
67 | ERROR | [ ] Missing doc comment for function
| | course_maker_gutenberg_support()
68 | WARNING | [x] "require_once" is a statement not a function; no
| | parentheses are required
71 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
72 | WARNING | [x] "include_once" is a statement not a function; no
| | parentheses are required
72 | WARNING | [x] File is being unconditionally included; use
| | "require_once" instead
74 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
75 | WARNING | [x] "include_once" is a statement not a function; no
| | parentheses are required
75 | WARNING | [x] File is being unconditionally included; use
| | "require_once" instead
77 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
79 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
79 | WARNING | [x] "include_once" is a statement not a function; no
| | parentheses are required
82 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
84 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
84 | WARNING | [x] "include_once" is a statement not a function; no
| | parentheses are required
87 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
89 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
89 | WARNING | [x] "include_once" is a statement not a function; no
| | parentheses are required
90 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
90 | WARNING | [x] "include_once" is a statement not a function; no
| | parentheses are required
93 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
95 | WARNING | [x] "include_once" is a statement not a function; no
| | parentheses are required
98 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
100 | WARNING | [x] "include_once" is a statement not a function; no
| | parentheses are required
103 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
105 | WARNING | [x] "include_once" is a statement not a function; no
| | parentheses are required
----------------------------------------------------------------------
PHPCBF CAN FIX THE 47 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...staller/workspace/course-maker-pro/lifterlms/course/syllabus.php
----------------------------------------------------------------------
FOUND 15 ERRORS AND 2 WARNINGS AFFECTING 11 LINES
----------------------------------------------------------------------
4 | ERROR | [x] There must be exactly one blank line before the
| | tags in a doc comment
4 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
5 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
8 | ERROR | [ ] There must be exactly one blank line after the
| | file comment
11 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 3 spaces but found 1 space
23 | ERROR | [ ] All output should be run through an escaping
| | function (like esc_html_e() or esc_attr_e()),
| | found '_e'.
30 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found
| | 'get_the_title'.
40 | ERROR | [x] Opening PHP tag must be on a line by itself
40 | ERROR | [x] Opening parenthesis of a multi-line function call
| | must be the last content on the line
40 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
41 | ERROR | [x] Array item not aligned correctly; expected 4
| | spaces but found 32
41 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 8 space(s) between "'lesson'" and double
| | arrow, but found 1.
42 | ERROR | [x] Array item not aligned correctly; expected 4
| | spaces but found 32
43 | ERROR | [x] Array closer not aligned correctly; expected 0
| | space(s) but found 28
43 | ERROR | [x] Closing parenthesis of a multi-line function call
| | must be on a line by itself
43 | ERROR | [x] Closing PHP tag must be on a line by itself
51 | ERROR | [ ] All output should be run through an escaping
| | function (like esc_html_e() or esc_attr_e()),
| | found '_e'.
----------------------------------------------------------------------
PHPCBF CAN FIX THE 13 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...r/workspace/course-maker-pro/lifterlms/course/lesson-preview.php
----------------------------------------------------------------------
FOUND 22 ERRORS AND 2 WARNINGS AFFECTING 16 LINES
----------------------------------------------------------------------
4 | ERROR | [x] There must be exactly one blank line before the
| | tags in a doc comment
4 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
5 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
8 | ERROR | [ ] There must be exactly one blank line after the
| | file comment
12 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 5 spaces but found 1 space
12 | WARNING | [ ] strip_tags() is discouraged. Use the more
| | comprehensive wp_strip_all_tags() instead.
15 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found '$lesson'.
21 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found
| | 'get_permalink'.
21 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found
| | '$data_msg'.
25 | ERROR | [x] Expected 1 space after opening PHP tag; 2 found
30 | ERROR | [x] Inline PHP statement must end with a semicolon
43 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found
| | '$pre_text'.
47 | ERROR | [x] Inline PHP statement must end with a semicolon
47 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found
| | 'get_the_title'.
51 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found
| | 'llms_get_excerpt'.
61 | ERROR | [x] Expected 1 space(s) after closing parenthesis;
| | found 0
61 | ERROR | [x] Space between opening control structure and
| | closing parenthesis is required
63 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found '__'.
65 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found '__'.
71 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found '_x'.
71 | ERROR | [ ] A gettext call containing placeholders was found,
| | but was not accompanied by a "translators:"
| | comment on the line above to clarify the meaning
| | of the placeholders.
71 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found '$lesson'.
71 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found
| | '$total_lessons'.
72 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found '$lesson'.
----------------------------------------------------------------------
PHPCBF CAN FIX THE 9 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...Users/marcos.schratzenstaller/workspace/course-maker-pro/404.php
----------------------------------------------------------------------
FOUND 16 ERRORS AND 2 WARNINGS AFFECTING 12 LINES
----------------------------------------------------------------------
13 | ERROR | [x] No space found before comment text; expected "//
| | * Remove default loop" but found "//* Remove
| | default loop"
24 | ERROR | [x] No space found before comment text; expected "//
| | get filtering params" but found "//get filtering
| | params"
24 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
30 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 15 spaces but found 1 space
30 | ERROR | [x] No space found after comma in function call
33 | WARNING | [ ] This comment is 60% valid code; is this commented
| | out code?
34 | ERROR | [x] Expected 1 space before comment text but found 2;
| | use block comment if you need indentation
35 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
35 | ERROR | [x] There must be no blank line following an inline
| | comment
39 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found
| | 'apply_filters'.
44 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found
| | 'apply_filters'.
44 | ERROR | [ ] A gettext call containing placeholders was found,
| | but was not accompanied by a "translators:"
| | comment on the line above to clarify the meaning
| | of the placeholders.
49 | ERROR | [x] Line indented incorrectly; expected 4 tabs, found
| | 1
51 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found '__'.
51 | ERROR | [ ] A gettext call containing placeholders was found,
| | but was not accompanied by a "translators:"
| | comment on the line above to clarify the meaning
| | of the placeholders.
51 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found
| | 'trailingslashit'.
55 | ERROR | [x] Line indented incorrectly; expected at least 4
| | tabs, found 1
61 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found '__'.
----------------------------------------------------------------------
PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...tzenstaller/workspace/course-maker-pro/config/theme-supports.php
----------------------------------------------------------------------
FOUND 23 ERRORS AND 9 WARNINGS AFFECTING 21 LINES
----------------------------------------------------------------------
9 | ERROR | [ ] There must be exactly one blank line after the
| | file comment
11 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 21 space(s) between "'custom-logo'" and
| | double arrow, but found 1.
12 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
12 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
12 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 7 space(s) between "'width'" and double
| | arrow, but found 9.
13 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
13 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
13 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 6 space(s) between "'height'" and double
| | arrow, but found 8.
14 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
14 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
14 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 2 space(s) between "'flex-width'" and
| | double arrow, but found 4.
15 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
15 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
15 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 1 space(s) between "'flex-height'" and
| | double arrow, but found 3.
17 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 27 space(s) between "'html5'" and double
| | arrow, but found 1.
18 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
19 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
20 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
21 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
22 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
24 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 11 space(s) between
| | "'genesis-accessibility'" and double arrow, but
| | found 1.
25 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
26 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
27 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
28 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
29 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
34 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
34 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 9 space(s) between "'primary'" and
| | double arrow, but found 1.
35 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
36 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
36 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 7 space(s) between "'secondary'" and
| | double arrow, but found 1.
36 | ERROR | [x] Each array item in a multi-line array declaration
| | must end in a comma
----------------------------------------------------------------------
PHPCBF CAN FIX THE 31 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...aller/workspace/course-maker-pro/config/child-theme-settings.php
----------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
----------------------------------------------------------------------
8 | ERROR | [ ] There must be exactly one blank line after the
| | file comment
28 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 7 space(s) between "'posts_per_page'"
| | and double arrow, but found 1.
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...chratzenstaller/workspace/course-maker-pro/config/onboarding.php
----------------------------------------------------------------------
FOUND 60 ERRORS AND 23 WARNINGS AFFECTING 82 LINES
----------------------------------------------------------------------
14 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 5 space(s) between "'dependencies'" and
| | double arrow, but found 1.
17 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
18 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
22 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
23 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
27 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
28 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
32 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
33 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
43 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 10 space(s) between "'content'" and
| | double arrow, but found 1.
44 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 13 space(s) between "'homepage'" and
| | double arrow, but found 1.
53 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 16 space(s) between "'about'" and
| | double arrow, but found 1.
62 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 17 space(s) between "'blog'" and double
| | arrow, but found 1.
71 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 14 space(s) between "'contact'" and
| | double arrow, but found 1.
81 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 3 space(s) between "'Sample Blog Post
| | 1'" and double arrow, but found 1.
82 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
83 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
84 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
85 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
86 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
90 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 3 space(s) between "'_genesis_layout'"
| | and double arrow, but found 1.
94 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 3 space(s) between "'Sample Blog Post
| | 2'" and double arrow, but found 1.
95 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
96 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
97 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
98 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
99 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
104 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 3 space(s) between "'Sample Blog Post
| | 3'" and double arrow, but found 1.
105 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
106 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
107 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
108 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
109 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
113 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 3 space(s) between "'_genesis_layout'"
| | and double arrow, but found 1.
117 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 3 space(s) between "'Sample Blog Post
| | 4'" and double arrow, but found 1.
118 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
119 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
120 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
121 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
122 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
127 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 3 space(s) between "'Sample Blog Post
| | 5'" and double arrow, but found 1.
128 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
129 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
130 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
131 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
132 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
136 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 3 space(s) between "'_genesis_layout'"
| | and double arrow, but found 1.
140 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 3 space(s) between "'Sample Blog Post
| | 6'" and double arrow, but found 1.
141 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
142 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
143 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
144 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
145 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
152 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
153 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
154 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
155 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
161 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
162 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
163 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
164 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
170 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
171 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
172 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
173 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
181 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 9 space(s) between "'primary'" and
| | double arrow, but found 1.
185 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 4 space(s) between "'about'" and double
| | arrow, but found 1.
188 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 5 space(s) between "'blog'" and double
| | arrow, but found 1.
191 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 2 space(s) between "'contact'" and
| | double arrow, but found 1.
200 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 4 space(s) between "'about'" and double
| | arrow, but found 1.
203 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 5 space(s) between "'blog'" and double
| | arrow, but found 1.
206 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 2 space(s) between "'contact'" and
| | double arrow, but found 1.
212 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 10 space(s) between "'widgets'" and
| | double arrow, but found 1.
212 | ERROR | [x] There must be no space between the "array"
| | keyword and the opening parenthesis
213 | ERROR | [x] There must be no space between the "array"
| | keyword and the opening parenthesis
214 | ERROR | [x] There must be no space between the "array"
| | keyword and the opening parenthesis
216 | ERROR | [x] There must be no space between the "array"
| | keyword and the opening parenthesis
224 | ERROR | [x] There must be no space between the "array"
| | keyword and the opening parenthesis
225 | ERROR | [x] There must be no space between the "array"
| | keyword and the opening parenthesis
227 | ERROR | [x] There must be no space between the "array"
| | keyword and the opening parenthesis
235 | ERROR | [x] There must be no space between the "array"
| | keyword and the opening parenthesis
236 | ERROR | [x] There must be no space between the "array"
| | keyword and the opening parenthesis
238 | ERROR | [x] There must be no space between the "array"
| | keyword and the opening parenthesis
----------------------------------------------------------------------
PHPCBF CAN FIX THE 77 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...enstaller/workspace/course-maker-pro/config/responsive-menus.php
----------------------------------------------------------------------
FOUND 14 ERRORS AND 1 WARNING AFFECTING 13 LINES
----------------------------------------------------------------------
9 | ERROR | [ ] There must be exactly one blank line after the
| | file comment
14 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
15 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
16 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
17 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
17 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 2 space(s) between "'others'" and double
| | arrow, but found 1.
18 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
19 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
19 | ERROR | [x] Each array item in a multi-line array declaration
| | must end in a comma
20 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
21 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
22 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
23 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
24 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
25 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
----------------------------------------------------------------------
PHPCBF CAN FIX THE 14 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: .../course-maker-pro/config/import/content/sample-testimonial-1.php
----------------------------------------------------------------------
FOUND 17 ERRORS AND 4 WARNINGS AFFECTING 6 LINES
----------------------------------------------------------------------
13 | ERROR | [ ] Variable "authorName" is not in valid snake_case
| | format
13 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 6 spaces but found 1 space
13 | ERROR | [x] String "coursemaker" does not require double
| | quotes; use single quotes instead
14 | ERROR | [ ] Variable "authorTitle" is not in valid snake_case
| | format
14 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 5 spaces but found 1 space
15 | ERROR | [ ] Variable "testimonialText" is not in valid
| | snake_case format
15 | ERROR | [x] String "coursemaker" does not require double
| | quotes; use single quotes instead
18 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
18 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 2 space(s) between
| | "'socialproofslider_testimonial_author_name'" and
| | double arrow, but found 1.
18 | ERROR | [x] Concat operator must be surrounded by a single
| | space
18 | ERROR | [ ] Variable "authorName" is not in valid snake_case
| | format
18 | ERROR | [x] Concat operator must be surrounded by a single
| | space
19 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
19 | ERROR | [x] Concat operator must be surrounded by a single
| | space
19 | ERROR | [ ] Variable "authorTitle" is not in valid snake_case
| | format
19 | ERROR | [x] Concat operator must be surrounded by a single
| | space
20 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
20 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 9 space(s) between
| | "'socialproofslider_testimonial_text'" and double
| | arrow, but found 1.
20 | ERROR | [x] Concat operator must be surrounded by a single
| | space
20 | ERROR | [ ] Variable "testimonialText" is not in valid
| | snake_case format
20 | ERROR | [x] Concat operator must be surrounded by a single
| | space
----------------------------------------------------------------------
PHPCBF CAN FIX THE 15 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: .../course-maker-pro/config/import/content/sample-testimonial-3.php
----------------------------------------------------------------------
FOUND 18 ERRORS AND 4 WARNINGS AFFECTING 6 LINES
----------------------------------------------------------------------
13 | ERROR | [ ] Variable "authorName" is not in valid snake_case
| | format
13 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 6 spaces but found 1 space
13 | ERROR | [x] String "Quote Author" does not require double
| | quotes; use single quotes instead
13 | ERROR | [x] String "coursemaker" does not require double
| | quotes; use single quotes instead
14 | ERROR | [ ] Variable "authorTitle" is not in valid snake_case
| | format
14 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 5 spaces but found 1 space
15 | ERROR | [ ] Variable "testimonialText" is not in valid
| | snake_case format
15 | ERROR | [x] String "Lorem ipsum dolor sit amet, consectetur
| | adipiscing elit. In venenatis bibendum ipsum, nec
| | scelerisque metus. Suspendisse ultrices in risus
| | et aliquam. Maecenas ut risus mauris. Sed luctus
| | diam vitae faucibus venenatis." does not require
| | double quotes; use single quotes instead
18 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
18 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 2 space(s) between
| | "'socialproofslider_testimonial_author_name'" and
| | double arrow, but found 1.
18 | ERROR | [x] Concat operator must be surrounded by a single
| | space
18 | ERROR | [ ] Variable "authorName" is not in valid snake_case
| | format
18 | ERROR | [x] Concat operator must be surrounded by a single
| | space
19 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
19 | ERROR | [x] Concat operator must be surrounded by a single
| | space
19 | ERROR | [ ] Variable "authorTitle" is not in valid snake_case
| | format
19 | ERROR | [x] Concat operator must be surrounded by a single
| | space
20 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
20 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 9 space(s) between
| | "'socialproofslider_testimonial_text'" and double
| | arrow, but found 1.
20 | ERROR | [x] Concat operator must be surrounded by a single
| | space
20 | ERROR | [ ] Variable "testimonialText" is not in valid
| | snake_case format
20 | ERROR | [x] Concat operator must be surrounded by a single
| | space
----------------------------------------------------------------------
PHPCBF CAN FIX THE 16 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...er/workspace/course-maker-pro/config/import/content/homepage.php
----------------------------------------------------------------------
FOUND 2 ERRORS AND 3 WARNINGS AFFECTING 5 LINES
----------------------------------------------------------------------
13 | ERROR | [x] No space found before comment text; expected "//
| | * Default Images" but found "//* Default Images"
14 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 3 spaces but found 1 space
15 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 2 spaces but found 1 space
16 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 2 spaces but found 1 space
19 | ERROR | [x] No space found before comment text; expected "//
| | * Begin Creating Content Output" but found "//*
| | Begin Creating Content Output"
----------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: .../course-maker-pro/config/import/content/sample-testimonial-2.php
----------------------------------------------------------------------
FOUND 18 ERRORS AND 4 WARNINGS AFFECTING 6 LINES
----------------------------------------------------------------------
13 | ERROR | [ ] Variable "authorName" is not in valid snake_case
| | format
13 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 6 spaces but found 1 space
13 | ERROR | [x] String "Testimonial Author" does not require
| | double quotes; use single quotes instead
13 | ERROR | [x] String "coursemaker" does not require double
| | quotes; use single quotes instead
14 | ERROR | [ ] Variable "authorTitle" is not in valid snake_case
| | format
14 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 5 spaces but found 1 space
15 | ERROR | [ ] Variable "testimonialText" is not in valid
| | snake_case format
15 | ERROR | [x] String "Lorem ipsum dolor sit amet, consectetur
| | adipiscing elit. Cras elit est, malesuada id
| | turpis vitae, fermentum egestas mauris. Phasellus
| | convallis dolor a pretium varius. Aliquam lacinia
| | elit quis egestas tempus. Lorem ipsum dolor sit
| | amet, consectetur adipiscing elit." does not
| | require double quotes; use single quotes instead
18 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
18 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 2 space(s) between
| | "'socialproofslider_testimonial_author_name'" and
| | double arrow, but found 1.
18 | ERROR | [x] Concat operator must be surrounded by a single
| | space
18 | ERROR | [ ] Variable "authorName" is not in valid snake_case
| | format
18 | ERROR | [x] Concat operator must be surrounded by a single
| | space
19 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
19 | ERROR | [x] Concat operator must be surrounded by a single
| | space
19 | ERROR | [ ] Variable "authorTitle" is not in valid snake_case
| | format
19 | ERROR | [x] Concat operator must be surrounded by a single
| | space
20 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
20 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 9 space(s) between
| | "'socialproofslider_testimonial_text'" and double
| | arrow, but found 1.
20 | ERROR | [x] Concat operator must be surrounded by a single
| | space
20 | ERROR | [ ] Variable "testimonialText" is not in valid
| | snake_case format
20 | ERROR | [x] Concat operator must be surrounded by a single
| | space
----------------------------------------------------------------------
PHPCBF CAN FIX THE 16 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...chratzenstaller/workspace/course-maker-pro/config/appearance.php
----------------------------------------------------------------------
FOUND 61 ERRORS AND 17 WARNINGS AFFECTING 68 LINES
----------------------------------------------------------------------
11 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 7 space(s) between "'accent'" and double
| | arrow, but found 1.
13 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 8 space(s) between "'hover'" and double
| | arrow, but found 1.
14 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 6 space(s) between "'navtext'" and
| | double arrow, but found 1.
15 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 5 space(s) between "'headerbg'" and
| | double arrow, but found 1.
16 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 5 space(s) between "'footerbg'" and
| | double arrow, but found 1.
17 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 8 space(s) between "'white'" and double
| | arrow, but found 1.
18 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 8 space(s) between "'black'" and double
| | arrow, but found 1.
19 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 9 space(s) between "'gray'" and double
| | arrow, but found 1.
20 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 5 space(s) between "'darkgray'" and
| | double arrow, but found 1.
23 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 7 spaces but found 1 space
25 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 8 spaces but found 1 space
26 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 6 spaces but found 1 space
27 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 5 spaces but found 1 space
28 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 5 spaces but found 1 space
31 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 12 space(s) between "'fonts-url'" and
| | double arrow, but found 1.
32 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 2 space(s) between
| | "'fontawesome-css-url'" and double arrow, but
| | found 1.
33 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 7 space(s) between "'default-colors'"
| | and double arrow, but found 1.
35 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
36 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
37 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
38 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
38 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
39 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
40 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
41 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
42 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
43 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
43 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
44 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
45 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
46 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
47 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
48 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
48 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
49 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
50 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
51 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
52 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
53 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
53 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
54 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
55 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
56 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
57 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
58 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
58 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
59 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
60 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
61 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
62 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
63 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
63 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
64 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
65 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
66 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
67 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
68 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
68 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
69 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
70 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
71 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
72 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
73 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
73 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
74 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
75 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
76 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
77 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
78 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
78 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
79 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
80 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
81 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
82 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
83 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
83 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
84 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
85 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
----------------------------------------------------------------------
PHPCBF CAN FIX THE 78 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...zer-range-value-control/class-customizer-range-value-control.php
----------------------------------------------------------------------
FOUND 7 ERRORS AND 2 WARNINGS AFFECTING 8 LINES
----------------------------------------------------------------------
1 | ERROR | [ ] Missing file doc comment
2 | ERROR | [ ] Missing doc comment for class
| | Customizer_Range_Value_Control
3 | ERROR | [ ] Missing member variable doc comment
11 | WARNING | [ ] rand() is discouraged. Use the far less
| | predictable wp_rand() instead.
12 | WARNING | [ ] rand() is discouraged. Use the far less
| | predictable wp_rand() instead.
26 | ERROR | [x] Opening PHP tag must be on a line by itself
26 | ERROR | [x] Opening PHP tag must be on a line by itself
27 | ERROR | [x] Closing PHP tag must be on a line by itself
31 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found '$this'.
----------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...zenstaller/workspace/course-maker-pro/page-templates/landing.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
13 | ERROR | There must be exactly one blank line after the file
| | comment
----------------------------------------------------------------------
FILE: ...hratzenstaller/workspace/course-maker-pro/lib/blog-functions.php
----------------------------------------------------------------------
FOUND 346 ERRORS AND 9 WARNINGS AFFECTING 240 LINES
----------------------------------------------------------------------
3 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
4 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
5 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
6 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
7 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
8 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
11 | ERROR | [ ] Missing doc comment for function
| | course_maker_force_fullwidth_layout()
19 | ERROR | [x] No space found before comment text; expected "//
| | * Function to output <ul> list of Blog Post
| | Categories" but found "//* Function to output
| | <ul> list of Blog Post Categories"
20 | ERROR | [ ] You must use "/**" style comments for a function
| | comment
22 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
22 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
23 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
24 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
25 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
25 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 5 space(s) between "'echo'" and double
| | arrow, but found 1.
26 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 3 space(s) between "'parent'" and
| | double arrow, but found 1.
26 | ERROR | [x] Each array item in a multi-line array
| | declaration must end in a comma
26 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
26 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
27 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
29 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
29 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
30 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
32 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
32 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
33 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
33 | ERROR | [ ] Variable "blogURL" is not in valid snake_case
| | format
35 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
35 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
36 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
36 | ERROR | [x] Concat operator must be surrounded by a single
| | space
36 | ERROR | [ ] Variable "blogURL" is not in valid snake_case
| | format
36 | ERROR | [x] Concat operator must be surrounded by a single
| | space
38 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
38 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
39 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
39 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==).
41 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
41 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
42 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
44 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
46 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
46 | ERROR | [x] Concat operator must be surrounded by a single
| | space
50 | ERROR | [x] No space found before comment text; expected "//
| | * Function to output all posts with "Featured
| | Article" meta data" but found "//* Function to
| | output all posts with "Featured Article" meta
| | data"
51 | ERROR | [ ] You must use "/**" style comments for a function
| | comment
53 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
54 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
54 | WARNING | [ ] Detected usage of meta_query, possible slow
| | query.
55 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
56 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
56 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 5 space(s) between "'key'" and double
| | arrow, but found 1.
57 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
57 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 3 space(s) between "'value'" and double
| | arrow, but found 1.
58 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
59 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
59 | ERROR | [x] Each array item in a multi-line array
| | declaration must end in a comma
60 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
60 | ERROR | [x] Each array item in a multi-line array
| | declaration must end in a comma
61 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
63 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
63 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
64 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
66 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
66 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
67 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
68 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
69 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
71 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
71 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
72 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
74 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
74 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
75 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
77 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
79 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
81 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
85 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
88 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
89 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
91 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
93 | ERROR | [x] String "..." does not require double quotes; use
| | single quotes instead
96 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
96 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
97 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
99 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
99 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
100 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
102 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
103 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
103 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found '__'.
105 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
105 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
106 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
106 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found
| | 'get_the_permalink'.
106 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found
| | '$post_title'.
108 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
108 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
109 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
111 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
111 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
112 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
112 | ERROR | [ ] Variable "theAuthor" is not in valid snake_case
| | format
112 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 3 spaces but found 1 space
113 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
113 | ERROR | [ ] Variable "theAuthorID" is not in valid
| | snake_case format
115 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
115 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
116 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
116 | ERROR | [ ] Variable "theAuthorLink" is not in valid
| | snake_case format
116 | ERROR | [ ] Variable "theAuthorID" is not in valid
| | snake_case format
118 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
118 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
119 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
121 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
121 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
122 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
122 | ERROR | [ ] Variable "firstCategory" is not in valid
| | snake_case format
124 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
124 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
125 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
125 | ERROR | [ ] Variable "firstCategoryLink" is not in valid
| | snake_case format
127 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
127 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
128 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
130 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
130 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found
| | '$theAuthorLink'.
130 | ERROR | [ ] Variable "theAuthorLink" is not in valid
| | snake_case format
130 | ERROR | [ ] Variable "theAuthorID" is not in valid
| | snake_case format
132 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
134 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
134 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
135 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
137 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
137 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found
| | '$theAuthorLink'.
137 | ERROR | [ ] Variable "theAuthorLink" is not in valid
| | snake_case format
137 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found
| | '$theAuthor'.
137 | ERROR | [ ] Variable "theAuthor" is not in valid snake_case
| | format
139 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
139 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found
| | '$firstCategoryLink'.
139 | ERROR | [ ] Variable "firstCategoryLink" is not in valid
| | snake_case format
139 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found
| | '$firstCategory'.
139 | ERROR | [ ] Variable "firstCategory" is not in valid
| | snake_case format
141 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
143 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
143 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
144 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
146 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
146 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
147 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
149 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
149 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
150 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
152 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
153 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
153 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found
| | 'get_the_permalink'.
154 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
155 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
156 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
158 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
160 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
160 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
161 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
163 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
163 | ERROR | [x] Blank line found after control structure
165 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
167 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
167 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
168 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
170 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
170 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
171 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
172 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
173 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
175 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
176 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
178 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
179 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
180 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
181 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
182 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
183 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
184 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
185 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
186 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
187 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
188 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
189 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
190 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
191 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
192 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
194 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
195 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
196 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
198 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
198 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
199 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
201 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
201 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
202 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
204 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
204 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
205 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
207 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
207 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
208 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
212 | ERROR | [x] No space found before comment text; expected "//
| | * Blog Header Output" but found "//* Blog Header
| | Output"
213 | ERROR | [ ] You must use "/**" style comments for a function
| | comment
215 | ERROR | [x] Expected 1 space after "!"; 0 found
215 | ERROR | [x] Expected 1 space after "!"; 0 found
216 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
219 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
220 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 3 spaces but found 1 space
223 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
224 | ERROR | [x] Expected 1 space after "!"; 0 found
224 | ERROR | [x] Expected 1 space after "!"; 0 found
228 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
228 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
229 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
231 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
231 | ERROR | [x] Block comment text must start on a new line
232 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
233 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
234 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
235 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
237 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
237 | ERROR | [x] Block comment text must start on a new line
238 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
242 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
244 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
244 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found
| | '$featured_articles_items'.
248 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
248 | ERROR | [x] Block comment text must start on a new line
249 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
253 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
255 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
255 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found
| | '$categories_list'.
259 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
259 | ERROR | [x] Block comment text must start on a new line
260 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
261 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
263 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
263 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
266 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
266 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
267 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
269 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
269 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
270 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found
| | '$content'.
275 | ERROR | [x] No space found before comment text; expected "//
| | * Open blog posts container" but found "//* Open
| | blog posts container"
276 | ERROR | [ ] You must use "/**" style comments for a function
| | comment
278 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
278 | ERROR | [x] Expected 1 space after "!"; 0 found
278 | ERROR | [x] Expected 1 space after "!"; 0 found
282 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
282 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
283 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
284 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
285 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
287 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
287 | ERROR | [x] No space found before comment text; expected "//
| | * Show 'New Articles' header text on first Blog
| | page" but found "//* Show 'New Articles' header
| | text on first Blog page"
288 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
290 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
290 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
291 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
291 | ERROR | [x] Expected 1 space after open parenthesis; 0 found
291 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
291 | ERROR | [x] Expected 1 spaces before closing bracket; 0
| | found
291 | ERROR | [x] Expected 1 space before close parenthesis; 0
| | found
291 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
291 | ERROR | [x] Expected 1 spaces before closing bracket; 0
| | found
293 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
293 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
294 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
294 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==).
296 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
296 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found '__'.
297 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
299 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
299 | ERROR | [x] Blank line found after control structure
301 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
303 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
308 | ERROR | [x] No space found before comment text; expected "//
| | * Remove default Pagination" but found "//*
| | Remove default Pagination"
311 | ERROR | [x] No space found before comment text; expected "//
| | * Close blog posts container" but found "//*
| | Close blog posts container"
312 | ERROR | [ ] You must use "/**" style comments for a function
| | comment
314 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
314 | ERROR | [x] Expected 1 space after "!"; 0 found
314 | ERROR | [x] Expected 1 space after "!"; 0 found
318 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
318 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
323 | ERROR | [x] No space found before comment text; expected "//
| | * Add Pagination after 'blog-posts-wrapper'" but
| | found "//* Add Pagination after
| | 'blog-posts-wrapper'"
324 | ERROR | [ ] You must use "/**" style comments for a function
| | comment
326 | ERROR | [x] Expected 1 space after "!"; 0 found
326 | ERROR | [x] Expected 1 space after "!"; 0 found
330 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
330 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
331 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
333 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
333 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
334 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
339 | ERROR | [x] No space found before comment text; expected "//
| | * Open Article Wrapper" but found "//* Open
| | Article Wrapper"
340 | ERROR | [ ] You must use "/**" style comments for a function
| | comment
342 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
342 | ERROR | [x] Expected 1 space after "!"; 0 found
342 | ERROR | [x] Expected 1 space after "!"; 0 found
346 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
346 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found
| | 'get_post_type'.
347 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
352 | ERROR | [x] No space found before comment text; expected "//
| | * Close Article Wrapper" but found "//* Close
| | Article Wrapper"
353 | ERROR | [ ] You must use "/**" style comments for a function
| | comment
355 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
355 | ERROR | [x] Expected 1 space after "!"; 0 found
355 | ERROR | [x] Expected 1 space after "!"; 0 found
359 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
360 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
365 | ERROR | [x] No space found before comment text; expected "//
| | * Open Entry Wrapper" but found "//* Open Entry
| | Wrapper"
366 | ERROR | [ ] You must use "/**" style comments for a function
| | comment
368 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
368 | ERROR | [x] Expected 1 space after "!"; 0 found
368 | ERROR | [x] Expected 1 space after "!"; 0 found
372 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
373 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
378 | ERROR | [x] No space found before comment text; expected "//
| | * Close Entry Wrapper" but found "//* Close
| | Entry Wrapper"
379 | ERROR | [ ] You must use "/**" style comments for a function
| | comment
381 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
381 | ERROR | [x] Expected 1 space after "!"; 0 found
381 | ERROR | [x] Expected 1 space after "!"; 0 found
385 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
390 | ERROR | [x] No space found before comment text; expected "//
| | * Move featured image to before post title" but
| | found "//* Move featured image to before post
| | title"
394 | ERROR | [x] No space found before comment text; expected "//
| | * Shorten long post titles on Blog Archive page"
| | but found "//* Shorten long post titles on Blog
| | Archive page"
396 | ERROR | [ ] Missing doc comment for function
| | course_maker_custom_blog_post_titles()
398 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
402 | ERROR | [ ] Missing doc comment for function
| | course_maker_shorten_long_post_titles()
404 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
407 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
410 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
413 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
416 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
419 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
420 | ERROR | [x] String "..." does not require double quotes; use
| | single quotes instead
426 | ERROR | [x] Blank line found after control structure
432 | ERROR | [x] No space found before comment text; expected "//
| | * Add Learn More link" but found "//* Add Learn
| | More link"
433 | ERROR | [ ] You must use "/**" style comments for a function
| | comment
435 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
435 | ERROR | [x] Expected 1 space after "!"; 0 found
435 | ERROR | [x] Expected 1 space after "!"; 0 found
439 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
439 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found
| | 'get_the_permalink'.
439 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found '__'.
444 | ERROR | [x] No space found before comment text; expected "//
| | * SINGLE POST - Add Featured Image above Post
| | Title" but found "//* SINGLE POST - Add Featured
| | Image above Post Title"
446 | ERROR | [ ] Missing doc comment for function
| | course_maker_add_single_post_featured_image()
458 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found
| | 'get_the_permalink'.
467 | ERROR | [x] No space found before comment text; expected "//
| | * SINGLE POST - Add extra CSS class to .content
| | element" but found "//* SINGLE POST - Add extra
| | CSS class to .content element"
468 | ERROR | [ ] You must use "/**" style comments for a function
| | comment
474 | ERROR | [x] Concat operator must be surrounded by a single
| | space
475 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
----------------------------------------------------------------------
PHPCBF CAN FIX THE 250 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...atzenstaller/workspace/course-maker-pro/lib/customize-colors.php
----------------------------------------------------------------------
FOUND 41 ERRORS AND 25 WARNINGS AFFECTING 59 LINES
----------------------------------------------------------------------
16 | ERROR | [ ] Superfluous parameter comment
25 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
25 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
26 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 4 space(s) between "'title'" and double
| | arrow, but found 1.
28 | ERROR | [x] Closing parenthesis of a multi-line function
| | call must be on a line by itself
30 | ERROR | [x] Block comment text must start on a new line
33 | ERROR | [x] Block comment text must start on a new line
35 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
36 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
36 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
37 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 11 space(s) between "'default'" and
| | double arrow, but found 1.
39 | ERROR | [x] Closing parenthesis of a multi-line function
| | call must be on a line by itself
41 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
47 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 4 space(s) between "'label'" and double
| | arrow, but found 7.
48 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 2 space(s) between "'section'" and
| | double arrow, but found 5.
49 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 1 space(s) between "'settings'" and
| | double arrow, but found 4.
54 | ERROR | [x] Block comment text must start on a new line
56 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
57 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
57 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
58 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 11 space(s) between "'default'" and
| | double arrow, but found 1.
60 | ERROR | [x] Closing parenthesis of a multi-line function
| | call must be on a line by itself
62 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
68 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 4 space(s) between "'label'" and double
| | arrow, but found 7.
69 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 2 space(s) between "'section'" and
| | double arrow, but found 5.
70 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 1 space(s) between "'settings'" and
| | double arrow, but found 4.
75 | ERROR | [x] Block comment text must start on a new line
77 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
78 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
78 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
79 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 11 space(s) between "'default'" and
| | double arrow, but found 1.
81 | ERROR | [x] Closing parenthesis of a multi-line function
| | call must be on a line by itself
83 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
89 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 4 space(s) between "'label'" and double
| | arrow, but found 7.
90 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 2 space(s) between "'section'" and
| | double arrow, but found 5.
91 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 1 space(s) between "'settings'" and
| | double arrow, but found 4.
96 | ERROR | [x] Block comment text must start on a new line
98 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
99 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
99 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
100 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 11 space(s) between "'default'" and
| | double arrow, but found 1.
102 | ERROR | [x] Closing parenthesis of a multi-line function
| | call must be on a line by itself
104 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
110 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 4 space(s) between "'label'" and double
| | arrow, but found 7.
111 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 2 space(s) between "'section'" and
| | double arrow, but found 5.
112 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 1 space(s) between "'settings'" and
| | double arrow, but found 4.
117 | ERROR | [x] Block comment text must start on a new line
119 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
120 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
120 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
121 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 11 space(s) between "'default'" and
| | double arrow, but found 1.
123 | ERROR | [x] Closing parenthesis of a multi-line function
| | call must be on a line by itself
125 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
131 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 4 space(s) between "'label'" and double
| | arrow, but found 7.
132 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 2 space(s) between "'section'" and
| | double arrow, but found 5.
133 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 1 space(s) between "'settings'" and
| | double arrow, but found 4.
138 | ERROR | [x] Block comment text must start on a new line
140 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
141 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
141 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
142 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 11 space(s) between "'default'" and
| | double arrow, but found 1.
144 | ERROR | [x] Closing parenthesis of a multi-line function
| | call must be on a line by itself
146 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
152 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 4 space(s) between "'label'" and double
| | arrow, but found 7.
153 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 2 space(s) between "'section'" and
| | double arrow, but found 5.
154 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 1 space(s) between "'settings'" and
| | double arrow, but found 4.
----------------------------------------------------------------------
PHPCBF CAN FIX THE 53 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...chratzenstaller/workspace/course-maker-pro/lib/dps-functions.php
----------------------------------------------------------------------
FOUND 22 ERRORS AFFECTING 12 LINES
----------------------------------------------------------------------
3 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
4 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
5 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
6 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
7 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
8 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
10 | ERROR | [ ] Doc comment for parameter "$output" missing
10 | ERROR | [ ] Doc comment for parameter "$original_atts" missing
13 | ERROR | [x] Expected 1 spaces after parameter type; 5 found
13 | ERROR | [ ] Doc comment for parameter $output, does not match
| | actual variable name $output
13 | ERROR | [ ] Parameter comment must end with a full stop
14 | ERROR | [x] Expected 2 spaces after parameter type; 6 found
14 | ERROR | [ ] Doc comment for parameter $original_atts, does not
| | match actual variable name $original_atts
14 | ERROR | [ ] Parameter comment must end with a full stop
18 | ERROR | [ ] Inline comments must end in full-stops, exclamation
| | marks, or question marks
19 | ERROR | [x] Space after opening control structure is required
19 | ERROR | [x] Expected 1 space(s) after IF keyword; 0 found
19 | ERROR | [x] Inline control structures are not allowed
24 | ERROR | [x] Space after opening control structure is required
24 | ERROR | [x] Expected 1 space(s) after IF keyword; 0 found
24 | ERROR | [x] Inline control structures are not allowed
24 | ERROR | [x] Expected 1 space after "!"; 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 15 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ....schratzenstaller/workspace/course-maker-pro/lib/theme-setup.php
----------------------------------------------------------------------
FOUND 183 ERRORS AND 16 WARNINGS AFFECTING 150 LINES
----------------------------------------------------------------------
3 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
4 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
5 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
6 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
7 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
8 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
10 | ERROR | [x] No space found before comment text; expected "//
| | * Add theme supports" but found "//* Add theme
| | supports"
12 | ERROR | [ ] Missing doc comment for function
| | course_maker_theme_support()
22 | ERROR | [x] No space found before comment text; expected "//
| | * Set Genesis Defaults" but found "//* Set
| | Genesis Defaults"
24 | ERROR | [ ] Missing doc comment for function
| | course_maker_set_genesis_defaults()
31 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
31 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
32 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 12 space(s) between "'comments_posts'"
| | and double arrow, but found 1.
32 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
32 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
33 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 12 space(s) between "'comments_pages'"
| | and double arrow, but found 1.
33 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
33 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
40 | ERROR | [x] No space found before comment text; expected "//
| | * Use the search form from WordPress core" but
| | found "//* Use the search form from WordPress
| | core"
43 | ERROR | [x] No space found before comment text; expected "//
| | * If Sticky Nav is not disabled, add a CSS class
| | to the site-header element" but found "//* If
| | Sticky Nav is not disabled, add a CSS class to
| | the site-header element"
45 | ERROR | [ ] Missing doc comment for function
| | course_maker_stickynav_class()
46 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 7 spaces but found 1 space
47 | ERROR | [x] Expected 1 space after "!"; 0 found
51 | ERROR | [x] No space found before comment text; expected "//
| | * Make a new 'Social' nav menu, assign to the
| | 'secondary' location, and add Custom Link menu
| | items" but found "//* Make a new 'Social' nav
| | menu, assign to the 'secondary' location, and
| | add Custom Link menu items"
52 | ERROR | [ ] You must use "/**" style comments for a function
| | comment
58 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
59 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
59 | ERROR | [x] Expected 1 space after "!"; 0 found
61 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
62 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
64 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
67 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
68 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
68 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
68 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
69 | ERROR | [x] Array item not aligned correctly; expected 12
| | spaces but found 16
69 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 3 space(s) between "'menu-item-type'"
| | and double arrow, but found 1.
70 | ERROR | [x] Array item not aligned correctly; expected 12
| | spaces but found 16
70 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 2 space(s) between "'menu-item-title'"
| | and double arrow, but found 1.
71 | ERROR | [x] Array item not aligned correctly; expected 12
| | spaces but found 16
71 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 4 space(s) between "'menu-item-url'"
| | and double arrow, but found 1.
72 | ERROR | [x] Array item not aligned correctly; expected 12
| | spaces but found 16
73 | ERROR | [x] Array item not aligned correctly; expected 12
| | spaces but found 16
73 | ERROR | [x] Each array item in a multi-line array
| | declaration must end in a comma
74 | ERROR | [x] Array closer not aligned correctly; expected 8
| | space(s) but found 12
77 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
77 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
77 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
78 | ERROR | [x] Array item not aligned correctly; expected 12
| | spaces but found 16
78 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 3 space(s) between "'menu-item-type'"
| | and double arrow, but found 1.
79 | ERROR | [x] Array item not aligned correctly; expected 12
| | spaces but found 16
79 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 2 space(s) between "'menu-item-title'"
| | and double arrow, but found 1.
80 | ERROR | [x] Array item not aligned correctly; expected 12
| | spaces but found 16
80 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 4 space(s) between "'menu-item-url'"
| | and double arrow, but found 1.
81 | ERROR | [x] Array item not aligned correctly; expected 12
| | spaces but found 16
82 | ERROR | [x] Array item not aligned correctly; expected 12
| | spaces but found 16
82 | ERROR | [x] Each array item in a multi-line array
| | declaration must end in a comma
83 | ERROR | [x] Array closer not aligned correctly; expected 8
| | space(s) but found 12
86 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
86 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
86 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
87 | ERROR | [x] Array item not aligned correctly; expected 12
| | spaces but found 16
87 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 3 space(s) between "'menu-item-type'"
| | and double arrow, but found 1.
88 | ERROR | [x] Array item not aligned correctly; expected 12
| | spaces but found 16
88 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 2 space(s) between "'menu-item-title'"
| | and double arrow, but found 1.
89 | ERROR | [x] Array item not aligned correctly; expected 12
| | spaces but found 16
89 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 4 space(s) between "'menu-item-url'"
| | and double arrow, but found 1.
90 | ERROR | [x] Array item not aligned correctly; expected 12
| | spaces but found 16
91 | ERROR | [x] Array item not aligned correctly; expected 12
| | spaces but found 16
91 | ERROR | [x] Each array item in a multi-line array
| | declaration must end in a comma
92 | ERROR | [x] Array closer not aligned correctly; expected 8
| | space(s) but found 12
99 | ERROR | [x] No space found before comment text; expected "//
| | * Add Image Sizes" but found "//* Add Image
| | Sizes"
103 | ERROR | [x] No space found before comment text; expected "//
| | * Add new image sizes to the image size
| | dropdown" but found "//* Add new image sizes to
| | the image size dropdown"
105 | ERROR | [ ] Missing doc comment for function
| | course_maker_show_custom_image_sizes()
109 | ERROR | [x] No space found before comment text; expected "//
| | * Add support for 'Genesis Connect for
| | WooCommerce' plugin" but found "//* Add support
| | for 'Genesis Connect for WooCommerce' plugin"
112 | ERROR | [x] No space found before comment text; expected "//
| | * Enable Shortcodes in widgets" but found "//*
| | Enable Shortcodes in widgets"
115 | ERROR | [x] No space found before comment text; expected "//
| | * Removes header right widget area" but found
| | "//* Removes header right widget area"
118 | ERROR | [x] No space found before comment text; expected "//
| | * Removes secondary sidebar" but found "//*
| | Removes secondary sidebar"
121 | ERROR | [x] No space found before comment text; expected "//
| | * Remove layouts" but found "//* Remove layouts"
126 | ERROR | [x] No space found before comment text; expected "//
| | * Add custom body classes" but found "//* Add
| | custom body classes"
127 | ERROR | [ ] You must use "/**" style comments for a function
| | comment
130 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 2 spaces but found 1 space
148 | ERROR | [x] No space found before comment text; expected "//
| | * Remove header and front page breadcrumb
| | settings in the Customizer." but found "//*
| | Remove header and front page breadcrumb settings
| | in the Customizer."
150 | ERROR | [ ] Missing doc comment for function
| | course_maker_remove_customizer_settings()
156 | ERROR | [x] No space found before comment text; expected "//
| | * If the Customizer setting is set to: "Show
| | Logo Image", then display the custom logo." but
| | found "//* If the Customizer setting is set to:
| | "Show Logo Image", then display the custom
| | logo."
158 | ERROR | [ ] Missing doc comment for function
| | course_maker_custom_logo()
159 | ERROR | [ ] Variable "siteTitleDisplaySetting" is not in
| | valid snake_case format
159 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
159 | ERROR | [x] Expected 1 spaces before closing bracket; 0
| | found
159 | ERROR | [x] String "site_title_display" does not require
| | double quotes; use single quotes instead
160 | ERROR | [x] String "display_logo" does not require double
| | quotes; use single quotes instead
160 | ERROR | [ ] Variable "siteTitleDisplaySetting" is not in
| | valid snake_case format
165 | ERROR | [x] No space found before comment text; expected "//
| | * Adds a custom body class if a custom logo is
| | used." but found "//* Adds a custom body class
| | if a custom logo is used."
167 | ERROR | [ ] Missing doc comment for function
| | course_maker_customlogo_body_class()
169 | ERROR | [ ] Variable "siteTitleDisplaySetting" is not in
| | valid snake_case format
169 | ERROR | [x] String "site_title_display" does not require
| | double quotes; use single quotes instead
171 | ERROR | [x] String "display_logo" does not require double
| | quotes; use single quotes instead
171 | ERROR | [ ] Variable "siteTitleDisplaySetting" is not in
| | valid snake_case format
173 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
175 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
177 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
183 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
188 | ERROR | [x] No space found before comment text; expected "//
| | * Filter the custom logo output - add a custom
| | class for the img element." but found "//*
| | Filter the custom logo output - add a custom
| | class for the img element."
190 | ERROR | [ ] Missing doc comment for function
| | add_custom_logo()
192 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
195 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
196 | ERROR | [ ] Variable "imagePath" is not in valid snake_case
| | format
198 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
199 | ERROR | [ ] Variable "customClass" is not in valid
| | snake_case format
201 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
202 | ERROR | [ ] Variable "imagePath" is not in valid snake_case
| | format
203 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
203 | ERROR | [ ] Variable "customClass" is not in valid
| | snake_case format
206 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
207 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
209 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
209 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
209 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
209 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
210 | ERROR | [ ] Variable "customClass" is not in valid
| | snake_case format
212 | ERROR | [x] Closing parenthesis of a multi-line function
| | call must be on a line by itself
215 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
220 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
221 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
222 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
223 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
224 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
225 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
225 | ERROR | [ ] Missing parameter comment
226 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
227 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
230 | WARNING | [ ] This comment is 80% valid code; is this
| | commented out code?
230 | ERROR | [x] No space found before comment text; expected "//
| | unset( $page_templates['page_archive.php'] );"
| | but found "//unset(
| | $page_templates['page_archive.php'] );"
230 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
235 | ERROR | [x] No space found before comment text; expected "//
| | * Add Login/Logout link to Primary Members menu"
| | but found "//* Add Login/Logout link to Primary
| | Members menu"
236 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
236 | ERROR | [x] Expected 1 spaces before closing bracket; 0
| | found
237 | ERROR | [x] No space after opening parenthesis is prohibited
237 | ERROR | [ ] Missing doc comment for function
| | add_login_logout_link()
237 | ERROR | [x] Expected 1 spaces after opening parenthesis; 0
| | found
237 | ERROR | [x] No space before closing parenthesis is
| | prohibited
238 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==).
238 | ERROR | [ ] Use Yoda Condition checks, you must.
238 | ERROR | [x] No space before closing parenthesis is
| | prohibited
240 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
240 | ERROR | [x] Expected 1 spaces before closing bracket; 0
| | found
240 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
240 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
243 | ERROR | [x] Concat operator must be surrounded by a single
| | space
243 | ERROR | [x] Concat operator must be surrounded by a single
| | space
250 | ERROR | [ ] Missing doc comment for function
| | course_maker_secondary_menu_args()
262 | ERROR | [x] No space found before comment text; expected "//
| | * Remove Header Right widget area" but found
| | "//* Remove Header Right widget area"
265 | ERROR | [x] No space found before comment text; expected "//
| | * Remove the primary navigation menu from its
| | default location" but found "//* Remove the
| | primary navigation menu from its default
| | location"
268 | ERROR | [x] No space found before comment text; expected "//
| | * Function to echo menu assigned to
| | primary-members theme location" but found "//*
| | Function to echo menu assigned to
| | primary-members theme location"
269 | ERROR | [ ] You must use "/**" style comments for a function
| | comment
271 | ERROR | [x] No space found before comment text; expected "//
| | * Do nothing if menu not supported" but found
| | "//* Do nothing if menu not supported"
272 | ERROR | [x] Inline control structures are not allowed
275 | ERROR | [x] No space found before comment text; expected "//
| | * Assign CSS classes to navigation" but found
| | "//* Assign CSS classes to navigation"
279 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found '__'.
282 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
285 | ERROR | [x] Closing parenthesis of a multi-line function
| | call must be on a line by itself
289 | ERROR | [x] No space found before comment text; expected "//
| | * Add typical attributes for primary-members
| | navigation elements." but found "//* Add typical
| | attributes for primary-members navigation
| | elements."
292 | ERROR | [x] No space found before comment text; expected "//
| | * Add ID markup to the primary-members elements
| | to jump to" but found "//* Add ID markup to the
| | primary-members elements to jump to"
295 | ERROR | [x] No space found before comment text; expected "//
| | * Conditional nav menu display" but found "//*
| | Conditional nav menu display"
297 | ERROR | [ ] Missing doc comment for function
| | course_maker_conditional_primary_nav()
299 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
307 | ERROR | [x] No space found before comment text; expected "//
| | * Modify size of the Gravatar in the author box"
| | but found "//* Modify size of the Gravatar in
| | the author box"
309 | ERROR | [ ] Missing doc comment for function
| | course_maker_author_box_gravatar()
313 | ERROR | [x] No space found before comment text; expected "//
| | * Modify size of the Gravatar in the entry
| | comments" but found "//* Modify size of the
| | Gravatar in the entry comments"
315 | ERROR | [ ] Missing doc comment for function
| | course_maker_comments_gravatar()
320 | ERROR | [x] No space found before comment text; expected "//
| | * Use the search form from WordPress core" but
| | found "//* Use the search form from WordPress
| | core"
323 | ERROR | [x] No space found before comment text; expected "//
| | * Move the secondary sidebar within
| | content-sidebar-wrap for flexbox" but found "//*
| | Move the secondary sidebar within
| | content-sidebar-wrap for flexbox"
325 | ERROR | [x] No space found after comma in function call
327 | ERROR | [x] No space found before comment text; expected "//
| | * Customize entry meta in the entry header" but
| | found "//* Customize entry meta in the entry
| | header"
329 | ERROR | [ ] Missing doc comment for function
| | course_maker_post_info_filter()
341 | ERROR | [x] No space found before comment text; expected "//
| | * Add post info before content-sidebar wrap for
| | posts" but found "//* Add post info before
| | content-sidebar wrap for posts"
343 | ERROR | [ ] Missing doc comment for function
| | course_maker_add_post_info_conditionally()
346 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==).
350 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
355 | ERROR | [x] No space found before comment text; expected "//
| | * Remove built-in custom headline and
| | description to assigned posts page" but found
| | "//* Remove built-in custom headline and
| | description to assigned posts page"
358 | ERROR | [x] No space found before comment text; expected "//
| | * Add custom headline and description to
| | assigned posts page" but found "//* Add custom
| | headline and description to assigned posts page"
360 | ERROR | [ ] Missing doc comment for function
| | course_maker_do_posts_page_heading()
376 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found
| | 'genesis_attr'.
377 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found
| | 'genesis_attr'.
377 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found
| | 'get_the_title'.
381 | ERROR | [x] Line indented incorrectly; expected 1 tabs,
| | found 2
382 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found 'wpautop'.
383 | ERROR | [x] Line indented incorrectly; expected 1 tabs,
| | found 2
388 | ERROR | [x] No space found before comment text; expected "//
| | * Remove entry title" but found "//* Remove
| | entry title"
390 | ERROR | [ ] Missing doc comment for function
| | course_maker_remove_conditional_post_titles()
401 | ERROR | [x] No space found before comment text; expected "//
| | * Add entry title outside content area" but
| | found "//* Add entry title outside content area"
403 | ERROR | [ ] Missing doc comment for function
| | course_maker_conditional_post_titles()
413 | ERROR | [x] No space found before comment text; expected "//
| | * Remove post info from its default location"
| | but found "//* Remove post info from its default
| | location"
415 | ERROR | [ ] Missing doc comment for function
| | course_maker_conditional_post_info()
425 | ERROR | [x] No space found before comment text; expected "//
| | * Remove Genesis footer" but found "//* Remove
| | Genesis footer"
428 | ERROR | [x] No space found before comment text; expected "//
| | * Reposition the secondary (footer) navigation
| | menu" but found "//* Reposition the secondary
| | (footer) navigation menu"
431 | ERROR | [ ] Missing doc comment for function
| | custom_footer_navmenu()
431 | ERROR | [x] Expected 1 space before opening brace; found 0
440 | ERROR | [x] No space found before comment text; expected "//
| | * Default Footer text - show after Footer
| | widgets and menu" but found "//* Default Footer
| | text - show after Footer widgets and menu"
----------------------------------------------------------------------
PHPCBF CAN FIX THE 140 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...hratzenstaller/workspace/course-maker-pro/lib/icon-functions.php
----------------------------------------------------------------------
FOUND 6 ERRORS AND 8 WARNINGS AFFECTING 12 LINES
----------------------------------------------------------------------
2 | ERROR | [ ] You must use "/**" style comments for a file
| | comment
2 | ERROR | [ ] Empty line required before block comment
26 | WARNING | [x] "require_once" is a statement not a function; no
| | parentheses are required
56 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 5 space(s) between "'icon'" and double
| | arrow, but found 8.
57 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 4 space(s) between "'title'" and double
| | arrow, but found 7.
58 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 5 space(s) between "'desc'" and double
| | arrow, but found 8.
59 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 1 space(s) between "'fallback'" and
| | double arrow, but found 4.
124 | WARNING | [ ] This comment is 48% valid code; is this
| | commented out code?
131 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
149 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 2 spaces but found 1 space
159 | ERROR | [x] Space found before comma in function call
160 | ERROR | [x] Space found before comma in function call
185 | WARNING | [ ] This comment is 58% valid code; is this
| | commented out code?
185 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
----------------------------------------------------------------------
PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...enstaller/workspace/course-maker-pro/lib/gutenberg-functions.php
----------------------------------------------------------------------
FOUND 34 ERRORS AND 1 WARNING AFFECTING 31 LINES
----------------------------------------------------------------------
3 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
4 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
5 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
6 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
7 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
8 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
10 | ERROR | [x] No space found before comment text; expected "//
| | * Gutenberg Front-end styles" but found "//*
| | Gutenberg Front-end styles"
12 | ERROR | [ ] Missing doc comment for function
| | course_maker_gutenberg_page_styles()
14 | ERROR | [x] String "/css/gutenberg-frontend-styles.css" does
| | not require double quotes; use single quotes
| | instead
18 | ERROR | [x] No space found before comment text; expected "//
| | * Gutenberg Editor assets" but found "//*
| | Gutenberg Editor assets"
20 | ERROR | [ ] Missing doc comment for function
| | course_maker_gutenberg_editor_styles()
22 | ERROR | [x] No space found before comment text; expected "//
| | * Get Appearance Settings" but found "//* Get
| | Appearance Settings"
25 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
27 | ERROR | [ ] Resource version not set in call to
| | wp_enqueue_style(). This means new versions of
| | the style will not always be loaded due to
| | browser caching.
29 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
30 | ERROR | [x] String "/css/gutenberg-editor-styles.css" does
| | not require double quotes; use single quotes
| | instead
32 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
33 | WARNING | [x] "require_once" is a statement not a function; no
| | parentheses are required
33 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
33 | ERROR | [x] Expected 1 spaces before closing bracket; 0
| | found
38 | ERROR | [x] No space found before comment text; expected "//
| | * Add custom CSS class to Body" but found "//*
| | Add custom CSS class to Body"
78 | ERROR | [x] No space found before comment text; expected "//
| | * Add support for Editor Styles" but found "//*
| | Add support for Editor Styles"
81 | ERROR | [x] No space found before comment text; expected "//
| | * Enqueue styles for the Editor" but found "//*
| | Enqueue styles for the Editor"
84 | ERROR | [x] No space found before comment text; expected "//
| | * Enable Wide Blocks" but found "//* Enable Wide
| | Blocks"
87 | ERROR | [x] No space found before comment text; expected "//
| | * Make media embeds responsive" but found "//*
| | Make media embeds responsive"
90 | ERROR | [x] No space found before comment text; expected "//
| | * Get Block Editor Settings" but found "//* Get
| | Block Editor Settings"
93 | ERROR | [x] No space found before comment text; expected "//
| | * Editor Color Palette" but found "//* Editor
| | Color Palette"
96 | ERROR | [x] No space found before comment text; expected "//
| | * Force full-width-content layout for Gutenberg
| | pages" but found "//* Force full-width-content
| | layout for Gutenberg pages"
98 | ERROR | [ ] Function name "setGutenbergPageLayout" is not in
| | snake case format, try
| | "set_gutenberg_page_layout"
98 | ERROR | [ ] Missing doc comment for function
| | setGutenbergPageLayout()
98 | ERROR | [x] Expected 1 space before opening brace; found 0
99 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
100 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
101 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
104 | ERROR | [x] No space found before comment text; expected "//
| | * Remove custom position of the Entry Title" but
| | found "//* Remove custom position of the Entry
| | Title"
----------------------------------------------------------------------
PHPCBF CAN FIX THE 27 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...atzenstaller/workspace/course-maker-pro/lib/helper-functions.php
----------------------------------------------------------------------
FOUND 30 ERRORS AFFECTING 29 LINES
----------------------------------------------------------------------
3 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
4 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
5 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
6 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
7 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
8 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
9 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
10 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
11 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
14 | ERROR | [x] Expected 1 space before comment text but found 2;
| | use block comment if you need indentation
15 | ERROR | [x] Expected 1 space before comment text but found 2;
| | use block comment if you need indentation
16 | ERROR | [x] Expected 1 space before comment text but found 2;
| | use block comment if you need indentation
17 | ERROR | [x] Expected 1 space before comment text but found 2;
| | use block comment if you need indentation
18 | ERROR | [x] Expected 1 space before comment text but found 2;
| | use block comment if you need indentation
19 | ERROR | [x] Expected 1 space before comment text but found 2;
| | use block comment if you need indentation
20 | ERROR | [x] Expected 1 space before comment text but found 2;
| | use block comment if you need indentation
21 | ERROR | [x] Expected 1 space before comment text but found 2;
| | use block comment if you need indentation
24 | ERROR | [x] Expected 1 space before comment text but found 2;
| | use block comment if you need indentation
25 | ERROR | [x] Expected 1 space before comment text but found 2;
| | use block comment if you need indentation
27 | ERROR | [x] Expected 1 space before comment text but found 2;
| | use block comment if you need indentation
29 | ERROR | [x] Expected 1 space before comment text but found 2;
| | use block comment if you need indentation
31 | ERROR | [x] Expected 1 space before comment text but found 2;
| | use block comment if you need indentation
33 | ERROR | [x] Expected 1 space before comment text but found 2;
| | use block comment if you need indentation
35 | ERROR | [x] Expected 1 space before comment text but found 2;
| | use block comment if you need indentation
37 | ERROR | [x] There must be no blank line following an inline
| | comment
40 | ERROR | [ ] You must use "/**" style comments for a function
| | comment
54 | ERROR | [x] Newline required after opening brace
54 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
67 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
70 | ERROR | [ ] Doc comment for parameter "$color" missing
----------------------------------------------------------------------
PHPCBF CAN FIX THE 28 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...s.schratzenstaller/workspace/course-maker-pro/lib/output-rcp.php
----------------------------------------------------------------------
FOUND 8 ERRORS AND 2 WARNINGS AFFECTING 10 LINES
----------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n"
| | but found "\r\n"
3 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
4 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
5 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
6 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
8 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
10 | ERROR | [ ] Missing doc comment for function
| | course_maker_custom_rcp_css()
14 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 7 spaces but found 1 space
16 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 8 spaces but found 1 space
20 | ERROR | [x] Opening parenthesis of a multi-line function call
| | must be the last content on the line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...atzenstaller/workspace/course-maker-pro/lib/output-lifterlms.php
----------------------------------------------------------------------
FOUND 119 ERRORS AND 7 WARNINGS AFFECTING 64 LINES
----------------------------------------------------------------------
3 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
4 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
5 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
6 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
8 | ERROR | [x] No space found before comment text; expected "//
| | * Force LifterLMS elements to use Colors from
| | Customizer" but found "//* Force LifterLMS
| | elements to use Colors from Customizer"
10 | ERROR | [ ] Missing doc comment for function
| | course_maker_lifterlms_color_css()
10 | ERROR | [x] Expected 1 space before opening brace; found 0
12 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
12 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
13 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
13 | ERROR | [x] No space after opening parenthesis is prohibited
13 | ERROR | [ ] You must use "/**" style comments for a function
| | comment
13 | ERROR | [x] Expected 1 spaces after opening parenthesis; 0
| | found
13 | ERROR | [x] No space before closing parenthesis is
| | prohibited
15 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
17 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
17 | ERROR | [x] No space found before comment text; expected "//
| | Return default if no color provided" but found
| | "//Return default if no color provided"
17 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
18 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
19 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
20 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
22 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
22 | ERROR | [x] No space found before comment text; expected "//
| | Sanitize $color if "#" is provided" but found
| | "//Sanitize $color if "#" is provided"
22 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
23 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
23 | ERROR | [x] No space after opening parenthesis is prohibited
23 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==).
23 | ERROR | [ ] Use Yoda Condition checks, you must.
24 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
25 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
27 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
27 | ERROR | [x] No space found before comment text; expected "//
| | Check if color has 6 or 3 characters and get
| | values" but found "//Check if color has 6 or 3
| | characters and get values"
27 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
28 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
28 | ERROR | [x] No space after opening parenthesis is prohibited
28 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
28 | ERROR | [x] Expected 1 spaces before closing bracket; 0
| | found
28 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==).
28 | ERROR | [x] No space before closing parenthesis is
| | prohibited
29 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
30 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
30 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==).
31 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
32 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
33 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
34 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
36 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
36 | ERROR | [x] No space found before comment text; expected "//
| | Convert hexadec to rgb" but found "//Convert
| | hexadec to rgb"
36 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
37 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
37 | ERROR | [x] Expected 1 space after "="; 2 found
37 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
37 | ERROR | [x] Expected 1 spaces before closing bracket; 0
| | found
39 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
39 | ERROR | [x] No space found before comment text; expected "//
| | Check if opacity is set(rgba or rgb)" but found
| | "//Check if opacity is set(rgba or rgb)"
39 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
40 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
40 | ERROR | [x] Space after opening control structure is
| | required
40 | ERROR | [x] No space before opening parenthesis is
| | prohibited
40 | ERROR | [x] No space after opening parenthesis is prohibited
40 | ERROR | [x] Expected 1 space(s) after IF keyword; 0 found
40 | ERROR | [x] No space before closing parenthesis is
| | prohibited
40 | ERROR | [x] Expected 1 space(s) after closing parenthesis;
| | found 0
40 | ERROR | [x] Space between opening control structure and
| | closing parenthesis is required
41 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
41 | ERROR | [x] Space after opening control structure is
| | required
41 | ERROR | [x] Expected 1 space(s) after IF keyword; 0 found
41 | ERROR | [x] Inline control structures are not allowed
41 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
41 | ERROR | [x] Expected 1 spaces before closing bracket; 0
| | found
42 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
43 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
43 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 6 spaces but found 1 space
43 | ERROR | [x] Concat operator must be surrounded by a single
| | space
43 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
43 | ERROR | [x] Expected 1 spaces before closing bracket; 0
| | found
43 | ERROR | [x] String "," does not require double quotes; use
| | single quotes instead
43 | ERROR | [x] No space found after comma in function call
43 | ERROR | [x] Concat operator must be surrounded by a single
| | space
43 | ERROR | [x] Concat operator must be surrounded by a single
| | space
43 | ERROR | [x] Concat operator must be surrounded by a single
| | space
44 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
45 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
45 | ERROR | [x] Concat operator must be surrounded by a single
| | space
45 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
45 | ERROR | [x] Expected 1 spaces before closing bracket; 0
| | found
45 | ERROR | [x] String "," does not require double quotes; use
| | single quotes instead
45 | ERROR | [x] No space found after comma in function call
45 | ERROR | [x] Concat operator must be surrounded by a single
| | space
46 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
48 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
48 | ERROR | [x] No space found before comment text; expected "//
| | Return rgb(a) color string" but found "//Return
| | rgb(a) color string"
48 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
49 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
51 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
53 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
55 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
55 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 7 spaces but found 1 space
57 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 8 spaces but found 1 space
58 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
58 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 5 spaces but found 1 space
62 | ERROR | [x] Block comment text must start on a new line
64 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
111 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
112 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
113 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
114 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
115 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
116 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
116 | ERROR | [x] Expected 1 spaces before closing bracket; 0
| | found
119 | ERROR | [x] Block comment text must start on a new line
121 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
130 | ERROR | [x] Block comment text must start on a new line
132 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
163 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
164 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
165 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
166 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
167 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
170 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
170 | ERROR | [x] Block comment text must start on a new line
171 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
172 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
172 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
178 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
179 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
----------------------------------------------------------------------
PHPCBF CAN FIX THE 113 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...schratzenstaller/workspace/course-maker-pro/lib/load-scripts.php
----------------------------------------------------------------------
FOUND 26 ERRORS AFFECTING 26 LINES
----------------------------------------------------------------------
3 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
4 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
5 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
6 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
7 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
8 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
10 | ERROR | [x] No space found before comment text; expected "// *
| | Enqueue Scripts, Styles and Icons" but found "//*
| | Enqueue Scripts, Styles and Icons"
12 | ERROR | [ ] Missing doc comment for function
| | course_maker_enqueue_scripts_styles()
16 | ERROR | [ ] Inline comments must end in full-stops, exclamation
| | marks, or question marks
19 | ERROR | [ ] Inline comments must end in full-stops, exclamation
| | marks, or question marks
22 | ERROR | [ ] Inline comments must end in full-stops, exclamation
| | marks, or question marks
23 | ERROR | [ ] Resource version not set in call to
| | wp_enqueue_style(). This means new versions of the
| | style will not always be loaded due to browser
| | caching.
25 | ERROR | [ ] Inline comments must end in full-stops, exclamation
| | marks, or question marks
26 | ERROR | [x] String "/js/global.js" does not require double
| | quotes; use single quotes instead
30 | ERROR | [ ] Inline comments must end in full-stops, exclamation
| | marks, or question marks
31 | ERROR | [x] String "/js/home.js" does not require double
| | quotes; use single quotes instead
35 | ERROR | [x] No space found before comment text; expected "// *
| | Smooth scroll" but found "//* Smooth scroll"
40 | ERROR | [ ] Inline comments must end in full-stops, exclamation
| | marks, or question marks
45 | ERROR | [x] No space found before comment text; expected "// *
| | Third-Party Plugin integrations custom styles" but
| | found "//* Third-Party Plugin integrations custom
| | styles"
47 | ERROR | [ ] Missing doc comment for function
| | course_maker_custom_plugin_styles()
49 | ERROR | [ ] Inline comments must end in full-stops, exclamation
| | marks, or question marks
51 | ERROR | [ ] Resource version not set in call to
| | wp_enqueue_style(). This means new versions of the
| | style will not always be loaded due to browser
| | caching.
54 | ERROR | [ ] Inline comments must end in full-stops, exclamation
| | marks, or question marks
56 | ERROR | [ ] Resource version not set in call to
| | wp_enqueue_style(). This means new versions of the
| | style will not always be loaded due to browser
| | caching.
59 | ERROR | [ ] Inline comments must end in full-stops, exclamation
| | marks, or question marks
61 | ERROR | [ ] Resource version not set in call to
| | wp_enqueue_style(). This means new versions of the
| | style will not always be loaded due to browser
| | caching.
----------------------------------------------------------------------
PHPCBF CAN FIX THE 11 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...atzenstaller/workspace/course-maker-pro/lib/dps/dps-featured.php
----------------------------------------------------------------------
FOUND 39 ERRORS AFFECTING 27 LINES
----------------------------------------------------------------------
3 | ERROR | [ ] You must use "/**" style comments for a file
| | comment
3 | ERROR | [ ] Inline comments must end in full-stops, exclamation
| | marks, or question marks
6 | ERROR | [ ] Inline comments must end in full-stops, exclamation
| | marks, or question marks
8 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
11 | ERROR | [ ] Inline comments must end in full-stops, exclamation
| | marks, or question marks
14 | ERROR | [ ] Inline comments must end in full-stops, exclamation
| | marks, or question marks
17 | ERROR | [ ] Inline comments must end in full-stops, exclamation
| | marks, or question marks
19 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
24 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found
| | 'get_post_type'.
25 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
26 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
27 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
28 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
30 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
30 | ERROR | [ ] Inline comments must end in full-stops, exclamation
| | marks, or question marks
31 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
31 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found
| | 'get_permalink'.
33 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
33 | ERROR | [ ] Inline comments must end in full-stops, exclamation
| | marks, or question marks
34 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
34 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found
| | 'get_the_permalink'.
34 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found
| | 'get_the_title'.
36 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
36 | ERROR | [ ] Inline comments must end in full-stops, exclamation
| | marks, or question marks
37 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
39 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
39 | ERROR | [ ] Inline comments must end in full-stops, exclamation
| | marks, or question marks
40 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
40 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found
| | '$the_content'.
42 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
42 | ERROR | [ ] Inline comments must end in full-stops, exclamation
| | marks, or question marks
43 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
43 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found
| | 'get_the_permalink'.
45 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
45 | ERROR | [ ] Inline comments must end in full-stops, exclamation
| | marks, or question marks
46 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
48 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
49 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
50 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
----------------------------------------------------------------------
PHPCBF CAN FIX THE 21 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...enstaller/workspace/course-maker-pro/lib/lifterlms-functions.php
----------------------------------------------------------------------
FOUND 41 ERRORS AND 1 WARNING AFFECTING 27 LINES
----------------------------------------------------------------------
8 | ERROR | [x] No space found before comment text; expected "//
| | * Enable Lesson short descriptions in the lesson
| | previews" but found "//* Enable Lesson short
| | descriptions in the lesson previews"
11 | ERROR | [x] No space found before comment text; expected "//
| | * If 'Course Sidebar' has widgets, change body
| | class on LifterLMS Course Catalog page" but found
| | "//* If 'Course Sidebar' has widgets, change body
| | class on LifterLMS Course Catalog page"
13 | ERROR | [ ] Missing doc comment for function
| | course_maker_lifterlms_sidebar_body_class()
15 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
15 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
16 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
18 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
20 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
20 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
21 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
23 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
23 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
24 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
24 | ERROR | [x] Missing space after array opener.
24 | ERROR | [x] Missing space before array closer.
26 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
26 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
27 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
29 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
29 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
30 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
30 | WARNING | [ ] Not using strict comparison for in_array; supply
| | true for third argument.
32 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
32 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
33 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
33 | ERROR | [x] Array keys must be surrounded by spaces unless
| | they contain a string or an integer.
35 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
35 | ERROR | [x] Blank line found after control structure
37 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
39 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
39 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
40 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
42 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
42 | ERROR | [x] Blank line found after control structure
44 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
46 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
46 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
47 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
51 | ERROR | [x] No space found before comment text; expected "//
| | * Enqueue LifterLMS custom styles" but found "//*
| | Enqueue LifterLMS custom styles"
53 | ERROR | [ ] Missing doc comment for function
| | course_maker_custom_lifterlms_css()
55 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
55 | ERROR | [ ] Resource version not set in call to
| | wp_enqueue_style(). This means new versions of
| | the style will not always be loaded due to
| | browser caching.
----------------------------------------------------------------------
PHPCBF CAN FIX THE 30 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...nstaller/workspace/course-maker-pro/lib/onboarding-functions.php
----------------------------------------------------------------------
FOUND 51 ERRORS AND 3 WARNINGS AFFECTING 42 LINES
----------------------------------------------------------------------
10 | ERROR | [x] No space found before comment text; expected "//
| | * Disable the LifterLMS First-Time Setup Wizard"
| | but found "//* Disable the LifterLMS First-Time
| | Setup Wizard"
13 | ERROR | [x] No space found before comment text; expected "//
| | * Create the 'Social' menu" but found "//*
| | Create the 'Social' menu"
16 | ERROR | [x] No space found before comment text; expected "//
| | * Function to update a WP option" but found "//*
| | Function to update a WP option"
17 | ERROR | [ ] You must use "/**" style comments for a function
| | comment
17 | ERROR | [ ] Variable "optionName" is not in valid snake_case
| | format
17 | ERROR | [ ] Variable "newValue" is not in valid snake_case
| | format
19 | ERROR | [ ] Variable "optionName" is not in valid snake_case
| | format
21 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
21 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
22 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
22 | ERROR | [ ] Variable "optionName" is not in valid snake_case
| | format
22 | ERROR | [ ] Variable "newValue" is not in valid snake_case
| | format
26 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
26 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
27 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
27 | ERROR | [ ] Variable "optionName" is not in valid snake_case
| | format
27 | ERROR | [ ] Variable "newValue" is not in valid snake_case
| | format
33 | ERROR | [x] No space found before comment text; expected "//
| | * Assign the Blog page" but found "//* Assign
| | the Blog page"
35 | ERROR | [ ] Missing doc comment for function
| | course_maker_assign_blog_page()
37 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 3 spaces but found 1 space
38 | ERROR | [ ] Variable "blogpageID" is not in valid snake_case
| | format
40 | ERROR | [ ] Variable "blogpageID" is not in valid snake_case
| | format
44 | ERROR | [x] No space found before comment text; expected "//
| | * Remove the default "Hello World" post if it
| | exists" but found "//* Remove the default "Hello
| | World" post if it exists"
46 | ERROR | [ ] Missing doc comment for function
| | course_maker_remove_default_blog_meta()
48 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
49 | ERROR | [ ] Variable "defaultPost" is not in valid
| | snake_case format
51 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
52 | ERROR | [x] Expected 1 space after "!"; 0 found
52 | ERROR | [ ] Variable "defaultPost" is not in valid
| | snake_case format
53 | ERROR | [ ] Variable "defaultPost" is not in valid
| | snake_case format
56 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
59 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
60 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
60 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
60 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
62 | ERROR | [x] Each array item in a multi-line array
| | declaration must end in a comma
63 | ERROR | [x] Closing parenthesis of a multi-line function
| | call must be on a line by itself
69 | ERROR | [x] No space found before comment text; expected "//
| | * Update display settings for SP Testimonials
| | Slider" but found "//* Update display settings
| | for SP Testimonials Slider"
71 | ERROR | [ ] Missing doc comment for function
| | course_maker_update_spslider_settings()
73 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
75 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
78 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
79 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==).
83 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
88 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
90 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
93 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
95 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
98 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
99 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==).
105 | ERROR | [x] No space found before comment text; expected "//
| | * Set Genesis Defaults" but found "//* Set
| | Genesis Defaults"
107 | ERROR | [ ] Missing doc comment for function
| | course_maker_onboarding_set_genesis_defaults()
114 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
114 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
----------------------------------------------------------------------
PHPCBF CAN FIX THE 22 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...os.schratzenstaller/workspace/course-maker-pro/lib/metaboxes.php
----------------------------------------------------------------------
FOUND 87 ERRORS AFFECTING 53 LINES
----------------------------------------------------------------------
3 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
4 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
5 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
6 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
7 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
8 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
9 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
10 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
11 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
13 | ERROR | [x] No space found before comment text; expected "// *
| | Register the 'Featured Article' Meta box for Blog
| | Posts" but found "//* Register the 'Featured
| | Article' Meta box for Blog Posts"
14 | ERROR | [ ] You must use "/**" style comments for a function
| | comment
14 | ERROR | [x] Expected 1 space before opening brace; found 0
14 | ERROR | [x] Space between opening control structure and closing
| | parenthesis is required
16 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
17 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
17 | ERROR | [ ] Inline comments must end in full-stops, exclamation
| | marks, or question marks
18 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
18 | ERROR | [ ] Inline comments must end in full-stops, exclamation
| | marks, or question marks
19 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
19 | ERROR | [ ] Inline comments must end in full-stops, exclamation
| | marks, or question marks
20 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
20 | ERROR | [ ] Inline comments must end in full-stops, exclamation
| | marks, or question marks
21 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
21 | ERROR | [ ] Inline comments must end in full-stops, exclamation
| | marks, or question marks
22 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
22 | ERROR | [ ] Inline comments must end in full-stops, exclamation
| | marks, or question marks
23 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
28 | ERROR | [x] No space found before comment text; expected "// *
| | Function to display the 'Featured Article' meta
| | box" but found "//* Function to display the
| | 'Featured Article' meta box"
29 | ERROR | [ ] You must use "/**" style comments for a function
| | comment
31 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
31 | ERROR | [ ] Inline comments must end in full-stops, exclamation
| | marks, or question marks
32 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
34 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
34 | ERROR | [ ] Inline comments must end in full-stops, exclamation
| | marks, or question marks
37 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
37 | ERROR | [ ] Inline comments must end in full-stops, exclamation
| | marks, or question marks
38 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
41 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
42 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found '__'.
45 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
46 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
50 | ERROR | [x] No space found before comment text; expected "// *
| | Save 'Featured Article' meta data" but found "//*
| | Save 'Featured Article' meta data"
51 | ERROR | [ ] You must use "/**" style comments for a function
| | comment
51 | ERROR | [x] Expected 1 space before opening brace; found 0
51 | ERROR | [x] Space between opening control structure and closing
| | parenthesis is required
53 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
53 | ERROR | [ ] Inline comments must end in full-stops, exclamation
| | marks, or question marks
54 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
54 | ERROR | [ ] Missing wp_unslash() before sanitization.
54 | ERROR | [ ] Detected usage of a non-sanitized input variable:
| | $_POST
54 | ERROR | [x] Expected 1 space(s) after closing parenthesis;
| | found 0
54 | ERROR | [x] Space between opening control structure and closing
| | parenthesis is required
55 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
56 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
58 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
58 | ERROR | [ ] Inline comments must end in full-stops, exclamation
| | marks, or question marks
59 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
59 | ERROR | [x] Expected 1 space(s) after closing parenthesis;
| | found 0
59 | ERROR | [x] Space between opening control structure and closing
| | parenthesis is required
60 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
61 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
63 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
63 | ERROR | [ ] Inline comments must end in full-stops, exclamation
| | marks, or question marks
64 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
64 | ERROR | [x] Expected 1 space(s) after closing parenthesis;
| | found 0
64 | ERROR | [x] Space between opening control structure and closing
| | parenthesis is required
65 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
66 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
68 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
68 | ERROR | [ ] Inline comments must end in full-stops, exclamation
| | marks, or question marks
69 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
69 | ERROR | [x] Space after opening control structure is required
69 | ERROR | [x] No space before opening parenthesis is prohibited
69 | ERROR | [x] Expected 1 space(s) after IF keyword; 0 found
69 | ERROR | [x] Expected 1 space(s) after closing parenthesis;
| | found 0
69 | ERROR | [x] Space between opening control structure and closing
| | parenthesis is required
71 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
71 | ERROR | [ ] Missing wp_unslash() before sanitization.
71 | ERROR | [ ] Detected usage of a non-sanitized input variable:
| | $_POST
73 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
73 | ERROR | [ ] Inline comments must end in full-stops, exclamation
| | marks, or question marks
74 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
76 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
78 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
78 | ERROR | [ ] Inline comments must end in full-stops, exclamation
| | marks, or question marks
79 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
81 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
----------------------------------------------------------------------
PHPCBF CAN FIX THE 64 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...orkspace/course-maker-pro/lib/output-gutenberg-editor-styles.php
----------------------------------------------------------------------
FOUND 59 ERRORS AND 9 WARNINGS AFFECTING 68 LINES
----------------------------------------------------------------------
24 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 7 spaces but found 1 space
26 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 8 spaces but found 1 space
27 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 6 spaces but found 1 space
28 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 5 spaces but found 1 space
29 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 5 spaces but found 1 space
30 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 8 spaces but found 1 space
31 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 8 spaces but found 1 space
32 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 9 spaces but found 1 space
33 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 5 spaces but found 1 space
37 | ERROR | [x] Block comment text must start on a new line
43 | ERROR | [x] Block comment text must start on a new line
53 | ERROR | [x] Block comment text must start on a new line
55 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
84 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 8 spaces but found 4
85 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 8 spaces but found 4
86 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 8 spaces but found 4
87 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 8 spaces but found 4
88 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 8 spaces but found 4
89 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 8 spaces but found 4
90 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 8 spaces but found 4
91 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 8 spaces but found 4
92 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 8 spaces but found 4
93 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 8 spaces but found 4
96 | ERROR | [x] Block comment text must start on a new line
98 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
131 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 8 spaces but found 4
132 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 8 spaces but found 4
133 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 8 spaces but found 4
134 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 8 spaces but found 4
135 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 8 spaces but found 4
136 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 8 spaces but found 4
139 | ERROR | [x] Block comment text must start on a new line
141 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
173 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 8 spaces but found 4
174 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 8 spaces but found 4
175 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 8 spaces but found 4
176 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 8 spaces but found 4
177 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 8 spaces but found 4
178 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 8 spaces but found 4
181 | ERROR | [x] Block comment text must start on a new line
183 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
196 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 8 spaces but found 4
197 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 8 spaces but found 4
200 | ERROR | [x] Block comment text must start on a new line
202 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
216 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 8 spaces but found 4
217 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 8 spaces but found 4
220 | ERROR | [x] Block comment text must start on a new line
222 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
235 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 8 spaces but found 4
236 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 8 spaces but found 4
239 | ERROR | [x] Block comment text must start on a new line
241 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
254 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 8 spaces but found 4
255 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 8 spaces but found 4
258 | ERROR | [x] Block comment text must start on a new line
260 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
273 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 8 spaces but found 4
274 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 8 spaces but found 4
277 | ERROR | [x] Block comment text must start on a new line
279 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
292 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 8 spaces but found 4
293 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 8 spaces but found 4
296 | ERROR | [x] Block comment text must start on a new line
298 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
311 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 8 spaces but found 4
312 | ERROR | [x] Multi-line function call not indented correctly;
| | expected 8 spaces but found 4
315 | ERROR | [x] Block comment text must start on a new line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 68 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...os.schratzenstaller/workspace/course-maker-pro/lib/customize.php
----------------------------------------------------------------------
FOUND 154 ERRORS AND 22 WARNINGS AFFECTING 109 LINES
----------------------------------------------------------------------
1 | ERROR | [ ] Class file names should be based on the class
| | name with "class-" prepended. Expected
| | class-course-maker-toggle-control.php, but found
| | customize.php.
15 | ERROR | [x] Additional blank lines found at end of doc
| | comment
23 | ERROR | [x] Additional blank lines found at end of doc
| | comment
38 | ERROR | [x] No space found before comment text; expected "//
| | * Remove Default "Colors" Customizer Section"
| | but found "//* Remove Default "Colors"
| | Customizer Section"
39 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
39 | ERROR | [x] Expected 1 spaces before closing bracket; 0
| | found
39 | ERROR | [x] String "colors" does not require double quotes;
| | use single quotes instead
41 | ERROR | [x] No space found before comment text; expected "//
| | * Remove Default "Background Image" Customizer
| | Section" but found "//* Remove Default
| | "Background Image" Customizer Section"
42 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
42 | ERROR | [x] Expected 1 spaces before closing bracket; 0
| | found
42 | ERROR | [x] String "background_image" does not require
| | double quotes; use single quotes instead
46 | ERROR | [x] Block comment text must start on a new line
48 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
48 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
49 | ERROR | [x] Array item not aligned correctly; expected 8
| | spaces but found 12
49 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
50 | ERROR | [x] Array item not aligned correctly; expected 8
| | spaces but found 12
50 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
51 | ERROR | [x] Array item not aligned correctly; expected 8
| | spaces but found 12
51 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
52 | ERROR | [x] Array item not aligned correctly; expected 8
| | spaces but found 12
53 | ERROR | [x] Closing parenthesis of a multi-line function
| | call must be on a line by itself
60 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
60 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 3 space(s) between "'label'" and double
| | arrow, but found 1.
61 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
62 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
62 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 4 space(s) between "'type'" and double
| | arrow, but found 1.
63 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
64 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
64 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
64 | ERROR | [x] Expected 1 spaces before closing bracket; 0
| | found
64 | ERROR | [x] No space found after comma in function call
65 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
65 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
65 | ERROR | [x] Expected 1 spaces before closing bracket; 0
| | found
65 | ERROR | [x] No space found after comma in function call
65 | ERROR | [x] Each array item in a multi-line array
| | declaration must end in a comma
66 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
66 | ERROR | [x] Each array item in a multi-line array
| | declaration must end in a comma
67 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
71 | ERROR | [x] Block comment text must start on a new line
74 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
75 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
75 | ERROR | [x] Space found before comma in function call
75 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
76 | ERROR | [x] Array item not aligned correctly; expected 8
| | spaces but found 12
76 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 4 space(s) between "'title'" and double
| | arrow, but found 5.
77 | ERROR | [x] Array item not aligned correctly; expected 8
| | spaces but found 12
77 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 1 space(s) between "'priority'" and
| | double arrow, but found 2.
78 | ERROR | [x] Closing parenthesis of a multi-line function
| | call must be on a line by itself
80 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
81 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
81 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
82 | ERROR | [x] Array item not aligned correctly; expected 8
| | spaces but found 12
82 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 11 space(s) between "'default'" and
| | double arrow, but found 3.
83 | ERROR | [x] Array item not aligned correctly; expected 8
| | spaces but found 12
83 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
83 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 14 space(s) between "'type'" and double
| | arrow, but found 6.
84 | ERROR | [x] Array item not aligned correctly; expected 8
| | spaces but found 12
85 | ERROR | [x] Closing parenthesis of a multi-line function
| | call must be on a line by itself
87 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
89 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
90 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
91 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
92 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
93 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
93 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 7 space(s) between "'label'" and double
| | arrow, but found 9.
94 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
94 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 5 space(s) between "'section'" and
| | double arrow, but found 7.
95 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
95 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 4 space(s) between "'settings'" and
| | double arrow, but found 6.
96 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
96 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 1 space(s) between "'description'" and
| | double arrow, but found 3.
96 | ERROR | [x] Each array item in a multi-line array
| | declaration must end in a comma
97 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
98 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
99 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
101 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
102 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
102 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
103 | ERROR | [x] Array item not aligned correctly; expected 8
| | spaces but found 12
103 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 11 space(s) between "'default'" and
| | double arrow, but found 3.
104 | ERROR | [x] Array item not aligned correctly; expected 8
| | spaces but found 12
104 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
104 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 14 space(s) between "'type'" and double
| | arrow, but found 6.
105 | ERROR | [x] Array item not aligned correctly; expected 8
| | spaces but found 12
106 | ERROR | [x] Closing parenthesis of a multi-line function
| | call must be on a line by itself
108 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
110 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
111 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
112 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
113 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
114 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
114 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 7 space(s) between "'label'" and double
| | arrow, but found 9.
115 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
115 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 5 space(s) between "'section'" and
| | double arrow, but found 7.
116 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
116 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 4 space(s) between "'settings'" and
| | double arrow, but found 6.
117 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
117 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 1 space(s) between "'description'" and
| | double arrow, but found 3.
117 | ERROR | [x] Each array item in a multi-line array
| | declaration must end in a comma
118 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
119 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
120 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
122 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
123 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
123 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
124 | ERROR | [x] Array item not aligned correctly; expected 8
| | spaces but found 12
124 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 11 space(s) between "'default'" and
| | double arrow, but found 3.
125 | ERROR | [x] Array item not aligned correctly; expected 8
| | spaces but found 12
125 | ERROR | [x] Spaces must be used for mid-line alignment; tabs
| | are not allowed
125 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 14 space(s) between "'type'" and double
| | arrow, but found 6.
126 | ERROR | [x] Array item not aligned correctly; expected 8
| | spaces but found 12
127 | ERROR | [x] Closing parenthesis of a multi-line function
| | call must be on a line by itself
129 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
131 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
132 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
133 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
134 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
135 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
135 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 7 space(s) between "'label'" and double
| | arrow, but found 9.
136 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
136 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 5 space(s) between "'section'" and
| | double arrow, but found 7.
137 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
137 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 4 space(s) between "'settings'" and
| | double arrow, but found 6.
138 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
138 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 1 space(s) between "'description'" and
| | double arrow, but found 3.
138 | ERROR | [x] Each array item in a multi-line array
| | declaration must end in a comma
139 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
140 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
141 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
169 | ERROR | [x] Expected 1 space before opening brace; found 0
169 | ERROR | [x] Space between opening control structure and
| | closing parenthesis is required
171 | ERROR | [x] No space found before comment text; expected "//
| | input must be a slug: lowercase alphanumeric
| | characters, dashes and underscores are allowed
| | only" but found "//input must be a slug:
| | lowercase alphanumeric characters, dashes and
| | underscores are allowed only"
171 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
174 | ERROR | [x] No space found before comment text; expected "//
| | get the list of possible select options" but
| | found "//get the list of possible select
| | options"
174 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
177 | ERROR | [x] No space found before comment text; expected "//
| | return input if valid or return default option"
| | but found "//return input if valid or return
| | default option"
177 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
182 | ERROR | [x] No space found before comment text; expected "//
| | * On/Off Toggle Switch Controls" but found "//*
| | On/Off Toggle Switch Controls"
185 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
185 | ERROR | [ ] Missing doc comment for class
| | Course_Maker_Toggle_Control
187 | ERROR | [ ] Missing member variable doc comment
189 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
189 | ERROR | [ ] Missing doc comment for function enqueue()
190 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
191 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
205 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
205 | ERROR | [x] Space found before comma in function call
206 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
208 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
208 | ERROR | [ ] Missing doc comment for function
| | render_content()
209 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
210 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
212 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
213 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
214 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
214 | ERROR | [x] Inline PHP statement must end with a semicolon
214 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found '$this'.
214 | ERROR | [x] Inline PHP statement must end with a semicolon
214 | ERROR | [x] Expected 1 space before closing PHP tag; 0 found
214 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found '$this'.
214 | ERROR | [ ] Inline PHP statement must contain a single
| | statement; 2 found
214 | ERROR | [x] Each PHP statement must be on a line by itself
215 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
215 | ERROR | [x] Inline PHP statement must end with a semicolon
215 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found '$this'.
216 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
217 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
218 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
218 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found '$this'.
219 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
222 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
223 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
224 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
226 | ERROR | [x] Tabs must be used to indent lines; spaces are
| | not allowed
----------------------------------------------------------------------
PHPCBF CAN FIX THE 156 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...zenstaller/workspace/course-maker-pro/lib/output-memberpress.php
----------------------------------------------------------------------
FOUND 8 ERRORS AND 2 WARNINGS AFFECTING 10 LINES
----------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n"
| | but found "\r\n"
3 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
4 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
5 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
6 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
8 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
10 | ERROR | [ ] Missing doc comment for function
| | course_maker_custom_memberpress_css()
14 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 7 spaces but found 1 space
16 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 8 spaces but found 1 space
20 | ERROR | [x] Opening parenthesis of a multi-line function call
| | must be the last content on the line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...zenstaller/workspace/course-maker-pro/lib/output-woocommerce.php
----------------------------------------------------------------------
FOUND 13 ERRORS AND 2 WARNINGS AFFECTING 14 LINES
----------------------------------------------------------------------
3 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
4 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
5 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
6 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
8 | ERROR | [x] No space found before comment text; expected "//
| | * Remove h1.page-title on WooCommerce product
| | archives" but found "//* Remove h1.page-title on
| | WooCommerce product archives"
9 | ERROR | [x] Opening parenthesis of a multi-line function call
| | must be the last content on the line
9 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
11 | ERROR | [x] Closing parenthesis of a multi-line function call
| | must be on a line by itself
13 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
15 | ERROR | [ ] Missing doc comment for function
| | course_maker_custom_woocommerce_css()
19 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 7 spaces but found 1 space
21 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 8 spaces but found 1 space
25 | ERROR | [x] Opening parenthesis of a multi-line function call
| | must be the last content on the line
65 | ERROR | [x] Space found before comma in function call
66 | ERROR | [ ] Missing doc comment for function
| | remove_order_notes()
----------------------------------------------------------------------
PHPCBF CAN FIX THE 12 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...chratzenstaller/workspace/course-maker-pro/lib/output-colors.php
----------------------------------------------------------------------
FOUND 21 ERRORS AND 5 WARNINGS AFFECTING 25 LINES
----------------------------------------------------------------------
1 | ERROR | [ ] Missing file doc comment
3 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
4 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
5 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
6 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
7 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
8 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
9 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
9 | ERROR | [ ] There must be no blank lines after the function
| | comment
17 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 7 spaces but found 1 space
19 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 8 spaces but found 1 space
20 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 6 spaces but found 1 space
21 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 5 spaces but found 1 space
22 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 5 spaces but found 1 space
50 | ERROR | [x] Block comment text must start on a new line
52 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
88 | ERROR | [x] Block comment text must start on a new line
90 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
140 | ERROR | [x] Block comment text must start on a new line
142 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
240 | ERROR | [x] Block comment text must start on a new line
242 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
269 | ERROR | [x] Block comment text must start on a new line
271 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
289 | ERROR | [x] Block comment text must start on a new line
291 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 24 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...arcos.schratzenstaller/workspace/course-maker-pro/searchform.php
----------------------------------------------------------------------
FOUND 15 ERRORS AFFECTING 13 LINES
----------------------------------------------------------------------
3 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
4 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
5 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
6 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
7 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
8 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
9 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
10 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
11 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
18 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found '$unique_id'.
19 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found '_x'.
21 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found '$unique_id'.
23 | ERROR | [x] Expected 1 space after opening PHP tag; 2 found
23 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found
| | 'course_maker_get_svg'.
23 | ERROR | [ ] All output should be run through an escaping
| | function (see the Security sections in the
| | WordPress Developer Handbooks), found '_x'.
----------------------------------------------------------------------
PHPCBF CAN FIX THE 10 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------