https://git.drupal.org/project/itemsessionlock.git 8.x-1.x

Primary tabs

Review of the 8.x-1.x branch (commit a801082):
  • README.md or README.txt is missing, see the guidelines for in-project documentation.
  • The itemsessionlock_example.module does not implement hook_help(). See https://www.drupal.org/docs/develop/documenting-your-project/module-docu... .
  • The itemsessionlock.module does not implement hook_help(). See https://www.drupal.org/docs/develop/documenting-your-project/module-docu... .
  • Coder Sniffer has found some issues with your code (please check the Drupal coding standards). See attachment.
  • DrupalPractice has found some issues with your code, but could be false positives.
    
    FILE: ...review_temp/itemsessionlock_example/itemsessionlock_example.info.yml
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------
     6 | WARNING | All dependencies must be prefixed with the project name,
       |         | for example "drupal:"
    --------------------------------------------------------------------------
    
    
    FILE: ...wsh/pareview_temp/src/Plugin/ItemSessionLock/ItemSessionLockBase.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------
     157 | WARNING | Unused variable $response.
    --------------------------------------------------------------------------
    
    
    FILE: ...drupal/pareviewsh/pareview_temp/src/Plugin/views/field/BreakLink.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------
     76 | WARNING | Unused variable $value.
    --------------------------------------------------------------------------
    
    Time: 1.31 secs; Memory: 4Mb
    
  • No automated test cases were found, did you consider writing PHPUnit tests? This is not a requirement but encouraged for professional software development.
This automated report was generated with PAReview.sh, your friendly project application review script.

FILE: ...pareview_temp/itemsessionlock_example/itemsessionlock_example.module
--------------------------------------------------------------------------
FOUND 23 ERRORS AFFECTING 21 LINES
--------------------------------------------------------------------------
  6 | ERROR | [ ] Doc comment short description must be on a single line,
    |       |     further text should be a separate paragraph
 12 | ERROR | [x] Namespaced classes/interfaces/traits should be
    |       |     referenced with use statements
 14 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 0
 15 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 0
 16 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 0
 17 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 0
 18 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 0
 19 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 0
 20 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 0
 21 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 0
 22 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 0
 23 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 0
 24 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 0
 25 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 0
 26 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 0
 27 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 0
 29 | ERROR | [x] Namespaced classes/interfaces/traits should be
    |       |     referenced with use statements
 29 | ERROR | [x] Short array syntax must be used to define arrays
 44 | ERROR | [x] Namespaced classes/interfaces/traits should be
    |       |     referenced with use statements
 56 | ERROR | [x] Namespaced classes/interfaces/traits should be
    |       |     referenced with use statements
 56 | ERROR | [x] Short array syntax must be used to define arrays
 70 | ERROR | [x] Namespaced classes/interfaces/traits should be
    |       |     referenced with use statements
 81 | ERROR | [x] Short array syntax must be used to define arrays
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 22 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...temp/itemsessionlock_example/src/Plugin/ItemSessionLock/UserEdit.php
--------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------
  3 | ERROR | [x] Namespaced classes, interfaces and traits should not
    |       |     begin with a file doc comment
 22 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...temp/itemsessionlock_example/src/Plugin/ItemSessionLock/NodeEdit.php
--------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------
  3 | ERROR | [x] Namespaced classes, interfaces and traits should not
    |       |     begin with a file doc comment
 22 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...web/vendor/drupal/pareviewsh/pareview_temp/itemsessionlock.views.inc
--------------------------------------------------------------------------
FOUND 24 ERRORS AFFECTING 22 LINES
--------------------------------------------------------------------------
 15 | ERROR | [x] Short array syntax must be used to define arrays
 17 | ERROR | [x] Line indented incorrectly; expected at least 2 spaces,
    |       |     found 0
 17 | ERROR | [ ] Comment indentation error, expected only 1 spaces
 17 | ERROR | [x] Inline comments must end in full-stops, exclamation
    |       |     marks, colons, question marks, or closing parentheses
 21 | ERROR | [x] Short array syntax must be used to define arrays
 22 | ERROR | [x] Short array syntax must be used to define arrays
 28 | ERROR | [x] Short array syntax must be used to define arrays
 31 | ERROR | [x] Short array syntax must be used to define arrays
 34 | ERROR | [x] Short array syntax must be used to define arrays
 37 | ERROR | [x] Short array syntax must be used to define arrays
 40 | ERROR | [x] Short array syntax must be used to define arrays
 43 | ERROR | [x] Short array syntax must be used to define arrays
 53 | ERROR | [x] Short array syntax must be used to define arrays
 60 | ERROR | [x] Short array syntax must be used to define arrays
 62 | ERROR | [x] Short array syntax must be used to define arrays
 66 | ERROR | [x] Short array syntax must be used to define arrays
 69 | ERROR | [x] Short array syntax must be used to define arrays
 72 | ERROR | [x] Short array syntax must be used to define arrays
 79 | ERROR | [x] Short array syntax must be used to define arrays
 82 | ERROR | [x] Short array syntax must be used to define arrays
 86 | ERROR | [x] Short array syntax must be used to define arrays
 89 | ERROR | [x] Short array syntax must be used to define arrays
 95 | ERROR | [x] Short array syntax must be used to define arrays
 97 | ERROR | [x] Short array syntax must be used to define arrays
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 23 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...r/drupal/pareviewsh/pareview_temp/src/Annotation/ItemSessionLock.php
--------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------
  3 | ERROR | [x] Namespaced classes, interfaces and traits should not
    |       |     begin with a file doc comment
 15 | ERROR | [x] Doc comment long description must end with a full stop
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/src/Lock.php
--------------------------------------------------------------------------
FOUND 20 ERRORS AFFECTING 11 LINES
--------------------------------------------------------------------------
  3 | ERROR | [x] Namespaced classes, interfaces and traits should not
    |       |     begin with a file doc comment
 14 | ERROR | [ ] Doc comment short description must be on a single line,
    |       |     further text should be a separate paragraph
 26 | ERROR | [ ] Missing short description in doc comment
 26 | ERROR | [ ] Parameter $type is not described in comment
 26 | ERROR | [ ] Parameter $iid is not described in comment
 26 | ERROR | [ ] Parameter $data is not described in comment
 28 | ERROR | [ ] Missing parameter comment
 28 | ERROR | [ ] Doc comment for parameter $configuration does not match
    |       |     actual variable name $data
 29 | ERROR | [ ] Missing parameter comment
 29 | ERROR | [x] Expected "mixed" but found "type" for parameter type
 29 | ERROR | [ ] Doc comment for parameter $plugin_id does not match
    |       |     actual variable name $data
 30 | ERROR | [ ] Missing parameter comment
 30 | ERROR | [x] Expected "mixed" but found "type" for parameter type
 30 | ERROR | [ ] Doc comment for parameter $plugin_definition does not
    |       |     match actual variable name $data
 46 | ERROR | [x] Object operator not indented correctly; expected 6
    |       |     spaces but found 8
 46 | ERROR | [x] Short array syntax must be used to define arrays
 47 | ERROR | [x] Short array syntax must be used to define arrays
 50 | ERROR | [x] No space found before comment text; expected "// @todo
    |       |     where is $account->getSecureSessionId() gone ?" but
    |       |     found "//@todo where is $account->getSecureSessionId()
    |       |     gone ?"
 62 | ERROR | [x] Short array syntax must be used to define arrays
 77 | ERROR | [x] Short array syntax must be used to define arrays
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 9 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...rupal/pareviewsh/pareview_temp/src/Routing/ItemSessionLockRoutes.php
--------------------------------------------------------------------------
FOUND 3 ERRORS AND 2 WARNINGS AFFECTING 4 LINES
--------------------------------------------------------------------------
  3 | ERROR   | [x] Namespaced classes, interfaces and traits should not
    |         |     begin with a file doc comment
 10 | WARNING | [x] Unused use statement
 12 | WARNING | [x] Unused use statement
 21 | ERROR   | [x] There must be exactly one blank line before the tags
    |         |     in a doc comment
 21 | ERROR   | [ ] Description for the @return value is missing
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...eviewsh/pareview_temp/src/Permissions/ItemSessionLockPermissions.php
--------------------------------------------------------------------------
FOUND 4 ERRORS AND 1 WARNING AFFECTING 4 LINES
--------------------------------------------------------------------------
  3 | ERROR   | [x] Namespaced classes, interfaces and traits should not
    |         |     begin with a file doc comment
 10 | WARNING | [x] Unused use statement
 19 | ERROR   | [x] There must be exactly one blank line before the tags
    |         |     in a doc comment
 19 | ERROR   | [ ] Description for the @return value must be on the next
    |         |     line
 22 | ERROR   | [x] Short array syntax must be used to define arrays
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...areview_temp/src/Plugin/ItemSessionLock/ItemSessionLockInterface.php
--------------------------------------------------------------------------
FOUND 48 ERRORS AND 1 WARNING AFFECTING 29 LINES
--------------------------------------------------------------------------
   3 | ERROR   | [x] Namespaced classes, interfaces and traits should not
     |         |     begin with a file doc comment
   5 | ERROR   | [x] Doc comment short description must end with a full
     |         |     stop
  25 | ERROR   | [ ] Description for the @return value is missing
  32 | ERROR   | [ ] Description for the @return value is missing
  39 | ERROR   | [ ] Description for the @return value is missing
  45 | ERROR   | [x] There must be exactly one blank line before the tags
     |         |     in a doc comment
  45 | ERROR   | [ ] Description for the @return value must be on the
     |         |     next line
  51 | ERROR   | [x] There must be exactly one blank line before the tags
     |         |     in a doc comment
  51 | ERROR   | [ ] Description for the @return value must be on the
     |         |     next line
  57 | ERROR   | [x] There must be exactly one blank line before the tags
     |         |     in a doc comment
  57 | ERROR   | [ ] Description for the @return value must be on the
     |         |     next line
  62 | ERROR   | [x] Doc comment short description must end with a full
     |         |     stop
  63 | ERROR   | [x] There must be exactly one blank line before the tags
     |         |     in a doc comment
  63 | ERROR   | [ ] Parameter comment must start with a capital letter
  63 | ERROR   | [x] Parameter comment must be on the next line
  64 | ERROR   | [ ] Parameter comment must start with a capital letter
  64 | ERROR   | [x] Parameter comment must be on the next line
  65 | ERROR   | [ ] Parameter comment must start with a capital letter
  65 | ERROR   | [x] Parameter comment must be on the next line
  66 | ERROR   | [ ] Parameter comment must start with a capital letter
  66 | ERROR   | [x] Parameter comment must be on the next line
  68 | ERROR   | [ ] Description for the @return value must be on the
     |         |     next line
  74 | ERROR   | [x] There must be exactly one blank line before the tags
     |         |     in a doc comment
  74 | ERROR   | [ ] Parameter comment must start with a capital letter
  74 | ERROR   | [x] Parameter comment must be on the next line
  75 | ERROR   | [ ] Parameter comment must start with a capital letter
  75 | ERROR   | [x] Parameter comment must be on the next line
  76 | ERROR   | [ ] Missing parameter type
  76 | ERROR   | [x] Parameter comment must be on the next line
  78 | ERROR   | [ ] Return type missing for @return tag in function
     |         |     comment
  79 | WARNING | [ ] Line exceeds 80 characters; contains 100 characters
  79 | ERROR   | [x] Return comment indentation must be 3 spaces, found 1
     |         |     spaces
  85 | ERROR   | [x] There must be exactly one blank line before the tags
     |         |     in a doc comment
  85 | ERROR   | [ ] Parameter comment must start with a capital letter
  85 | ERROR   | [x] Parameter comment must be on the next line
  86 | ERROR   | [ ] Parameter comment must start with a capital letter
  86 | ERROR   | [x] Parameter comment must be on the next line
  87 | ERROR   | [x] Separate the @param and @return sections by a blank
     |         |     line.
  87 | ERROR   | [ ] Return type missing for @return tag in function
     |         |     comment
  88 | ERROR   | [x] Return comment indentation must be 3 spaces, found 1
     |         |     spaces
  94 | ERROR   | [x] There must be exactly one blank line before the tags
     |         |     in a doc comment
  94 | ERROR   | [ ] Parameter comment must start with a capital letter
  94 | ERROR   | [x] Parameter comment must be on the next line
  95 | ERROR   | [ ] Parameter comment must start with a capital letter
  95 | ERROR   | [x] Parameter comment must be on the next line
  97 | ERROR   | [ ] Return type missing for @return tag in function
     |         |     comment
  98 | ERROR   | [x] Return comment indentation must be 3 spaces, found 1
     |         |     spaces
 100 | ERROR   | [x] Expected 1 blank line after function; 0 found
 101 | ERROR   | [x] The closing brace for the interface must have an
     |         |     empty line before it
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 27 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: .../pareview_temp/src/Plugin/ItemSessionLock/ItemSessionLockManager.php
--------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------
  3 | ERROR | [x] Namespaced classes, interfaces and traits should not
    |       |     begin with a file doc comment
 24 | ERROR | [x] Parameter comment must end with a full stop
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...wsh/pareview_temp/src/Plugin/ItemSessionLock/ItemSessionLockBase.php
--------------------------------------------------------------------------
FOUND 80 ERRORS AND 5 WARNINGS AFFECTING 59 LINES
--------------------------------------------------------------------------
   3 | ERROR   | [x] Namespaced classes, interfaces and traits should not
     |         |     begin with a file doc comment
  14 | WARNING | [x] Unused use statement
  20 | ERROR   | [x] Missing class doc comment
  40 | ERROR   | [x] Missing function doc comment
  44 | ERROR   | [x] Missing function doc comment
  48 | ERROR   | [x] Missing function doc comment
  52 | ERROR   | [x] Missing function doc comment
  59 | ERROR   | [x] There must be exactly one blank line before the tags
     |         |     in a doc comment
  59 | ERROR   | [ ] Description for the @return value must be on the
     |         |     next line
  62 | ERROR   | [x] Short array syntax must be used to define arrays
  65 | ERROR   | [ ] String concat is not required here; use a single
     |         |     string instead
  66 | ERROR   | [x] Short array syntax must be used to define arrays
  67 | ERROR   | [x] Array indentation error, expected 10 spaces but
     |         |     found 6
  68 | ERROR   | [x] Short array syntax must be used to define arrays
  69 | ERROR   | [x] Array indentation error, expected 10 spaces but
     |         |     found 6
  72 | ERROR   | [ ] String concat is not required here; use a single
     |         |     string instead
  73 | ERROR   | [x] Short array syntax must be used to define arrays
  74 | ERROR   | [x] Array indentation error, expected 10 spaces but
     |         |     found 6
  75 | ERROR   | [x] Short array syntax must be used to define arrays
  77 | ERROR   | [x] Array indentation error, expected 10 spaces but
     |         |     found 6
  85 | ERROR   | [x] There must be exactly one blank line before the tags
     |         |     in a doc comment
  85 | ERROR   | [ ] Description for the @return value must be on the
     |         |     next line
  88 | ERROR   | [x] Short array syntax must be used to define arrays
  91 | ERROR   | [x] Short array syntax must be used to define arrays
  92 | ERROR   | [x] Short array syntax must be used to define arrays
  93 | ERROR   | [x] Short array syntax must be used to define arrays
 100 | ERROR   | [x] There must be exactly one blank line before the tags
     |         |     in a doc comment
 100 | ERROR   | [ ] Description for the @return value must be on the
     |         |     next line
 111 | ERROR   | [x] Doc comment short description must end with a full
     |         |     stop
 112 | ERROR   | [x] There must be exactly one blank line before the tags
     |         |     in a doc comment
 112 | ERROR   | [ ] Parameter comment must start with a capital letter
 112 | ERROR   | [x] Parameter comment must be on the next line
 113 | ERROR   | [ ] Parameter comment must start with a capital letter
 113 | ERROR   | [x] Parameter comment must be on the next line
 114 | ERROR   | [ ] Parameter comment must start with a capital letter
 114 | ERROR   | [x] Parameter comment must be on the next line
 115 | ERROR   | [ ] Parameter comment must start with a capital letter
 115 | ERROR   | [x] Parameter comment must be on the next line
 117 | ERROR   | [ ] Description for the @return value must be on the
     |         |     next line
 120 | ERROR   | [x] Short array syntax must be used to define arrays
 126 | ERROR   | [x] There must be exactly one blank line before the tags
     |         |     in a doc comment
 126 | ERROR   | [ ] Parameter comment must start with a capital letter
 126 | ERROR   | [x] Parameter comment must be on the next line
 136 | WARNING | [ ] Line exceeds 80 characters; contains 88 characters
 136 | ERROR   | [x] No space found before comment text; expected "// If
     |         |     user if the same using a different session, let him
     |         |     delete the lock directly." but found "//If user if
     |         |     the same using a different session, let him delete
     |         |     the lock directly."
 139 | ERROR   | [x] Short array syntax must be used to define arrays
 140 | ERROR   | [x] Short array syntax must be used to define arrays
 141 | ERROR   | [ ] If the line declaring an array spans longer than 80
     |         |     characters, each element should be broken into its
     |         |     own line
 141 | ERROR   | [x] Short array syntax must be used to define arrays
 146 | ERROR   | [ ] If the line declaring an array spans longer than 80
     |         |     characters, each element should be broken into its
     |         |     own line
 146 | ERROR   | [x] Short array syntax must be used to define arrays
 148 | ERROR   | [x] Short array syntax must be used to define arrays
 149 | ERROR   | [x] Short array syntax must be used to define arrays
 150 | ERROR   | [x] Short array syntax must be used to define arrays
 155 | WARNING | [ ] Code after THROW statement cannot be executed
 157 | WARNING | [ ] Code after THROW statement cannot be executed
 158 | ERROR   | [x] Line indented incorrectly; expected 8 spaces, found
     |         |     0
 158 | ERROR   | [x] 8 spaces found before inline comment; expected "//
     |         |     drupal_exit($redirect);" but found "//       
     |         |     drupal_exit($redirect);"
 159 | ERROR   | [x] Line indented incorrectly; expected 8 spaces, found
     |         |     0
 166 | ERROR   | [x] There must be exactly one blank line before the tags
     |         |     in a doc comment
 166 | ERROR   | [ ] Parameter comment must start with a capital letter
 166 | ERROR   | [x] Parameter comment must be on the next line
 167 | ERROR   | [ ] Parameter comment must start with a capital letter
 167 | ERROR   | [x] Parameter comment must be on the next line
 168 | ERROR   | [ ] Missing parameter type
 168 | ERROR   | [x] Parameter comment must be on the next line
 170 | ERROR   | [ ] Return type missing for @return tag in function
     |         |     comment
 171 | WARNING | [ ] Line exceeds 80 characters; contains 100 characters
 171 | ERROR   | [x] Return comment indentation must be 3 spaces, found 1
     |         |     spaces
 176 | ERROR   | [x] No space found before comment text; expected "//
     |         |     @todo What to do with ssid ?" but found "//@todo
     |         |     What to do with ssid ?"
 189 | ERROR   | [x] There must be exactly one blank line before the tags
     |         |     in a doc comment
 189 | ERROR   | [ ] Parameter comment must start with a capital letter
 189 | ERROR   | [x] Parameter comment must be on the next line
 190 | ERROR   | [ ] Parameter comment must start with a capital letter
 190 | ERROR   | [x] Parameter comment must be on the next line
 191 | ERROR   | [x] Separate the @param and @return sections by a blank
     |         |     line.
 191 | ERROR   | [ ] Return type missing for @return tag in function
     |         |     comment
 192 | ERROR   | [x] Return comment indentation must be 3 spaces, found 1
     |         |     spaces
 201 | ERROR   | [x] There must be exactly one blank line before the tags
     |         |     in a doc comment
 201 | ERROR   | [ ] Parameter comment must start with a capital letter
 201 | ERROR   | [x] Parameter comment must be on the next line
 202 | ERROR   | [ ] Parameter comment must start with a capital letter
 202 | ERROR   | [x] Parameter comment must be on the next line
 204 | ERROR   | [ ] Return type missing for @return tag in function
     |         |     comment
 205 | ERROR   | [x] Return comment indentation must be 3 spaces, found 1
     |         |     spaces
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 58 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...drupal/pareviewsh/pareview_temp/src/Plugin/views/field/BreakLink.php
--------------------------------------------------------------------------
FOUND 9 ERRORS AND 1 WARNING AFFECTING 9 LINES
--------------------------------------------------------------------------
   3 | ERROR   | [x] Namespaced classes, interfaces and traits should not
     |         |     begin with a file doc comment
  11 | WARNING | [x] Unused use statement
  48 | ERROR   | [x] Short array syntax must be used to define arrays
  56 | ERROR   | [x] Short array syntax must be used to define arrays
  77 | ERROR   | [x] Short array syntax must be used to define arrays
  85 | ERROR   | [ ] Parameter $data is not described in comment
  88 | ERROR   | [ ] Missing parameter comment
  88 | ERROR   | [ ] Doc comment for parameter $actual does not match
     |         |     actual variable name $values
  97 | ERROR   | [x] Short array syntax must be used to define arrays
 101 | ERROR   | [x] There should be no white space after an opening "["
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...areviewsh/pareview_temp/src/Controller/ItemSessionLockController.php
--------------------------------------------------------------------------
FOUND 14 ERRORS AND 2 WARNINGS AFFECTING 11 LINES
--------------------------------------------------------------------------
  5 | WARNING | [x] Unused use statement
  9 | WARNING | [x] Unused use statement
 13 | ERROR   | [x] Missing class doc comment
 15 | ERROR   | [x] Missing function doc comment
 19 | ERROR   | [ ] Parameter $type is not described in comment
 21 | ERROR   | [x] There must be exactly one blank line before the tags
    |         |     in a doc comment
 21 | ERROR   | [ ] Missing parameter comment
 27 | ERROR   | [ ] Parameter $type is not described in comment
 27 | ERROR   | [ ] Parameter $any is not described in comment
 29 | ERROR   | [x] There must be exactly one blank line before the tags
    |         |     in a doc comment
 29 | ERROR   | [ ] Missing parameter comment
 35 | ERROR   | [ ] Parameter $type is not described in comment
 35 | ERROR   | [ ] Parameter $any is not described in comment
 37 | ERROR   | [x] There must be exactly one blank line before the tags
    |         |     in a doc comment
 37 | ERROR   | [ ] Missing parameter comment
 41 | ERROR   | [x] Short array syntax must be used to define arrays
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...1/web/vendor/drupal/pareviewsh/pareview_temp/src/ItemSessionLock.php
--------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
--------------------------------------------------------------------------
  5 | ERROR | [x] Missing class doc comment
 10 | ERROR | [ ] Doc comment for parameter $type does not match actual
    |       |     variable name 
 13 | ERROR | [ ] Description for the @return value is missing
 15 | ERROR | [ ] Public method name
    |       |     "ItemSessionLock::ItemSessionLockManager" is not in
    |       |     lowerCamel format
 19 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...1/web/vendor/drupal/pareviewsh/pareview_temp/itemsessionlock.install
--------------------------------------------------------------------------
FOUND 20 ERRORS AFFECTING 20 LINES
--------------------------------------------------------------------------
 12 | ERROR | [x] Short array syntax must be used to define arrays
 13 | ERROR | [x] Short array syntax must be used to define arrays
 15 | ERROR | [x] Short array syntax must be used to define arrays
 16 | ERROR | [x] Short array syntax must be used to define arrays
 22 | ERROR | [x] Short array syntax must be used to define arrays
 28 | ERROR | [x] Short array syntax must be used to define arrays
 35 | ERROR | [x] Short array syntax must be used to define arrays
 42 | ERROR | [x] Short array syntax must be used to define arrays
 49 | ERROR | [x] Short array syntax must be used to define arrays
 55 | ERROR | [x] Short array syntax must be used to define arrays
 62 | ERROR | [x] Short array syntax must be used to define arrays
 66 | ERROR | [x] Short array syntax must be used to define arrays
 67 | ERROR | [x] Short array syntax must be used to define arrays
 68 | ERROR | [x] Short array syntax must be used to define arrays
 69 | ERROR | [x] Short array syntax must be used to define arrays
 71 | ERROR | [x] Short array syntax must be used to define arrays
 72 | ERROR | [x] Short array syntax must be used to define arrays
 74 | ERROR | [x] Short array syntax must be used to define arrays
 76 | ERROR | [x] Short array syntax must be used to define arrays
 78 | ERROR | [x] Short array syntax must be used to define arrays
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 20 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...01/web/vendor/drupal/pareviewsh/pareview_temp/itemsessionlock.module
--------------------------------------------------------------------------
FOUND 13 ERRORS AFFECTING 7 LINES
--------------------------------------------------------------------------
  6 | ERROR | [x] There must be exactly one blank line after the file
    |       |     comment
 11 | ERROR | [x] There must be exactly one blank line before the tags in
    |       |     a doc comment
 11 | ERROR | [ ] Parameter comment must start with a capital letter
 11 | ERROR | [x] Parameter comment must be on the next line
 12 | ERROR | [ ] Parameter comment must start with a capital letter
 12 | ERROR | [x] Parameter comment must be on the next line
 13 | ERROR | [ ] Parameter comment must start with a capital letter
 13 | ERROR | [x] Parameter comment must be on the next line
 14 | ERROR | [ ] Parameter comment must start with a capital letter
 14 | ERROR | [x] Parameter comment must be on the next line
 16 | ERROR | [ ] Type hint "mix" missing for $data
 16 | ERROR | [x] Expected 1 blank line before function; 2 found
 19 | ERROR | [x] Short array syntax must be used to define arrays
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: .../vendor/drupal/pareviewsh/pareview_temp/itemsessionlock.services.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: ...ndor/drupal/pareviewsh/pareview_temp/itemsessionlock.permissions.yml
--------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------
 2 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------

Time: 2.08 secs; Memory: 6Mb