-
andy_w β
committed 68a89488 on 2.0.x
Issue #2997457 by AstonVictor: Coding standard
-
andy_w β
committed 68a89488 on 2.0.x
FILE: ...ar/www/drupal8/modules/contrib/personas/src/Form/PersonaForm.php
----------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------
67 | ERROR | [x] Each index in a multi-line array must be on a new
| | line
76 | ERROR | [x] Each index in a multi-line array must be on a new
| | line
82 | ERROR | [x] Missing function doc comment
----------------------------------------------------------------------
FILE: ...var/www/drupal8/modules/contrib/personas/src/Batch/Processor.php
----------------------------------------------------------------------
FOUND 10 ERRORS AND 2 WARNINGS AFFECTING 12 LINES
----------------------------------------------------------------------
6 | WARNING | [x] Unused use statement
7 | WARNING | [x] Unused use statement
12 | ERROR | [x] Missing class doc comment
29 | ERROR | [x] Expected "\Drupal\personas\PersonaInterface" but
| | found "\Drupal\personas\PersonaInterface;" for
| | @var tag in member variable comment
36 | ERROR | [x] Expected "int" but found "integer" for @var tag
| | in member variable comment
40 | ERROR | [x] Missing function doc comment
45 | ERROR | [x] Missing function doc comment
49 | ERROR | [x] Missing function doc comment
55 | ERROR | [x] Expected newline after closing brace
63 | ERROR | [x] Missing function doc comment
72 | ERROR | [x] Missing function doc comment
87 | ERROR | [x] Missing function doc comment
----------------------------------------------------------------------
FILE: /var/www/drupal8/modules/contrib/personas/src/PersonaUtility.php
----------------------------------------------------------------------
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
----------------------------------------------------------------------
6 | WARNING | [x] Unused use statement
8 | ERROR | [x] Missing class doc comment
46 | ERROR | [ ] Type hint "array" missing for $personas
----------------------------------------------------------------------
FILE: ...drupal8/modules/contrib/personas/src/PersonaUtilityInterface.php
----------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------
7 | ERROR | [x] Missing interface doc comment
37 | ERROR | [ ] Parameter tags must be grouped together in a doc
| | comment
40 | ERROR | [x] Expected "bool" but found "boolean" for function
| | return type
----------------------------------------------------------------------
FILE: /var/www/drupal8/modules/contrib/personas/personas.install
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | [x] Missing file doc comment
6 | ERROR | [x] Missing function doc comment, only found file
| | comment
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Issue #2997457 by AstonVictor: Coding standard