Skip to content
Codacy Production / Codacy Static Code Analysis required action Oct 25, 2024 in 0s

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

Annotations

Check notice on line 7 in changelog.md

See this annotation in the file changed.

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

changelog.md#L7

(PR #332)[https://github.com/lightspeedwp/tour-operator/pull/332]

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 71 in includes/classes/admin/class-setup.php

See this annotation in the file changed.

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

includes/classes/admin/class-setup.php#L71

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

Check notice on line 24 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#L24

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

Check notice on line 61 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#L61

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

Check notice on line 61 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#L61

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

Check warning on line 377 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#L377

Avoid unused parameters such as '$source_args'.

Check warning on line 542 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#L542

Avoid unused parameters such as '$source_args'.

Check notice on line 26 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#L26

Short array syntax must be used to define arrays

Check notice on line 36 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#L36

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

Check notice on line 47 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#L47

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

Check notice on line 10 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#L10

Opening brace of a class must be on the line after the definition

Check notice on line 46 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#L46

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

Check notice on line 47 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#L47

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

Check notice on line 27 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#L27

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

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 40 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#L40

Multi-line function call not indented correctly; expected 7 spaces but found 4

Check notice on line 221 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#L221

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

Check notice on line 327 in includes/functions.php

See this annotation in the file changed.

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

includes/functions.php#L327

Avoid excessively long variable names like $itinerary_accommodation. Keep variable name length under 20.

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

See this annotation in the file changed.

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

includes/metaboxes/config-accommodation.php#L42

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

Check notice on line 35 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#L35

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

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

See this annotation in the file changed.

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

includes/partials/navigation.php#L8

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

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

See this annotation in the file changed.

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

includes/partials/navigation.php#L11

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

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

See this annotation in the file changed.

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

includes/partials/navigation.php#L14

First condition of a multi-line IF statement must directly follow the opening parenthesis

Check notice on line 7 in includes/patterns/itinerary-card.php

See this annotation in the file changed.

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

includes/patterns/itinerary-card.php#L7

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