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

Add a test and use a GraphQL request builder #35

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

TREE_PANTHEON_V2 is an enum

5c22edd
Select commit
Loading
Failed to load commit list.
Open

Add a test and use a GraphQL request builder #35

TREE_PANTHEON_V2 is an enum
5c22edd
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Jan 21, 2025 in 0s

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

Annotations

Check notice on line 49 in src/Entity/PccSite.php

See this annotation in the file changed.

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

src/Entity/PccSite.php#L49

Missing member variable doc comment

Check notice on line 52 in src/Entity/PccSite.php

See this annotation in the file changed.

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

src/Entity/PccSite.php#L52

Line indented incorrectly; expected 4 spaces, found 2

Check notice on line 54 in src/Entity/PccSite.php

See this annotation in the file changed.

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

src/Entity/PccSite.php#L54

Avoid variables with short names like $id. Configured minimum length is 3.

Check notice on line 54 in src/Entity/PccSite.php

See this annotation in the file changed.

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

src/Entity/PccSite.php#L54

Line indented incorrectly; expected 4 spaces, found 2

Check notice on line 56 in src/Entity/PccSite.php

See this annotation in the file changed.

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

src/Entity/PccSite.php#L56

Line indented incorrectly; expected 4 spaces, found 2

Check notice on line 56 in src/Entity/PccSite.php

See this annotation in the file changed.

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

src/Entity/PccSite.php#L56

Missing member variable doc comment

Check notice on line 62 in src/Entity/PccSite.php

See this annotation in the file changed.

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

src/Entity/PccSite.php#L62

Line indented incorrectly; expected 4 spaces, found 2

Check notice on line 29 in src/Plugin/views/query/PccSiteViewQuery.php

See this annotation in the file changed.

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

src/Plugin/views/query/PccSiteViewQuery.php#L29

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

Check notice on line 36 in src/Plugin/views/query/PccSiteViewQuery.php

See this annotation in the file changed.

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

src/Plugin/views/query/PccSiteViewQuery.php#L36

Line indented incorrectly; expected 4 spaces, found 2

Check notice on line 45 in src/Plugin/views/query/PccSiteViewQuery.php

See this annotation in the file changed.

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

src/Plugin/views/query/PccSiteViewQuery.php#L45

Line indented incorrectly; expected 4 spaces, found 2

Check notice on line 25 in tests/src/Unit/PccSiteViewQueryTest.php

See this annotation in the file changed.

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

tests/src/Unit/PccSiteViewQueryTest.php#L25

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

Check notice on line 35 in tests/src/Unit/PccSiteViewQueryTest.php

See this annotation in the file changed.

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

tests/src/Unit/PccSiteViewQueryTest.php#L35

Line indented incorrectly; expected 4 spaces, found 2

Check notice on line 35 in tests/src/Unit/PccSiteViewQueryTest.php

See this annotation in the file changed.

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

tests/src/Unit/PccSiteViewQueryTest.php#L35

Missing member variable doc comment

Check notice on line 43 in tests/src/Unit/PccSiteViewQueryTest.php

See this annotation in the file changed.

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

tests/src/Unit/PccSiteViewQueryTest.php#L43

Missing @return tag in function comment

Check notice on line 54 in tests/src/Unit/PccSiteViewQueryTest.php

See this annotation in the file changed.

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

tests/src/Unit/PccSiteViewQueryTest.php#L54

Object operator not indented correctly; expected 8 spaces but found 6

Check notice on line 60 in tests/src/Unit/PccSiteViewQueryTest.php

See this annotation in the file changed.

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

tests/src/Unit/PccSiteViewQueryTest.php#L60

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

Check notice on line 60 in tests/src/Unit/PccSiteViewQueryTest.php

See this annotation in the file changed.

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

tests/src/Unit/PccSiteViewQueryTest.php#L60

Object operator not indented correctly; expected 8 spaces but found 6

Check notice on line 62 in tests/src/Unit/PccSiteViewQueryTest.php

See this annotation in the file changed.

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

tests/src/Unit/PccSiteViewQueryTest.php#L62

Object operator not indented correctly; expected 8 spaces but found 6

Check notice on line 70 in tests/src/Unit/PccSiteViewQueryTest.php

See this annotation in the file changed.

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

tests/src/Unit/PccSiteViewQueryTest.php#L70

Opening brace should be on a new line

Check notice on line 72 in tests/src/Unit/PccSiteViewQueryTest.php

See this annotation in the file changed.

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

tests/src/Unit/PccSiteViewQueryTest.php#L72

Array key not aligned correctly; expected 12 spaces but found 6

Check notice on line 72 in tests/src/Unit/PccSiteViewQueryTest.php

See this annotation in the file changed.

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

tests/src/Unit/PccSiteViewQueryTest.php#L72

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

Check notice on line 73 in tests/src/Unit/PccSiteViewQueryTest.php

See this annotation in the file changed.

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

tests/src/Unit/PccSiteViewQueryTest.php#L73

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

Check notice on line 74 in tests/src/Unit/PccSiteViewQueryTest.php

See this annotation in the file changed.

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

tests/src/Unit/PccSiteViewQueryTest.php#L74

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

Check notice on line 75 in tests/src/Unit/PccSiteViewQueryTest.php

See this annotation in the file changed.

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

tests/src/Unit/PccSiteViewQueryTest.php#L75

Array value not aligned correctly; expected 25 spaces but found 10

Check notice on line 77 in tests/src/Unit/PccSiteViewQueryTest.php

See this annotation in the file changed.

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

tests/src/Unit/PccSiteViewQueryTest.php#L77

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