- Issue created by @himanshu_jhaloya
- @himanshu_jhaloya opened merge request.
- Status changed to Needs review
about 2 years ago 5:31am 9 February 2023 - Status changed to RTBC
about 2 years ago 6:02am 9 February 2023
FILE: /var/www/html/contribution/web/modules/contrib/dialogs/dialogs.module
-------------------------------------------------------------------------------------
FOUND 2 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------
17 | ERROR | [x] Case breaking statements must be followed by a single blank line
17 | WARNING | [ ] There must be no blank line following an inline comment
17 | ERROR | [x] Comments may not appear after statements
-------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------
FILE: /var/www/html/contribution/web/modules/contrib/dialogs/src/Dialogifyer.php
----------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 5 LINES
----------------------------------------------------------------------------------------------------------------------------------------------------
8 | ERROR | [x] Missing class doc comment
31 | ERROR | [ ] Missing short description in doc comment
36 | ERROR | [ ] Missing short description in doc comment
64 | ERROR | [ ] Type hint "array" missing for $libraries
64 | ERROR | [ ] Type hint "array" missing for $queryParametersToUnset
78 | ERROR | [x] Expected "\Drupal\Core\Render\BubbleableMetadata|null" but found "\Drupal\Core\Render\BubbleableMetadata|NULL" for parameter type
----------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/contribution/web/modules/contrib/dialogs/src/DialogifyerFactory.php
---------------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
---------------------------------------------------------------------------------------
8 | ERROR | [x] Missing class doc comment
34 | ERROR | [ ] Missing parameter comment
35 | ERROR | [ ] Missing parameter comment
45 | ERROR | [x] Expected "array|null" but found "array|NULL" for parameter type
76 | ERROR | [x] list(...) is forbidden, use [...] instead.
---------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------
FILE: /var/www/html/contribution/web/modules/contrib/dialogs/src/DialogsHooks.php
---------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
---------------------------------------------------------------------------------
5 | ERROR | [x] Missing class doc comment
17 | ERROR | [ ] Missing parameter comment
31 | ERROR | [x] Doc comment star missing
---------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------
1.0
Code