Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.0 Beta 1 #442

Merged
merged 195 commits into from
Nov 8, 2024

Merge pull request #441 from lightspeedwp/368-read-more-fixes

8298dc4
Select commit
Loading
Failed to load commit list.
Merged

2.0 Beta 1 #442

Merge pull request #441 from lightspeedwp/368-read-more-fixes
8298dc4
Select commit
Loading
Failed to load commit list.
codefactor.io / CodeFactor succeeded Nov 8, 2024 in 32s

1693 issues fixed. 765 issues found. Autofix available.

Annotations

Check warning on line 693 in includes/classes/blocks/class-bindings.php

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

includes/classes/blocks/class-bindings.php#L693

Expected exactly one space before closing parenthesis; "  " found. (WordPress.WhiteSpace.ControlStructureSpacing-[fixable])

Check warning on line 170 in includes/classes/blocks/class-bindings.php

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

includes/classes/blocks/class-bindings.php#L170

Expected 0 spaces after opening bracket; 1 found. (Squiz.WhiteSpace.ControlStructureSpacing-[fixable])

Check notice on line 81 in includes/metaboxes/config-accommodation.php

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

includes/metaboxes/config-accommodation.php#L81

Found precision alignment of 1 spaces. (Universal.WhiteSpace.PrecisionAlignment-[fixable])

Check warning on line 682 in includes/classes/blocks/class-bindings.php

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

includes/classes/blocks/class-bindings.php#L682

Doc comment for parameter "$block_obj" missing. (Squiz.Commenting.FunctionComment)

Check notice on line 147 in includes/metaboxes/config-tour.php

See this annotation in the file changed.

@codefactor-io 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 783 in includes/classes/blocks/class-bindings.php

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

includes/classes/blocks/class-bindings.php#L783

Expected 0 spaces after opening bracket; 1 found. (Squiz.WhiteSpace.ControlStructureSpacing-[fixable])

Check notice on line 56 in includes/classes/blocks/class-templates.php

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

includes/classes/blocks/class-templates.php#L56

Array double arrow not aligned correctly; expected 3 space(s) between "'archive-destination'" and double arrow, but found 1. (WordPress.Arrays.MultipleStatementAlignment-[fixable])

Check warning on line 1 in includes/classes/blocks/class-patterns.php

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

includes/classes/blocks/class-patterns.php#L1

Missing file doc comment. (Squiz.Commenting.FileComment)

Check warning on line 120 in includes/classes/blocks/class-templates.php

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

includes/classes/blocks/class-templates.php#L120

Function return type is void, but function contains return statement. (Squiz.Commenting.FunctionComment)

Check notice on line 551 in includes/classes/blocks/class-bindings.php

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

includes/classes/blocks/class-bindings.php#L551

The method parameter $block_obj is never used. (Generic.CodeAnalysis.UnusedFunctionParameter)

Check warning on line 353 in includes/classes/blocks/class-bindings.php

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

includes/classes/blocks/class-bindings.php#L353

Whitespace found at end of line. (Squiz.WhiteSpace.SuperfluousWhitespace-[fixable])

Check warning on line 98 in includes/classes/blocks/class-bindings.php

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

includes/classes/blocks/class-bindings.php#L98

There should be a comma after the last array item in a multi-line array. (NormalizedArrays.Arrays.CommaAfterLast-[fixable])

Check warning on line 125 in includes/metaboxes/config-tour.php

See this annotation in the file changed.

@codefactor-io 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

See this annotation in the file changed.

@codefactor-io 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 198 in includes/metaboxes/config-tour.php

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

includes/metaboxes/config-tour.php#L198

Whitespace found at end of line. (Squiz.WhiteSpace.SuperfluousWhitespace-[fixable])

Check warning on line 44 in includes/classes/blocks/class-templates.php

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

includes/classes/blocks/class-templates.php#L44

Expected 1 space before the array closer in a single line array. Found: no spaces. (NormalizedArrays.Arrays.ArrayBraceSpacing-[fixable])

Check warning on line 103 in includes/metaboxes/config-accommodation.php

See this annotation in the file changed.

@codefactor-io 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

See this annotation in the file changed.

@codefactor-io 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 187 in includes/classes/legacy/class-tour.php

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

includes/classes/legacy/class-tour.php#L187

Expected 0 spaces before closing bracket; 1 found. (Squiz.WhiteSpace.ControlStructureSpacing-[fixable])

Check warning on line 97 in includes/classes/blocks/class-templates.php

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

includes/classes/blocks/class-templates.php#L97

Short array syntax is not allowed. (Universal.Arrays.DisallowShortArraySyntax-[fixable])

Check warning on line 75 in includes/classes/blocks/class-bindings.php

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

includes/classes/blocks/class-bindings.php#L75

Expected 0 spaces after opening bracket; 1 found. (Squiz.WhiteSpace.ControlStructureSpacing-[fixable])

Check notice on line 407 in includes/classes/blocks/class-bindings.php

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

includes/classes/blocks/class-bindings.php#L407

Not using strict comparison for in_array; supply true for $strict argument. (WordPress.PHP.StrictInArray)

Check warning on line 237 in includes/classes/blocks/class-bindings.php

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

includes/classes/blocks/class-bindings.php#L237

Whitespace found at end of line. (Squiz.WhiteSpace.SuperfluousWhitespace-[fixable])

Check notice on line 61 in includes/classes/blocks/class-templates.php

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

includes/classes/blocks/class-templates.php#L61

Array double arrow not aligned correctly; expected 11 space(s) between "'single-tour'" and double arrow, but found 2. (WordPress.Arrays.MultipleStatementAlignment-[fixable])

Check notice on line 137 in includes/classes/admin/class-setup.php

See this annotation in the file changed.

@codefactor-io 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])