I just ran pareview.sh and found following results against 8.x-1.x branch:

FILE: /var/www/drupal-7-pareview/pareview_temp/searchindex_wipe.drush.inc
--------------------------------------------------------------------------
FOUND 3 ERRORS AND 1 WARNING AFFECTING 4 LINES
--------------------------------------------------------------------------
9 | WARNING | [ ] Format should be "* Implements hook_foo().", "*
| | Implements hook_foo_BAR_ID_bar() for xyz_bar().",, "*
| | Implements hook_foo_BAR_ID_bar() for
| | xyz-bar.html.twig.", or "* Implements
| | hook_foo_BAR_ID_bar() for xyz-bar.tpl.php.".
14 | ERROR | [x] Case breaking statements must be followed by a single
| | blank line
34 | ERROR | [x] Missing function doc comment
41 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------

FILE: ...www/drupal-7-pareview/pareview_temp/searchindex_wipe.permissions.yml
--------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------
4 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------

FILE: .../drupal-7-pareview/pareview_temp/src/Form/SearchindexWipeConfirm.php
--------------------------------------------------------------------------
FOUND 10 ERRORS AFFECTING 8 LINES
--------------------------------------------------------------------------
2 | ERROR | [x] Namespaced classes, interfaces and traits should not
| | begin with a file doc comment
12 | ERROR | [x] Missing class doc comment
16 | ERROR | [ ] Method name "SearchindexWipeConfirm::getFormID" is not
| | in lowerCamel format
16 | ERROR | [ ] Visibility must be declared on method "getFormID"
16 | ERROR | [x] Expected 1 blank line before function; 0 found
23 | ERROR | [ ] Visibility must be declared on method "getQuestion"
30 | ERROR | [ ] Visibility must be declared on method "getConfirmText"
44 | ERROR | [ ] Visibility must be declared on method "submitForm"
49 | ERROR | [x] Expected 1 blank line after function; 0 found
50 | ERROR | [x] The closing brace for the class must have an empty line
| | before it
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------

FILE: ...var/www/drupal-7-pareview/pareview_temp/searchindex_wipe.routing.yml
--------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------
7 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------

FILE: /var/www/drupal-7-pareview/pareview_temp/searchindex_wipe.module
--------------------------------------------------------------------------
FOUND 6 ERRORS AND 1 WARNING AFFECTING 6 LINES
--------------------------------------------------------------------------
6 | ERROR | [x] There must be exactly one blank line after the file
| | comment
8 | ERROR | [x] There must be one blank line after the last USE
| | statement; 0 found;
10 | WARNING | [ ] Format should be "* Implements hook_foo().", "*
| | Implements hook_foo_BAR_ID_bar() for xyz_bar().",, "*
| | Implements hook_foo_BAR_ID_bar() for
| | xyz-bar.html.twig.", or "* Implements
| | hook_foo_BAR_ID_bar() for xyz-bar.tpl.php.".
11 | ERROR | [x] There must be exactly one blank line before the tags
| | in a doc comment
11 | ERROR | [ ] The @see reference should not contain any additional
| | text
13 | ERROR | [x] Expected 1 blank line before function; 0 found
43 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------

Comments

Sagar Ramgade created an issue. See original summary.

Sagar Ramgade’s picture

Status: Active » Closed (fixed)