Skip to content

Simplified code by removing unecessary registration

Codacy Production / Codacy Static Code Analysis required action Oct 28, 2024 in 0s

512 new issues (0 max.) of at least minor severity.

Annotations

Check notice on line 83 in assets/css/admin.css

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

assets/css/admin.css#L83

Expected double colon pseudo-element notation (selector-pseudo-element-colon-notation)

Check notice on line 6 in changelog.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

changelog.md#L6

Lists should be surrounded by blank lines

Check warning on line 546 in includes/classes/admin/class-settings.php

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

includes/classes/admin/class-settings.php#L546

Avoid unused local variables such as '$tab'.

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

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

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

Opening brace should be on a new line

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

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

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

Array value not aligned correctly; expected 29 spaces but found 3

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

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

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

Array value not aligned correctly; expected 29 spaces but found 3

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

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

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

Line indented incorrectly; expected at least 8 spaces, found 3

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

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

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

Array value not aligned correctly; expected 29 spaces but found 3

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

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

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

Line indented incorrectly; expected at least 8 spaces, found 3

Check notice on line 27 in includes/classes/blocks/class-patterns.php

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

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

Expected 1 blank line before closing function brace; 0 found

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

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

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

Expected 2 blank lines before function; 1 found

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

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

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

Expected 2 blank lines after function; 0 found

Check notice on line 14 in includes/classes/blocks/class-variations.php

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

includes/classes/blocks/class-variations.php#L14

@since tag is not allowed in member variable comment

Check notice on line 29 in includes/classes/blocks/class-variations.php

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

includes/classes/blocks/class-variations.php#L29

Expected 2 blank lines after function; 1 found

Check notice on line 36 in includes/classes/blocks/class-variations.php

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

includes/classes/blocks/class-variations.php#L36

Line indented incorrectly; expected 4 spaces, found 1

Check notice on line 41 in includes/classes/blocks/class-variations.php

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

includes/classes/blocks/class-variations.php#L41

Comments may not appear after statements

Check notice on line 42 in includes/classes/blocks/class-variations.php

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

includes/classes/blocks/class-variations.php#L42

Array with multiple values cannot be declared on a single line

Check notice on line 222 in includes/classes/class-tour-operator.php

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

includes/classes/class-tour-operator.php#L222

Avoid using static access to class '\lsx\admin\Setup' in method 'setup'.

Check notice on line 17 in includes/constants/settings-fields.php

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

includes/constants/settings-fields.php#L17

Array key not aligned correctly; expected 17 spaces but found 4

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

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

includes/metaboxes/config-tour.php#L24

Array key not aligned correctly; expected 24 spaces but found 1

Check notice on line 6 in includes/partials/navigation.php

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

includes/partials/navigation.php#L6

Line indented incorrectly; expected at least 4 spaces, found 1

Check notice on line 9 in includes/partials/navigation.php

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

includes/partials/navigation.php#L9

Line indented incorrectly; expected 4 spaces, found 1

Check notice on line 13 in includes/partials/settings.php

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

includes/partials/settings.php#L13

Concat operator must not be surrounded by spaces

Check notice on line 33 in includes/taxonomies/config-accommodation-type.php

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

includes/taxonomies/config-accommodation-type.php#L33

Array key not aligned correctly; expected 21 spaces but found 2

Check notice on line 36 in includes/taxonomies/config-travel-style.php

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

includes/taxonomies/config-travel-style.php#L36

Array key not aligned correctly; expected 28 spaces but found 3