- Issue created by @indrapatil
- Issue was unassigned.
- Status changed to Closed: won't fix
over 1 year ago 9:53am 10 July 2023 - Status changed to Closed: duplicate
over 1 year ago 10:29am 11 July 2023
FILE: /var/www/html/VB/drupal-10.1.0/modules/contrib/content_entity_sync/src/Commands/ContentSyncCommands.php
-------------------------------------------------------------------------------------------------------------
FOUND 26 ERRORS AND 7 WARNINGS AFFECTING 31 LINES
-------------------------------------------------------------------------------------------------------------
5 | WARNING | [x] Unused use statement
12 | ERROR | [x] Missing class doc comment
14 | WARNING | [ ] Possible useless method overriding detected
14 | ERROR | [x] Missing function doc comment
15 | ERROR | [x] Opening brace should be on the same line as the declaration
20 | ERROR | [ ] Parameter $options is not described in comment
25 | ERROR | [x] Separate the @param and @command sections by a blank line.
37 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead
65 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines
67 | ERROR | [x] Data types in @var tags need to be fully namespaced
68 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 0
68 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead
69 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 2
89 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead
114 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 11 empty lines
116 | ERROR | [ ] More than 2 empty lines are not allowed
117 | ERROR | [ ] More than 2 empty lines are not allowed
118 | ERROR | [ ] More than 2 empty lines are not allowed
119 | ERROR | [ ] More than 2 empty lines are not allowed
120 | ERROR | [ ] More than 2 empty lines are not allowed
121 | ERROR | [ ] More than 2 empty lines are not allowed
122 | ERROR | [ ] More than 2 empty lines are not allowed
123 | ERROR | [ ] More than 2 empty lines are not allowed
124 | ERROR | [ ] More than 2 empty lines are not allowed
126 | WARNING | [x] A comma should follow the last multiline array item. Found: )
128 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 3 empty lines
130 | ERROR | [ ] More than 2 empty lines are not allowed
132 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 3 empty lines
134 | ERROR | [ ] More than 2 empty lines are not allowed
138 | ERROR | [ ] Parameter $options is not described in comment
143 | ERROR | [x] Separate the @param and @command sections by a blank line.
168 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead
193 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines
-------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 15 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/VB/drupal-10.1.0/modules/contrib/content_entity_sync/README.md
----------------------------------------------------------------------------------
FOUND 0 ERRORS AND 6 WARNINGS AFFECTING 6 LINES
----------------------------------------------------------------------------------
3 | WARNING | Line exceeds 80 characters; contains 427 characters
6 | WARNING | Line exceeds 80 characters; contains 88 characters
8 | WARNING | Line exceeds 80 characters; contains 258 characters
12 | WARNING | Line exceeds 80 characters; contains 357 characters
17 | WARNING | Line exceeds 80 characters; contains 285 characters
40 | WARNING | Line exceeds 80 characters; contains 322 characters
----------------------------------------------------------------------------------
Time: 227ms; Memory: 10MB
Closed: duplicate
1.0
Code
It involves compliance with, or the content of coding standards. Requires broad community agreement.