Primer is a powerful theme that brings clarity to your content in a fresh design. This is the parent for all themes in the GoDaddy Primer theme family.
FILE: functions.php
----------------------------------------------------------------------
FOUND 0 ERRORS AND 6 WARNINGS AFFECTING 6 LINES
----------------------------------------------------------------------
190 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 5 space(s) between "'primer-hero'" and
| | double arrow, but found 1.
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
452 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 2 space(s) between "'footer-1'" and
| | double arrow, but found 1.
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
460 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 2 space(s) between "'footer-2'" and
| | double arrow, but found 1.
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
468 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 2 space(s) between "'footer-3'" and
| | double arrow, but found 1.
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
476 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 6 space(s) between "'hero'" and double
| | arrow, but found 1.
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
605 | WARNING | [ ] Using the WPCS native whitelist comments is
| | deprecated. Please use the PHPCS native
| | "phpcs:ignore
| | Standard.Category.SniffName.ErrorCode"
| | annotations instead. Found: // override ok.
| |
| | (WordPress.WP.GlobalVariablesOverride.DeprecatedWhitelistCommentFound)
----------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: inc/hooks.php
----------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
----------------------------------------------------------------------
166 | WARNING | Comment refers to a TODO task "Why not a
| | <button>?" (Generic.Commenting.Todo.TaskFound)
352 | WARNING | The method parameter $number is never used
| | (Generic.CodeAnalysis.UnusedFunctionParameter.Found)
----------------------------------------------------------------------
FILE: inc/compat/gutenberg.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
57 | ERROR | [x] Short array syntax is not allowed
| | (Generic.Arrays.DisallowShortArraySyntax.Found)
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: inc/compat/woocommerce.php
----------------------------------------------------------------------
FOUND 16 ERRORS AND 10 WARNINGS AFFECTING 26 LINES
----------------------------------------------------------------------
61 | ERROR | [x] Expected 1 space after comma in argument list; 2
| | found
| | (Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma)
194 | WARNING | [x] Equals sign not aligned correctly; expected 1
| | space but found 2 spaces
| | (Generic.Formatting.MultipleStatementAlignment.IncorrectWarning)
259 | ERROR | [x] Expected 1 space after comma in argument list;
| | 20 found
| | (Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma)
321 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 6 space(s) between "'css'" and double
| | arrow, but found 1.
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
332 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 9 space(s) between "'link_color'" and
| | double arrow, but found 1.
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
339 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 7 space(s) between "'button_color'" and
| | double arrow, but found 1.
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
340 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 6 space(s) between "'css'" and double
| | arrow, but found 1.
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
353 | ERROR | [x] Array item not aligned correctly; expected 4
| | spaces but found 20
| | (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
354 | ERROR | [x] Array item not aligned correctly; expected 4
| | spaces but found 20
| | (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
355 | ERROR | [x] Array closer not aligned correctly; expected 0
| | space(s) but found 16
| | (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
366 | ERROR | [x] Array item not aligned correctly; expected 4
| | spaces but found 20
| | (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
367 | ERROR | [x] Array item not aligned correctly; expected 4
| | spaces but found 20
| | (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
368 | ERROR | [x] Array closer not aligned correctly; expected 0
| | space(s) but found 16
| | (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
371 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 2 space(s) between
| | "'button_text_color'" and double arrow, but
| | found 1.
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
379 | ERROR | [x] Array item not aligned correctly; expected 4
| | spaces but found 20
| | (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
380 | ERROR | [x] Array closer not aligned correctly; expected 0
| | space(s) but found 16
| | (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
383 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 3 space(s) between "'background_color'"
| | and double arrow, but found 1.
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
417 | ERROR | [x] Array item not aligned correctly; expected 4
| | spaces but found 20
| | (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
418 | ERROR | [x] Array closer not aligned correctly; expected 0
| | space(s) but found 16
| | (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
519 | WARNING | [ ] The method parameter $args is never used
| | (Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed)
575 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
| | (PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket)
579 | ERROR | [x] Closing parenthesis of a multi-line function
| | call must be on a line by itself
| | (PEAR.Functions.FunctionCallSignature.CloseBracketLine)
676 | ERROR | [x] Blank line found after control structure
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd)
678 | WARNING | [ ] This comment is 50% valid code; is this
| | commented out code?
| | (Squiz.PHP.CommentedOutCode.Found)
716 | ERROR | [x] Blank line found after control structure
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd)
718 | WARNING | [ ] This comment is 50% valid code; is this
| | commented out code?
| | (Squiz.PHP.CommentedOutCode.Found)
----------------------------------------------------------------------
PHPCBF CAN FIX THE 23 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: inc/compat/wordpress.php
----------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
----------------------------------------------------------------------
29 | WARNING | [ ] Processing form data without nonce
| | verification.
| | (WordPress.Security.NonceVerification.Recommended)
53 | ERROR | [x] Opening parenthesis of a multi-line function call
| | must be the last content on the line
| | (PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket)
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: inc/compat/child-themes.php
----------------------------------------------------------------------
FOUND 1 ERROR AND 8 WARNINGS AFFECTING 9 LINES
----------------------------------------------------------------------
72 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 3 space(s) between "'activation'" and
| | double arrow, but found 1.
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
81 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 4 space(s) between "'ascension'" and
| | double arrow, but found 1.
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
90 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 5 space(s) between "'escapade'" and
| | double arrow, but found 1.
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
99 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 6 space(s) between "'lyrical'" and
| | double arrow, but found 1.
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
108 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 9 space(s) between "'mins'" and double
| | arrow, but found 1.
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
117 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 4 space(s) between "'scribbles'" and
| | double arrow, but found 1.
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
126 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 8 space(s) between "'stout'" and double
| | arrow, but found 1.
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
144 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 8 space(s) between "'velux'" and double
| | arrow, but found 1.
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
178 | ERROR | [x] Blank line found after control structure
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd)
----------------------------------------------------------------------
PHPCBF CAN FIX THE 9 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: inc/compat/beaver-builder.php
----------------------------------------------------------------------
FOUND 10 ERRORS AND 4 WARNINGS AFFECTING 14 LINES
----------------------------------------------------------------------
24 | WARNING | [ ] The method parameter $meta_value is never
| | used
| | (Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed)
61 | ERROR | [x] Array item not aligned correctly; expected 4
| | spaces but found 20
| | (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
62 | ERROR | [x] Array closer not aligned correctly; expected 0
| | space(s) but found 16
| | (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
65 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 7 space(s) between "'button_color'" and
| | double arrow, but found 1.
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
66 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 6 space(s) between "'css'" and double
| | arrow, but found 1.
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
71 | ERROR | [x] Array item not aligned correctly; expected 4
| | spaces but found 20
| | (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
72 | ERROR | [x] Array item not aligned correctly; expected 4
| | spaces but found 20
| | (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
73 | ERROR | [x] Array closer not aligned correctly; expected 0
| | space(s) but found 16
| | (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
88 | ERROR | [x] Array item not aligned correctly; expected 4
| | spaces but found 20
| | (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
89 | ERROR | [x] Array item not aligned correctly; expected 4
| | spaces but found 20
| | (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
90 | ERROR | [x] Array closer not aligned correctly; expected 0
| | space(s) but found 16
| | (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
93 | WARNING | [x] Array double arrow not aligned correctly;
| | expected 2 space(s) between
| | "'button_text_color'" and double arrow, but
| | found 1.
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
107 | ERROR | [x] Array item not aligned correctly; expected 4
| | spaces but found 20
| | (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
108 | ERROR | [x] Array closer not aligned correctly; expected 0
| | space(s) but found 16
| | (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
----------------------------------------------------------------------
PHPCBF CAN FIX THE 13 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: inc/compat/deprecated.php
----------------------------------------------------------------------
FOUND 3 ERRORS AND 2 WARNINGS AFFECTING 5 LINES
----------------------------------------------------------------------
76 | ERROR | Hook names invoked by a theme/plugin should start
| | with the theme/plugin prefix. Found:
| | "deprecated_function_trigger_error".
| | (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound)
117 | ERROR | Hook names invoked by a theme/plugin should start
| | with the theme/plugin prefix. Found:
| | "deprecated_hook_trigger_error".
| | (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound)
123 | WARNING | Hook names invoked by a theme/plugin should start
| | with the theme/plugin prefix. Found: "$tag".
| | (WordPress.NamingConventions.PrefixAllGlobals.DynamicHooknameFound)
158 | ERROR | Hook names invoked by a theme/plugin should start
| | with the theme/plugin prefix. Found:
| | "deprecated_hook_trigger_error".
| | (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound)
164 | WARNING | Hook names invoked by a theme/plugin should start
| | with the theme/plugin prefix. Found: "$tag".
| | (WordPress.NamingConventions.PrefixAllGlobals.DynamicHooknameFound)
----------------------------------------------------------------------
FILE: inc/hero-text-widget.php
----------------------------------------------------------------------
FOUND 7 ERRORS AND 6 WARNINGS AFFECTING 11 LINES
----------------------------------------------------------------------
1 | ERROR | [ ] Missing file doc comment
| | (Squiz.Commenting.FileComment.Missing)
70 | ERROR | [ ] Hook names invoked by a theme/plugin should
| | start with the theme/plugin prefix. Found:
| | "widget_text".
| | (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound)
82 | WARNING | [ ] Using the WPCS native whitelist comments is
| | deprecated. Please use the PHPCS native
| | "phpcs:ignore
| | Standard.Category.SniffName.ErrorCode"
| | annotations instead. Found: // xss ok.
| |
| | (WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound)
89 | WARNING | [ ] Using the WPCS native whitelist comments is
| | deprecated. Please use the PHPCS native
| | "phpcs:ignore
| | Standard.Category.SniffName.ErrorCode"
| | annotations instead. Found: // xss ok.
| | (WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound)
108 | WARNING | [ ] Using the WPCS native whitelist comments is
| | deprecated. Please use the PHPCS native
| | "phpcs:ignore
| | Standard.Category.SniffName.ErrorCode"
| | annotations instead. Found: // xss ok.
| |
| | (WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound)
121 | ERROR | [x] Expected 1 space after comma in argument list;
| | 14 found
| | (Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma)
124 | ERROR | [x] Expected 1 space before "?"; 7 found
| | (WordPress.WhiteSpace.OperatorSpacing.SpacingBefore)
124 | ERROR | [x] Expected 1 space before ":"; 7 found
| | (WordPress.WhiteSpace.OperatorSpacing.SpacingBefore)
125 | ERROR | [x] Expected 1 space before "?"; 8 found
| | (WordPress.WhiteSpace.OperatorSpacing.SpacingBefore)
125 | ERROR | [x] Expected 1 space before ":"; 8 found
| | (WordPress.WhiteSpace.OperatorSpacing.SpacingBefore)
182 | WARNING | [ ] The method parameter $old_instance is never
| | used
| | (Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassAfterLastUsed)
186 | WARNING | [ ] strip_tags() is discouraged. Use the more
| | comprehensive wp_strip_all_tags() instead.
| | (WordPress.WP.AlternativeFunctions.strip_tags_strip_tags)
191 | WARNING | [ ] strip_tags() is discouraged. Use the more
| | comprehensive wp_strip_all_tags() instead.
| | (WordPress.WP.AlternativeFunctions.strip_tags_strip_tags)
----------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: inc/customizer/static-front-page.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | [ ] Missing file doc comment
| | (Squiz.Commenting.FileComment.Missing)
71 | ERROR | [x] Parenthesis should always be used when
| | instantiating a new object.
| | (WordPress.Classes.ClassInstantiation.MissingParenthesis)
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: inc/customizer/colors.php
----------------------------------------------------------------------
FOUND 1 ERROR AND 4 WARNINGS AFFECTING 5 LINES
----------------------------------------------------------------------
1 | ERROR | Missing file doc comment
| | (Squiz.Commenting.FileComment.Missing)
927 | WARNING | This comment is 50% valid code; is this commented
| | out code? (Squiz.PHP.CommentedOutCode.Found)
1380 | WARNING | Using the WPCS native whitelist comments is
| | deprecated. Please use the PHPCS native
| | "phpcs:ignore
| | Standard.Category.SniffName.ErrorCode" annotations
| | instead. Found: // xss ok.
| |
| | (WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound)
1405 | WARNING | Using the WPCS native whitelist comments is
| | deprecated. Please use the PHPCS native
| | "phpcs:ignore
| | Standard.Category.SniffName.ErrorCode" annotations
| | instead. Found: // xss ok.
| |
| | (WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound)
1590 | WARNING | Using the WPCS native whitelist comments is
| | deprecated. Please use the PHPCS native
| | "phpcs:ignore
| | Standard.Category.SniffName.ErrorCode" annotations
| | instead. Found: // xss ok.
| |
| | (WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound)
----------------------------------------------------------------------
FILE: inc/customizer/site-identity.php
----------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------
1 | ERROR | [ ] Missing file doc comment
| | (Squiz.Commenting.FileComment.Missing)
92 | ERROR | [ ] date() is affected by runtime timezone changes
| | which can cause date/time to be incorrectly
| | displayed. Use gmdate() instead.
| | (WordPress.DateTime.RestrictedFunctions.date_date)
151 | ERROR | [x] Parenthesis should always be used when
| | instantiating a new object.
| | (WordPress.Classes.ClassInstantiation.MissingParenthesis)
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: inc/customizer/fonts.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | [ ] Missing file doc comment
| | (Squiz.Commenting.FileComment.Missing)
475 | ERROR | [x] Parenthesis should always be used when
| | instantiating a new object.
| | (WordPress.Classes.ClassInstantiation.MissingParenthesis)
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: inc/customizer/layouts.php
----------------------------------------------------------------------
FOUND 12 ERRORS AND 4 WARNINGS AFFECTING 14 LINES
----------------------------------------------------------------------
1 | ERROR | [ ] Missing file doc comment
| | (Squiz.Commenting.FileComment.Missing)
53 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
| | (PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket)
97 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
| | (PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket)
108 | ERROR | [x] Expected 1 space after comma in argument list; 4
| | found
| | (Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma)
112 | ERROR | [x] Expected 1 space after comma in argument list; 5
| | found
| | (Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma)
114 | ERROR | [x] Expected 1 space after comma in argument list; 9
| | found
| | (Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma)
145 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
| | (PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket)
206 | WARNING | [ ] In footer ($in_footer) is not set explicitly
| | wp_enqueue_script; It is recommended to load
| | scripts in the footer. Please set this value to
| | `true` to load it in the footer, or explicitly
| | `false` if it should be loaded in the
| | header.
| | (WordPress.WP.EnqueuedResourceParameters.NotInFooter)
215 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
| | (PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket)
215 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
| | (PEAR.Functions.FunctionCallSignature.MultipleArguments)
215 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
| | (PEAR.Functions.FunctionCallSignature.MultipleArguments)
217 | ERROR | [x] Closing parenthesis of a multi-line function
| | call must be on a line by itself
| | (PEAR.Functions.FunctionCallSignature.CloseBracketLine)
294 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 5 spaces but found 1
| | space
| | (Generic.Formatting.MultipleStatementAlignment.NotSameWarning)
331 | WARNING | [ ] The method parameter $post_id is never used
| | (Generic.CodeAnalysis.UnusedFunctionParameter.FoundBeforeLastUsed)
353 | WARNING | [x] Equals sign not aligned with surrounding
| | assignments; expected 2 spaces but found 1
| | space
| | (Generic.Formatting.MultipleStatementAlignment.NotSameWarning)
596 | ERROR | [x] Parenthesis should always be used when
| | instantiating a new object.
| | (WordPress.Classes.ClassInstantiation.MissingParenthesis)
----------------------------------------------------------------------
PHPCBF CAN FIX THE 13 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: inc/customizer.php
----------------------------------------------------------------------
FOUND 8 ERRORS AND 1 WARNING AFFECTING 9 LINES
----------------------------------------------------------------------
1 | ERROR | [ ] Missing file doc comment
| | (Squiz.Commenting.FileComment.Missing)
62 | ERROR | [x] Expected 1 space after comma in argument list; 6
| | found
| | (Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma)
63 | ERROR | [x] Expected 1 space after comma in argument list; 5
| | found
| | (Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma)
64 | ERROR | [x] Expected 1 space after comma in argument list; 5
| | found
| | (Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma)
86 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
| | (PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket)
234 | ERROR | [x] Expected 1 space before ":"; 6 found
| | (WordPress.WhiteSpace.OperatorSpacing.SpacingBefore)
236 | ERROR | [x] Expected 1 space before ":"; 9 found
| | (WordPress.WhiteSpace.OperatorSpacing.SpacingBefore)
260 | WARNING | [ ] Using the WPCS native whitelist comments is
| | deprecated. Please use the PHPCS native
| | "phpcs:ignore
| | Standard.Category.SniffName.ErrorCode"
| | annotations instead. Found: // xss ok.
| |
| | (WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound)
270 | ERROR | [x] Parenthesis should always be used when
| | instantiating a new object.
| | (WordPress.Classes.ClassInstantiation.MissingParenthesis)
----------------------------------------------------------------------
PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: inc/walker-nav-menu.php
----------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | Missing file doc comment
| | (Squiz.Commenting.FileComment.Missing)
25 | WARNING | The method parameter $args is never used
| | (Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassAfterLastUsed)
----------------------------------------------------------------------
FILE: inc/helpers.php
----------------------------------------------------------------------
FOUND 29 ERRORS AND 3 WARNINGS AFFECTING 19 LINES
----------------------------------------------------------------------
25 | ERROR | [x] There must be no space before the colon in a
| | CASE statement
| | (PSR2.ControlStructures.SwitchDeclaration.SpaceBeforeColonCASE)
25 | ERROR | [x] The CASE body must start on the line following
| | the statement
| | (PSR2.ControlStructures.SwitchDeclaration.BodyOnNextLineCASE)
31 | ERROR | [x] There must be no space before the colon in a
| | CASE statement
| | (PSR2.ControlStructures.SwitchDeclaration.SpaceBeforeColonCASE)
31 | ERROR | [x] The CASE body must start on the line following
| | the statement
| | (PSR2.ControlStructures.SwitchDeclaration.BodyOnNextLineCASE)
37 | ERROR | [x] There must be no space before the colon in a
| | CASE statement
| | (PSR2.ControlStructures.SwitchDeclaration.SpaceBeforeColonCASE)
37 | ERROR | [x] The CASE body must start on the line following
| | the statement
| | (PSR2.ControlStructures.SwitchDeclaration.BodyOnNextLineCASE)
43 | ERROR | [x] There must be no space before the colon in a
| | CASE statement
| | (PSR2.ControlStructures.SwitchDeclaration.SpaceBeforeColonCASE)
43 | ERROR | [x] The CASE body must start on the line following
| | the statement
| | (PSR2.ControlStructures.SwitchDeclaration.BodyOnNextLineCASE)
53 | ERROR | [x] There must be no space before the colon in a
| | CASE statement
| | (PSR2.ControlStructures.SwitchDeclaration.SpaceBeforeColonCASE)
53 | ERROR | [x] The CASE body must start on the line following
| | the statement
| | (PSR2.ControlStructures.SwitchDeclaration.BodyOnNextLineCASE)
59 | ERROR | [x] There must be no space before the colon in a
| | CASE statement
| | (PSR2.ControlStructures.SwitchDeclaration.SpaceBeforeColonCASE)
59 | ERROR | [x] The CASE body must start on the line following
| | the statement
| | (PSR2.ControlStructures.SwitchDeclaration.BodyOnNextLineCASE)
65 | ERROR | [x] There must be no space before the colon in a
| | CASE statement
| | (PSR2.ControlStructures.SwitchDeclaration.SpaceBeforeColonCASE)
65 | ERROR | [x] The CASE body must start on the line following
| | the statement
| | (PSR2.ControlStructures.SwitchDeclaration.BodyOnNextLineCASE)
84 | WARNING | [ ] This comment is 50% valid code; is this
| | commented out code?
| | (Squiz.PHP.CommentedOutCode.Found)
346 | ERROR | [x] Blank line found after control structure
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd)
365 | ERROR | [x] Blank line found after control structure
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd)
551 | ERROR | [x] There must be no space before the colon in a
| | CASE statement
| | (PSR2.ControlStructures.SwitchDeclaration.SpaceBeforeColonCASE)
551 | ERROR | [x] The CASE body must start on the line following
| | the statement
| | (PSR2.ControlStructures.SwitchDeclaration.BodyOnNextLineCASE)
559 | ERROR | [x] There must be no space before the colon in a
| | CASE statement
| | (PSR2.ControlStructures.SwitchDeclaration.SpaceBeforeColonCASE)
559 | ERROR | [x] The CASE body must start on the line following
| | the statement
| | (PSR2.ControlStructures.SwitchDeclaration.BodyOnNextLineCASE)
567 | ERROR | [x] There must be no space before the colon in a
| | DEFAULT statement
| | (PSR2.ControlStructures.SwitchDeclaration.SpaceBeforeColonDEFAULT)
567 | ERROR | [x] The DEFAULT body must start on the line
| | following the statement
| | (PSR2.ControlStructures.SwitchDeclaration.BodyOnNextLineDEFAULT)
573 | ERROR | [x] When a multi-item array uses associative keys,
| | each value should start on a new line.
| | (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound)
591 | WARNING | [ ] The method parameter $array1 is never used
| | (Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed)
591 | WARNING | [ ] The method parameter $array2 is never used
| | (Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed)
630 | ERROR | [x] Blank line found after control structure
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd)
670 | ERROR | [ ] Functions declared in the global namespace by a
| | theme/plugin should start with the theme/plugin
| | prefix. Found: "is_custom_primer_child".
| | (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound)
674 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
| | (PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket)
674 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
| | (PEAR.Functions.FunctionCallSignature.MultipleArguments)
684 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
| | (PEAR.Functions.FunctionCallSignature.MultipleArguments)
684 | ERROR | [x] Closing parenthesis of a multi-line function
| | call must be on a line by itself
| | (PEAR.Functions.FunctionCallSignature.CloseBracketLine)
----------------------------------------------------------------------
PHPCBF CAN FIX THE 28 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: inc/template-tags.php
----------------------------------------------------------------------
FOUND 23 ERRORS AND 11 WARNINGS AFFECTING 25 LINES
----------------------------------------------------------------------
47 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
| | (PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket)
47 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
| | (PEAR.Functions.FunctionCallSignature.MultipleArguments)
50 | ERROR | [x] Closing parenthesis of a multi-line function
| | call must be on a line by itself
| | (PEAR.Functions.FunctionCallSignature.CloseBracketLine)
52 | WARNING | [ ] Using the WPCS native whitelist comments is
| | deprecated. Please use the PHPCS native
| | "phpcs:ignore
| | Standard.Category.SniffName.ErrorCode"
| | annotations instead. Found: // xss ok.
| |
| | (WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound)
75 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
| | (PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket)
75 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
| | (PEAR.Functions.FunctionCallSignature.MultipleArguments)
81 | ERROR | [x] Closing parenthesis of a multi-line function
| | call must be on a line by itself
| | (PEAR.Functions.FunctionCallSignature.CloseBracketLine)
130 | WARNING | [ ] Using the WPCS native whitelist comments is
| | deprecated. Please use the PHPCS native
| | "phpcs:ignore
| | Standard.Category.SniffName.ErrorCode"
| | annotations instead. Found: // xss ok.
| |
| | (WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound)
148 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
| | (PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket)
148 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
| | (PEAR.Functions.FunctionCallSignature.MultipleArguments)
152 | ERROR | [x] Closing parenthesis of a multi-line function
| | call must be on a line by itself
| | (PEAR.Functions.FunctionCallSignature.CloseBracketLine)
188 | WARNING | [ ] Using the WPCS native whitelist comments is
| | deprecated. Please use the PHPCS native
| | "phpcs:ignore
| | Standard.Category.SniffName.ErrorCode"
| | annotations instead. Found: // xss ok.
| |
| | (WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound)
206 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
| | (PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket)
206 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
| | (PEAR.Functions.FunctionCallSignature.MultipleArguments)
210 | ERROR | [x] Closing parenthesis of a multi-line function
| | call must be on a line by itself
| | (PEAR.Functions.FunctionCallSignature.CloseBracketLine)
239 | WARNING | [ ] Using the WPCS native whitelist comments is
| | deprecated. Please use the PHPCS native
| | "phpcs:ignore
| | Standard.Category.SniffName.ErrorCode"
| | annotations instead. Found: // xss ok.
| |
| | (WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound)
277 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
| | (PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket)
277 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
| | (PEAR.Functions.FunctionCallSignature.MultipleArguments)
281 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
| | (PEAR.Functions.FunctionCallSignature.MultipleArguments)
281 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
| | (PEAR.Functions.FunctionCallSignature.MultipleArguments)
281 | ERROR | [x] Closing parenthesis of a multi-line function
| | call must be on a line by itself
| | (PEAR.Functions.FunctionCallSignature.CloseBracketLine)
306 | ERROR | [x] Opening parenthesis of a multi-line function
| | call must be the last content on the line
| | (PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket)
306 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
| | (PEAR.Functions.FunctionCallSignature.MultipleArguments)
309 | ERROR | [x] Closing parenthesis of a multi-line function
| | call must be on a line by itself
| | (PEAR.Functions.FunctionCallSignature.CloseBracketLine)
340 | WARNING | [ ] Using the WPCS native whitelist comments is
| | deprecated. Please use the PHPCS native
| | "phpcs:ignore
| | Standard.Category.SniffName.ErrorCode"
| | annotations instead. Found: // xss ok.
| |
| | (WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound)
381 | WARNING | [ ] Using the WPCS native whitelist comments is
| | deprecated. Please use the PHPCS native
| | "phpcs:ignore
| | Standard.Category.SniffName.ErrorCode"
| | annotations instead. Found: // xss ok.
| |
| | (WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound)
390 | WARNING | [ ] Using the WPCS native whitelist comments is
| | deprecated. Please use the PHPCS native
| | "phpcs:ignore
| | Standard.Category.SniffName.ErrorCode"
| | annotations instead. Found: // xss ok.
| |
| | (WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound)
405 | WARNING | [ ] Using the WPCS native whitelist comments is
| | deprecated. Please use the PHPCS native
| | "phpcs:ignore
| | Standard.Category.SniffName.ErrorCode"
| | annotations instead. Found: // xss ok.
| |
| | (WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound)
409 | ERROR | [x] Blank line found after control structure
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd)
419 | WARNING | [ ] Using the WPCS native whitelist comments is
| | deprecated. Please use the PHPCS native
| | "phpcs:ignore
| | Standard.Category.SniffName.ErrorCode"
| | annotations instead. Found: // xss ok.
| |
| | (WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound)
426 | ERROR | [x] Blank line found after control structure
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd)
440 | WARNING | [ ] This comment is 50% valid code; is this
| | commented out code?
| | (Squiz.PHP.CommentedOutCode.Found)
440 | ERROR | [x] Blank line found after control structure
| | (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd)
446 | WARNING | [ ] This comment is 50% valid code; is this
| | commented out code?
| | (Squiz.PHP.CommentedOutCode.Found)
----------------------------------------------------------------------
PHPCBF CAN FIX THE 23 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: index.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
24 | ERROR | [x] Newline required after opening brace
| | (Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace)
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: archive.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
26 | ERROR | [x] Newline required after opening brace
| | (Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace)
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: comments.php
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
34 | WARNING | Using the WPCS native whitelist comments is
| | deprecated. Please use the PHPCS native "phpcs:ignore
| | Standard.Category.SniffName.ErrorCode" annotations
| | instead. Found: // xss ok.
| |
| | (WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound)
----------------------------------------------------------------------
FILE: search.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
----------------------------------------------------------------------
19 | ERROR | [x] Inline PHP statement must end with a semicolon
| | (Squiz.PHP.EmbeddedPhp.NoSemicolon)
19 | ERROR | [x] Newline required after opening brace
| | (Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace)
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: header.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
55 | ERROR | Global variables defined by a theme/plugin should start
| | with the theme/plugin prefix. Found:
| | "$masthead_classes".
| | (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
59 | ERROR | Global variables defined by a theme/plugin should start
| | with the theme/plugin prefix. Found:
| | "$masthead_classes".
| | (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
----------------------------------------------------------------------
FILE: templates/woocommerce/loop/pagination.php
----------------------------------------------------------------------
FOUND 6 ERRORS AND 2 WARNINGS AFFECTING 6 LINES
----------------------------------------------------------------------
28 | ERROR | [ ] Global variables defined by a theme/plugin should
| | start with the theme/plugin prefix. Found:
| | "$args".
| | (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
28 | ERROR | [x] Opening parenthesis of a multi-line function call
| | must be the last content on the line
| | (PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket)
28 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
| | (PEAR.Functions.FunctionCallSignature.MultipleArguments)
34 | ERROR | [x] Closing parenthesis of a multi-line function call
| | must be on a line by itself
| | (PEAR.Functions.FunctionCallSignature.CloseBracketLine)
38 | ERROR | [ ] Global variables defined by a theme/plugin should
| | start with the theme/plugin prefix. Found:
| | "$post_type_labels".
| | (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
39 | ERROR | [ ] Global variables defined by a theme/plugin should
| | start with the theme/plugin prefix. Found:
| | "$post_type_label".
| | (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
47 | WARNING | [ ] Using the WPCS native whitelist comments is
| | deprecated. Please use the PHPCS native
| | "phpcs:ignore
| | Standard.Category.SniffName.ErrorCode"
| | annotations instead. Found: // xss ok.
| | (WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound)
51 | WARNING | [ ] Using the WPCS native whitelist comments is
| | deprecated. Please use the PHPCS native
| | "phpcs:ignore
| | Standard.Category.SniffName.ErrorCode"
| | annotations instead. Found: // xss ok.
| | (WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound)
----------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: templates/parts/mobile-menu.php
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
5 | WARNING | Comment refers to a TODO task
| | (Generic.Commenting.Todo.CommentFound)
----------------------------------------------------------------------
FILE: templates/parts/footer-widgets.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
9 | ERROR | Global variables defined by a theme/plugin should start
| | with the theme/plugin prefix. Found: "$sidebars".
| | (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
16 | ERROR | Global variables defined by a theme/plugin should start
| | with the theme/plugin prefix. Found: "$sidebar".
| | (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
----------------------------------------------------------------------
FILE: templates/parts/credit.php
----------------------------------------------------------------------
FOUND 9 ERRORS AFFECTING 4 LINES
----------------------------------------------------------------------
22 | ERROR | [ ] Global variables defined by a theme/plugin should
| | start with the theme/plugin prefix. Found:
| | "$copyright_text".
| | (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
22 | ERROR | [x] Opening parenthesis of a multi-line function call
| | must be the last content on the line
| | (PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket)
22 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
| | (PEAR.Functions.FunctionCallSignature.MultipleArguments)
22 | ERROR | [x] Opening parenthesis of a multi-line function call
| | must be the last content on the line
| | (PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket)
22 | ERROR | [x] Only one argument is allowed per line in a
| | multi-line function call
| | (PEAR.Functions.FunctionCallSignature.MultipleArguments)
26 | ERROR | [ ] date() is affected by runtime timezone changes
| | which can cause date/time to be incorrectly
| | displayed. Use gmdate() instead.
| | (WordPress.DateTime.RestrictedFunctions.date_date)
28 | ERROR | [x] Closing parenthesis of a multi-line function call
| | must be on a line by itself
| | (PEAR.Functions.FunctionCallSignature.CloseBracketLine)
28 | ERROR | [x] Closing parenthesis of a multi-line function call
| | must be on a line by itself
| | (PEAR.Functions.FunctionCallSignature.CloseBracketLine)
47 | ERROR | [ ] Global variables defined by a theme/plugin should
| | start with the theme/plugin prefix. Found:
| | "$theme".
| | (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
----------------------------------------------------------------------
PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: templates/parts/loop/post-search-footer.php
----------------------------------------------------------------------
FOUND 2 ERRORS AND 2 WARNINGS AFFECTING 4 LINES
----------------------------------------------------------------------
15 | ERROR | Global variables defined by a theme/plugin should
| | start with the theme/plugin prefix. Found:
| | "$category_list".
| | (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
21 | WARNING | Using the WPCS native whitelist comments is
| | deprecated. Please use the PHPCS native "phpcs:ignore
| | Standard.Category.SniffName.ErrorCode" annotations
| | instead. Found: // xss ok.
| | (WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound)
27 | ERROR | Global variables defined by a theme/plugin should
| | start with the theme/plugin prefix. Found:
| | "$tag_list".
| | (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
33 | WARNING | Using the WPCS native whitelist comments is
| | deprecated. Please use the PHPCS native "phpcs:ignore
| | Standard.Category.SniffName.ErrorCode" annotations
| | instead. Found: // xss ok.
| | (WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound)
----------------------------------------------------------------------
FILE: templates/parts/loop/post-footer.php
----------------------------------------------------------------------
FOUND 2 ERRORS AND 2 WARNINGS AFFECTING 4 LINES
----------------------------------------------------------------------
21 | ERROR | Global variables defined by a theme/plugin should
| | start with the theme/plugin prefix. Found:
| | "$category_list".
| | (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
27 | WARNING | Using the WPCS native whitelist comments is
| | deprecated. Please use the PHPCS native "phpcs:ignore
| | Standard.Category.SniffName.ErrorCode" annotations
| | instead. Found: // xss ok.
| | (WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound)
33 | ERROR | Global variables defined by a theme/plugin should
| | start with the theme/plugin prefix. Found:
| | "$tag_list".
| | (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
39 | WARNING | Using the WPCS native whitelist comments is
| | deprecated. Please use the PHPCS native "phpcs:ignore
| | Standard.Category.SniffName.ErrorCode" annotations
| | instead. Found: // xss ok.
| | (WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound)
----------------------------------------------------------------------
FILE: templates/parts/loop/post-excerpt.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
15 | ERROR | All output should be run through an escaping function
| | (see the Security sections in the WordPress Developer
| | Handbooks), found 'get_the_title'.
| | (WordPress.Security.EscapeOutput.OutputNotEscaped)
----------------------------------------------------------------------
FILE: single.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
17 | ERROR | [x] Newline required after opening brace
| | (Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace)
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: page.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
22 | ERROR | [x] Newline required after opening brace
| | (Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace)
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
Current linting report: