1560 issues fixed. 682 issues found. Autofix available.
Annotations
Check warning on line 137 in includes/classes/blocks/class-bindings.php
codefactor-io / CodeFactor
includes/classes/blocks/class-bindings.php#L137
Expected 0 spaces after opening bracket; 1 found. (Squiz.WhiteSpace.ControlStructureSpacing-[fixable])
Check notice on line 81 in includes/metaboxes/config-accommodation.php
codefactor-io / CodeFactor
includes/metaboxes/config-accommodation.php#L81
Found precision alignment of 1 spaces. (Universal.WhiteSpace.PrecisionAlignment-[fixable])
Check warning on line 468 in includes/classes/blocks/class-bindings.php
codefactor-io / CodeFactor
includes/classes/blocks/class-bindings.php#L468
Tabs must be used to indent lines; spaces are not allowed. (Generic.WhiteSpace.DisallowSpaceIndent-[fixable])
Check notice on line 147 in includes/metaboxes/config-tour.php
codefactor-io / CodeFactor
includes/metaboxes/config-tour.php#L147
Array double arrow not aligned correctly; expected 11 space(s) between "'id'" and double arrow, but found 3. (WordPress.Arrays.MultipleStatementAlignment-[fixable])
Check warning on line 22 in includes/classes/blocks/class-patterns.php
codefactor-io / CodeFactor
includes/classes/blocks/class-patterns.php#L22
Inline comments must end in full-stops, exclamation marks, or question marks. (Squiz.Commenting.InlineComment)
Check warning on line 1 in includes/classes/blocks/class-patterns.php
codefactor-io / CodeFactor
includes/classes/blocks/class-patterns.php#L1
Missing file doc comment. (Squiz.Commenting.FileComment)
Check warning on line 76 in includes/classes/blocks/class-templates.php
codefactor-io / CodeFactor
includes/classes/blocks/class-templates.php#L76
Function return type is void, but function contains return statement. (Squiz.Commenting.FunctionComment)
Check notice on line 548 in includes/classes/blocks/class-bindings.php
codefactor-io / CodeFactor
includes/classes/blocks/class-bindings.php#L548
The method parameter $block_obj is never used. (Generic.CodeAnalysis.UnusedFunctionParameter)
Check warning on line 288 in includes/classes/blocks/class-bindings.php
codefactor-io / CodeFactor
includes/classes/blocks/class-bindings.php#L288
Whitespace found at end of line. (Squiz.WhiteSpace.SuperfluousWhitespace-[fixable])
Check warning on line 125 in includes/metaboxes/config-tour.php
codefactor-io / CodeFactor
includes/metaboxes/config-tour.php#L125
Array closer not aligned correctly; expected 12 space(s) but found 11. (WordPress.Arrays.ArrayIndentation-[fixable])
Check warning on line 86 in includes/metaboxes/config-accommodation.php
codefactor-io / CodeFactor
includes/metaboxes/config-accommodation.php#L86
Inline comments must end in full-stops, exclamation marks, or question marks. (Squiz.Commenting.InlineComment)
Check warning on line 103 in includes/metaboxes/config-accommodation.php
codefactor-io / CodeFactor
includes/metaboxes/config-accommodation.php#L103
Tabs must be used to indent lines; spaces are not allowed. (Generic.WhiteSpace.DisallowSpaceIndent-[fixable])
Check notice on line 139 in includes/classes/admin/class-setup.php
codefactor-io / CodeFactor
includes/classes/admin/class-setup.php#L139
Array double arrow not aligned correctly; expected 6 space(s) between "'context'" and double arrow, but found 7. (WordPress.Arrays.MultipleStatementAlignment-[fixable])
Check warning on line 372 in includes/classes/blocks/class-bindings.php
codefactor-io / CodeFactor
includes/classes/blocks/class-bindings.php#L372
Expected 2 spaces after parameter type; 1 found. (Squiz.Commenting.FunctionComment-[fixable])
Check warning on line 303 in includes/classes/legacy/class-tour.php
codefactor-io / CodeFactor
includes/classes/legacy/class-tour.php#L303
Expected 0 spaces before closing bracket; 1 found. (Squiz.WhiteSpace.ControlStructureSpacing-[fixable])
Check warning on line 46 in includes/classes/blocks/class-templates.php
codefactor-io / CodeFactor
includes/classes/blocks/class-templates.php#L46
Short array syntax is not allowed. (Universal.Arrays.DisallowShortArraySyntax-[fixable])
Check warning on line 71 in includes/classes/blocks/class-bindings.php
codefactor-io / CodeFactor
includes/classes/blocks/class-bindings.php#L71
Expected 0 spaces after opening bracket; 1 found. (Squiz.WhiteSpace.ControlStructureSpacing-[fixable])
Check notice on line 181 in includes/classes/legacy/class-tour.php
codefactor-io / CodeFactor
includes/classes/legacy/class-tour.php#L181
Array double arrow not aligned correctly; expected 7 space(s) between "'name'" and double arrow, but found 6. (WordPress.Arrays.MultipleStatementAlignment-[fixable])
Check notice on line 403 in includes/classes/blocks/class-bindings.php
codefactor-io / CodeFactor
includes/classes/blocks/class-bindings.php#L403
Not using strict comparison for in_array; supply true for $strict argument. (WordPress.PHP.StrictInArray)
Check warning on line 186 in includes/classes/blocks/class-bindings.php
codefactor-io / CodeFactor
includes/classes/blocks/class-bindings.php#L186
Whitespace found at end of line. (Squiz.WhiteSpace.SuperfluousWhitespace-[fixable])
Check notice on line 137 in includes/classes/admin/class-setup.php
codefactor-io / CodeFactor
includes/classes/admin/class-setup.php#L137
Array double arrow not aligned correctly; expected 8 space(s) between "'title'" and double arrow, but found 9. (WordPress.Arrays.MultipleStatementAlignment-[fixable])
Check notice on line 388 in includes/classes/blocks/class-bindings.php
codefactor-io / CodeFactor
includes/classes/blocks/class-bindings.php#L388
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space. (Generic.Formatting.MultipleStatementAlignment-[fixable])
Check warning on line 223 in includes/classes/blocks/class-bindings.php
codefactor-io / CodeFactor
includes/classes/blocks/class-bindings.php#L223
Expected 0 spaces after opening bracket; 1 found. (Squiz.WhiteSpace.ControlStructureSpacing-[fixable])
Check warning on line 421 in includes/classes/blocks/class-bindings.php
codefactor-io / CodeFactor
includes/classes/blocks/class-bindings.php#L421
Expected 0 spaces after opening bracket; 1 found. (Squiz.WhiteSpace.ControlStructureSpacing-[fixable])
Check warning on line 72 in includes/classes/admin/class-setup.php
codefactor-io / CodeFactor
includes/classes/admin/class-setup.php#L72
Expected 0 spaces before closing bracket; 1 found. (Squiz.WhiteSpace.ControlStructureSpacing-[fixable])