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

#177: Port search_api_solr_devel solr index clean-up command #178

Open
wants to merge 1 commit into
base: 8.x
Choose a base branch
from

#177: Port search_api_solr_devel solr index clean-up command

0df38c2
Select commit
Loading
Failed to load commit list.
Open

#177: Port search_api_solr_devel solr index clean-up command #178

#177: Port search_api_solr_devel solr index clean-up command
0df38c2
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Dec 16, 2024 in 0s

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

Annotations

Check notice on line 25 in src/Commands/IndexManagement.php

See this annotation in the file changed.

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

src/Commands/IndexManagement.php#L25

Line indented incorrectly; expected 4 spaces, found 2

Check notice on line 25 in src/Commands/IndexManagement.php

See this annotation in the file changed.

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

src/Commands/IndexManagement.php#L25

Missing member variable doc comment

Check notice on line 27 in src/Commands/IndexManagement.php

See this annotation in the file changed.

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

src/Commands/IndexManagement.php#L27

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

Check notice on line 27 in src/Commands/IndexManagement.php

See this annotation in the file changed.

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

src/Commands/IndexManagement.php#L27

Expected 2 blank lines before function; 1 found

Check notice on line 27 in src/Commands/IndexManagement.php

See this annotation in the file changed.

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

src/Commands/IndexManagement.php#L27

Missing doc comment for function __construct()

Check notice on line 27 in src/Commands/IndexManagement.php

See this annotation in the file changed.

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

src/Commands/IndexManagement.php#L27

Opening brace should be on a new line

Check notice on line 30 in src/Commands/IndexManagement.php

See this annotation in the file changed.

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

src/Commands/IndexManagement.php#L30

Expected //end __construct()

Check notice on line 30 in src/Commands/IndexManagement.php

See this annotation in the file changed.

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

src/Commands/IndexManagement.php#L30

Line indented incorrectly; expected 4 spaces, found 2

Check notice on line 32 in src/Commands/IndexManagement.php

See this annotation in the file changed.

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

src/Commands/IndexManagement.php#L32

Doc comment for parameter "$logger" missing

Check notice on line 32 in src/Commands/IndexManagement.php

See this annotation in the file changed.

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

src/Commands/IndexManagement.php#L32

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

Check notice on line 43 in src/Commands/IndexManagement.php

See this annotation in the file changed.

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

src/Commands/IndexManagement.php#L43

Missing parameter comment

Check notice on line 55 in src/Commands/IndexManagement.php

See this annotation in the file changed.

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

src/Commands/IndexManagement.php#L55

Line indented incorrectly; expected 4 spaces, found 2

Check notice on line 57 in src/Commands/IndexManagement.php

See this annotation in the file changed.

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

src/Commands/IndexManagement.php#L57

Line indented incorrectly; expected 8 spaces, found 4

Check notice on line 59 in src/Commands/IndexManagement.php

See this annotation in the file changed.

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

src/Commands/IndexManagement.php#L59

Line indented incorrectly; expected 12 spaces, found 6

Check notice on line 60 in src/Commands/IndexManagement.php

See this annotation in the file changed.

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

src/Commands/IndexManagement.php#L60

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

Check notice on line 61 in src/Commands/IndexManagement.php

See this annotation in the file changed.

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

src/Commands/IndexManagement.php#L61

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

Check notice on line 62 in src/Commands/IndexManagement.php

See this annotation in the file changed.

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

src/Commands/IndexManagement.php#L62

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

Check notice on line 63 in src/Commands/IndexManagement.php

See this annotation in the file changed.

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

src/Commands/IndexManagement.php#L63

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

Check notice on line 66 in src/Commands/IndexManagement.php

See this annotation in the file changed.

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

src/Commands/IndexManagement.php#L66

Implicit true comparisons prohibited; use === TRUE instead

Check notice on line 66 in src/Commands/IndexManagement.php

See this annotation in the file changed.

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

src/Commands/IndexManagement.php#L66

Line indented incorrectly; expected 20 spaces, found 10

Check notice on line 68 in src/Commands/IndexManagement.php

See this annotation in the file changed.

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

src/Commands/IndexManagement.php#L68

Line indented incorrectly; expected at least 28 spaces, found 14

Check notice on line 70 in src/Commands/IndexManagement.php

See this annotation in the file changed.

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

src/Commands/IndexManagement.php#L70

Line indented incorrectly; expected at least 24 spaces, found 12

Check notice on line 73 in src/Commands/IndexManagement.php

See this annotation in the file changed.

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

src/Commands/IndexManagement.php#L73

Expected 1 space after closing brace; newline found

Check notice on line 74 in src/Commands/IndexManagement.php

See this annotation in the file changed.

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

src/Commands/IndexManagement.php#L74

The method deleteAll uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.

Check notice on line 79 in src/Commands/IndexManagement.php

See this annotation in the file changed.

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

src/Commands/IndexManagement.php#L79

Line indented incorrectly; expected at least 12 spaces, found 6