Add a test and use a GraphQL request builder #35
76 new issues (0 max.) of at least minor severity.
Annotations
Check notice on line 49 in src/Entity/PccSite.php
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
codacy-production / Codacy Static Code Analysis
tests/src/Unit/PccSiteViewQueryTest.php#L77
Array key not aligned correctly; expected 32 spaces but found 8