phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml web/modules/contrib/eudonet/
FILE: /var/www/html/contribution/web/modules/contrib/eudonet/src/EudonetSearchQueryResultItemWrapper.php
--------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 3 LINES
--------------------------------------------------------------------------------------------------------
16 | ERROR | Missing member variable doc comment
73 | ERROR | Type hint "array" missing for $tree
73 | ERROR | Type hint "array" missing for $path
99 | ERROR | Type hint "array" missing for $tree
99 | ERROR | Type hint "array" missing for $path
--------------------------------------------------------------------------------------------------------
FILE: /var/www/html/contribution/web/modules/contrib/eudonet/src/Plugin/EudonetQueryInterface.php
-------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------
47 | ERROR | [x] Return type must not contain variable name "$response"
-------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------
FILE: /var/www/html/contribution/web/modules/contrib/eudonet/src/Plugin/EudonetQuery/MetaInfosQuery.php
-----------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------
23 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-----------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/contribution/web/modules/contrib/eudonet/src/Plugin/EudonetQuery/AuthenticationQuery.php
-----------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------
20 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-----------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/contribution/web/modules/contrib/eudonet/src/Plugin/EudonetQuery/CUDQuery.php
-----------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AND 2 WARNINGS AFFECTING 5 LINES
-----------------------------------------------------------------------------------------------------------------
22 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
25 | ERROR | Missing member variable doc comment
27 | ERROR | Missing member variable doc comment
32 | WARNING | Possible useless method overriding detected
91 | ERROR | Type hint "array" missing for $fields
-----------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/contribution/web/modules/contrib/eudonet/src/Plugin/EudonetQuery/SearchQuery.php
---------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
---------------------------------------------------------------------------------------------------------------------
13 | ERROR | [x] Non-namespaced classes/interfaces/traits should not be referenced with use statements
28 | WARNING | [ ] The class short comment should describe what the class does and not simply repeat the class name
36 | ERROR | [ ] Missing member variable doc comment
---------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/contribution/web/modules/contrib/eudonet/src/Plugin/EudonetQuery/AttachmentsQuery.php
-----------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------
19 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-----------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/contribution/web/modules/contrib/eudonet/src/Plugin/EudonetQuery/CatalogQuery.php
---------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
---------------------------------------------------------------------------------------------------------------------
9 | ERROR | [x] Non-namespaced classes/interfaces/traits should not be referenced with use statements
24 | WARNING | [ ] The class short comment should describe what the class does and not simply repeat the class name
27 | ERROR | [ ] Missing member variable doc comment
---------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/contribution/web/modules/contrib/eudonet/src/Plugin/EudonetQueryResult/AttachmentsQueryResult.php
---------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------------
16 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
---------------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/contribution/web/modules/contrib/eudonet/src/Plugin/EudonetQueryResult/MetaInfosQueryResult.php
---------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
---------------------------------------------------------------------------------------------------------------------
5 | ERROR | [x] Non-namespaced classes/interfaces/traits should not be referenced with use statements
8 | ERROR | [x] Non-namespaced classes/interfaces/traits should not be referenced with use statements
19 | WARNING | [ ] The class short comment should describe what the class does and not simply repeat the class name
---------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/contribution/web/modules/contrib/eudonet/src/Plugin/EudonetQueryResult/DefaultQueryResult.php
-----------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------
16 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-----------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/contribution/web/modules/contrib/eudonet/src/Plugin/EudonetQueryResult/AuthenticationQueryResult.php
------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------
17 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
------------------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/contribution/web/modules/contrib/eudonet/src/Plugin/EudonetQueryResult/CatalogQueryResult.php
---------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
---------------------------------------------------------------------------------------------------------------------
5 | ERROR | [x] Non-namespaced classes/interfaces/traits should not be referenced with use statements
8 | ERROR | [x] Non-namespaced classes/interfaces/traits should not be referenced with use statements
19 | WARNING | [ ] The class short comment should describe what the class does and not simply repeat the class name
---------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/contribution/web/modules/contrib/eudonet/src/Plugin/EudonetQueryResult/SearchQueryResult.php
---------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AND 1 WARNING AFFECTING 4 LINES
---------------------------------------------------------------------------------------------------------------------
5 | ERROR | [x] Non-namespaced classes/interfaces/traits should not be referenced with use statements
10 | ERROR | [x] Non-namespaced classes/interfaces/traits should not be referenced with use statements
21 | WARNING | [ ] The class short comment should describe what the class does and not simply repeat the class name
36 | ERROR | [x] Data types in @var tags need to be fully namespaced
36 | ERROR | [x] Data types in @var tags need to be fully namespaced
---------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/contribution/web/modules/contrib/eudonet/src/EudonetQueryCondition.php
-----------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------
12 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-----------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/contribution/web/modules/contrib/eudonet/src/Traits/EudonetQueryOrderByTrait.php
-----------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
-----------------------------------------------------------------------------------------------------------------
9 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
12 | ERROR | Missing member variable doc comment
-----------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/contribution/web/modules/contrib/eudonet/src/Traits/EudonetQueryConditionTrait.php
---------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AND 1 WARNING AFFECTING 4 LINES
---------------------------------------------------------------------------------------------------------------------
11 | WARNING | [ ] The class short comment should describe what the class does and not simply repeat the class name
54 | ERROR | [x] Data types in @return tags need to be fully namespaced
66 | ERROR | [x] Data types in @return tags need to be fully namespaced
80 | ERROR | [x] Data types in @return tags need to be fully namespaced
---------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/contribution/web/modules/contrib/eudonet/src/Traits/EudonetQueryFieldTrait.php
-----------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
-----------------------------------------------------------------------------------------------------------------
9 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
12 | ERROR | Missing member variable doc comment
37 | ERROR | Type hint "array" missing for $field_names
-----------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/contribution/web/modules/contrib/eudonet/src/Traits/EudonetMappingTrait.php
----------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------
9 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
----------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/contribution/web/modules/contrib/eudonet/src/Traits/EudonetQueryPagerTrait.php
-----------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
-----------------------------------------------------------------------------------------------------------------
9 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
12 | ERROR | Missing member variable doc comment
-----------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/contribution/web/modules/contrib/eudonet/src/EudonetMappingPluginManagerInterface.php
---------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 2 WARNINGS AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------
12 | WARNING | [x] There must be no blank line following an inline comment
12 | WARNING | [ ] There must be no blank line following an inline comment
12 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
---------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------
FILE: /var/www/html/contribution/web/modules/contrib/eudonet/src/Eudonet.php
-----------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------
17 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-----------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/contribution/web/modules/contrib/eudonet/src/Form/EudonetConfigForm.php
-----------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------
16 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-----------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/contribution/web/modules/contrib/eudonet/README.md
------------------------------------------------------------------------------
FOUND 6 ERRORS AND 3 WARNINGS AFFECTING 6 LINES
------------------------------------------------------------------------------
1 | ERROR | [x] Missing file doc comment
9 | WARNING | [ ] Line exceeds 80 characters; contains 97 characters
21 | WARNING | [ ] Line exceeds 80 characters; contains 87 characters
22 | WARNING | [ ] Line exceeds 80 characters; contains 93 characters
41 | ERROR | [x] The open comment tag must be the only content on the line
41 | ERROR | [ ] Missing short description in doc comment
51 | ERROR | [x] Expected 1 space after "<"; 0 found
51 | ERROR | [x] Expected 1 space before "?"; 0 found
51 | ERROR | [x] Expected 1 space after "?"; 0 found
------------------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------
FILE: /var/www/html/contribution/web/modules/contrib/eudonet/config/schema/eudonet.eudonetconfig.schema.yml
-----------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------
33 | ERROR | [x] Expected 1 newline at end of file; 0 found
-----------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------
FILE: /var/www/html/contribution/web/modules/contrib/eudonet/eudonet.links.menu.yml
-----------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------------
6 | ERROR | [x] Expected 1 newline at end of file; 2 found
-----------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------
FILE: /var/www/html/contribution/web/modules/contrib/eudonet/eudonet.routing.yml
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
8 | WARNING | [ ] The administration page callback should probably use "administer site configuration" - which implies the user can change something - rather than "access
| | administration pages" which is about viewing but not changing configurations.
10 | ERROR | [x] Expected 1 newline at end of file; 2 found
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------