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

Primary tabs

Review of the 8.x-1.x branch (commit 8f26f24):
  • Your README.txt does not follow best practices (headings need to be uppercase). See https://www.drupal.org/node/2181737 .
    • The INTRODUCTION section is missing.
    • The REQUIREMENTS section is missing.
    • The INSTALLATION section is missing.
    • The CONFIGURATION section is missing.
  • The redirect_404.module does not implement hook_help(). See https://www.drupal.org/docs/develop/documenting-your-project/module-docu... .
  • ./redirect.module: All functions should be prefixed with your module/theme name (redirect) to avoid name clashes. See https://www.drupal.org/node/318#naming
    function locale_form_redirect_edit_form_alter(array &$form, FormStateInterface $form_state) {
    
  • 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: ...site1101/web/vendor/drupal/pareviewsh/pareview_temp/redirect.install
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------
     75 | WARNING | Unused variable $storage_definition.
    --------------------------------------------------------------------------
    
    
    FILE: .../pareviewsh/pareview_temp/modules/redirect_404/redirect_404.info.yml
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    --------------------------------------------------------------------------
     7 | WARNING | All dependencies must be prefixed with the project name,
       |         | for example "drupal:"
     8 | WARNING | All dependencies must be prefixed with the project name,
       |         | for example "drupal:"
    --------------------------------------------------------------------------
    
    
    FILE: ...areview_temp/modules/redirect_domain/src/Form/RedirectDomainForm.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
    --------------------------------------------------------------------------
      49 | WARNING | Unused variable $rows.
     136 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
     163 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
    --------------------------------------------------------------------------
    
    
    FILE: ...iewsh/pareview_temp/modules/redirect_domain/redirect_domain.info.yml
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------
     7 | WARNING | All dependencies must be prefixed with the project name,
       |         | for example "drupal:"
    --------------------------------------------------------------------------
    
    
    FILE: ...101/web/vendor/drupal/pareviewsh/pareview_temp/redirect.generate.inc
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
    --------------------------------------------------------------------------
     107 | WARNING | Unused variable $source_options.
     108 | WARNING | Unused variable $redirect_options.
     157 | WARNING | There must be no blank line following an inline comment
    --------------------------------------------------------------------------
    
    
    FILE: ...eb/vendor/drupal/pareviewsh/pareview_temp/src/RedirectRepository.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------
     115 | WARNING | \Drupal calls should be avoided in classes, use
         |         | dependency injection instead
    --------------------------------------------------------------------------
    
    
    FILE: ...dor/drupal/pareviewsh/pareview_temp/src/Tests/GlobalRedirectTest.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    --------------------------------------------------------------------------
     176 | WARNING | There must be no blank line following an inline comment
     259 | WARNING | Unused variable $message.
    --------------------------------------------------------------------------
    
    
    FILE: .../pareview_temp/src/Plugin/Field/FieldWidget/RedirectSourceWidget.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES
    --------------------------------------------------------------------------
     66 | WARNING | \Drupal calls should be avoided in classes, use
        |         | dependency injection instead
     67 | WARNING | t() calls should be avoided in classes, use dependency
        |         | injection and $this->t() instead
     79 | WARNING | \Drupal calls should be avoided in classes, use
        |         | dependency injection instead
     83 | WARNING | t() calls should be avoided in classes, use dependency
        |         | injection and $this->t() instead
    --------------------------------------------------------------------------
    
    
    FILE: ...ewsh/pareview_temp/src/EventSubscriber/RedirectRequestSubscriber.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------
     140 | WARNING | \Drupal calls should be avoided in classes, use
         |         | dependency injection instead
    --------------------------------------------------------------------------
    
    
    FILE: ...web/vendor/drupal/pareviewsh/pareview_temp/src/Form/RedirectForm.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 13 WARNINGS AFFECTING 13 LINES
    --------------------------------------------------------------------------
      53 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
      71 | WARNING | \Drupal calls should be avoided in classes, use
         |         | dependency injection instead
      74 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
      77 | WARNING | \Drupal calls should be avoided in classes, use
         |         | dependency injection instead
      81 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
      82 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
      99 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
     102 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
     105 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
     116 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
     129 | WARNING | \Drupal calls should be avoided in classes, use
         |         | dependency injection instead
     136 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
     149 | WARNING | t() calls should be avoided in classes, use dependency
         |         | injection and $this->t() instead
    --------------------------------------------------------------------------
    
    
    FILE: ...or/drupal/pareviewsh/pareview_temp/src/Form/RedirectSettingsForm.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    --------------------------------------------------------------------------
     32 | WARNING | \Drupal calls should be avoided in classes, use
        |         | dependency injection instead
     90 | WARNING | t() calls should be avoided in classes, use dependency
        |         | injection and $this->t() instead
    --------------------------------------------------------------------------
    
    
    FILE: ...drupal/pareviewsh/pareview_temp/tests/src/Kernel/RedirectAPITest.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------
     179 | WARNING | Unused variable $index.
    --------------------------------------------------------------------------
    
    Time: 4.34 secs; Memory: 10Mb
    
This automated report was generated with PAReview.sh, your friendly project application review script.

FILE: ...site1101/web/vendor/drupal/pareviewsh/pareview_temp/redirect.install
--------------------------------------------------------------------------
FOUND 3 ERRORS AND 1 WARNING AFFECTING 4 LINES
--------------------------------------------------------------------------
 25 | WARNING | [ ] Line exceeds 80 characters; contains 85 characters
 30 | ERROR   | [ ] If the line declaring an array spans longer than 80
    |         |     characters, each element should be broken into its
    |         |     own line
 37 | ERROR   | [x] Expected 1 space before ":"; 0 found
 52 | ERROR   | [x] Expected 1 blank line after function; 2 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...al/pareviewsh/pareview_temp/modules/redirect_404/redirect_404.module
--------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------
 35 | WARNING | [x] A comma should follow the last multiline array item.
    |         |     Found: )
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...areview_temp/modules/redirect_404/src/Tests/Fix404RedirectUITest.php
--------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
--------------------------------------------------------------------------
  34 | WARNING | [x] A comma should follow the last multiline array item.
     |         |     Found: ]
 105 | WARNING | [x] A comma should follow the last multiline array item.
     |         |     Found: ]
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...temp/modules/redirect_404/src/Tests/Fix404RedirectUILanguageTest.php
--------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
--------------------------------------------------------------------------
  96 | WARNING | [x] A comma should follow the last multiline array item.
     |         |     Found: ]
 185 | WARNING | [x] A comma should follow the last multiline array item.
     |         |     Found: ]
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...temp/modules/redirect_404/src/Tests/Redirect404LogSuppressorTest.php
--------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------
 79 | ERROR | [x] Expected 1 blank line after function; 0 found
 80 | ERROR | [x] The closing brace for the class must have an empty line
    |       |     before it
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...pareview_temp/modules/redirect_404/src/Tests/Redirect404TestBase.php
--------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------
 126 | ERROR | Type hint "array" missing for $language
--------------------------------------------------------------------------


FILE: ...p/modules/redirect_404/src/EventSubscriber/Redirect404Subscriber.php
--------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------
 100 | ERROR | [x] Data types in @param tags need to be fully namespaced
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ..._temp/modules/redirect_404/src/Controller/Fix404IgnoreController.php
--------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------
 60 | ERROR | Description for the @return value is missing
--------------------------------------------------------------------------


FILE: ...h/pareview_temp/modules/redirect_404/src/Form/RedirectFix404Form.php
--------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------
 170 | ERROR | [x] Equals sign not aligned with surrounding assignments;
     |       |     expected 1 space but found 2 spaces
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: .../modules/redirect_404/tests/src/Kernel/Fix404RedirectCronJobTest.php
--------------------------------------------------------------------------
FOUND 7 ERRORS AND 1 WARNING AFFECTING 7 LINES
--------------------------------------------------------------------------
  40 | ERROR   | [x] Visibility must be declared on method
     |         |     "testRedirect404CronJob"
  80 | ERROR   | [x] Visibility must be declared on method
     |         |     "testRedirect404CronJobKeepAllButOne"
 131 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     4
 131 | ERROR   | [x] Object operator not indented correctly; expected 6
     |         |     spaces but found 4
 138 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     4
 154 | WARNING | [ ] Line exceeds 80 characters; contains 82 characters
 191 | ERROR   | [x] Expected 1 blank line after function; 0 found
 192 | ERROR   | [x] The closing brace for the class must have an empty
     |         |     line before it
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...view_temp/modules/redirect_domain/src/Tests/RedirectDomainUITest.php
--------------------------------------------------------------------------
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
--------------------------------------------------------------------------
 30 | WARNING | [x] A comma should follow the last multiline array item.
    |         |     Found: 'administer redirects'
 63 | ERROR   | [x] Expected 1 blank line after function; 0 found
 64 | ERROR   | [x] The closing brace for the class must have an empty
    |         |     line before it
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...irect_domain/src/EventSubscriber/DomainRedirectRequestSubscriber.php
--------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
--------------------------------------------------------------------------
 19 | ERROR   | Missing short description in doc comment
 46 | WARNING | Line exceeds 80 characters; contains 84 characters
--------------------------------------------------------------------------


FILE: ...areview_temp/modules/redirect_domain/src/Form/RedirectDomainForm.php
--------------------------------------------------------------------------
FOUND 6 ERRORS AND 2 WARNINGS AFFECTING 7 LINES
--------------------------------------------------------------------------
  21 | ERROR   | [x] Expected 3 space(s) before asterisk; 2 found
  22 | ERROR   | [x] Expected 3 space(s) before asterisk; 2 found
  43 | WARNING | [x] A comma should follow the last multiline array item.
     |         |     Found: )
  57 | ERROR   | [x] Expected one space after the comma, 0 found
  57 | ERROR   | [x] Expected one space after the comma, 0 found
 156 | WARNING | [x] A comma should follow the last multiline array item.
     |         |     Found: ]
 164 | ERROR   | [x] Expected 1 blank line after function; 0 found
 165 | ERROR   | [x] The closing brace for the class must have an empty
     |         |     line before it
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...direct_domain/tests/src/Unit/DomainRedirectRequestSubscriberTest.php
--------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
--------------------------------------------------------------------------
 112 | ERROR | [ ] Missing parameter type
 114 | ERROR | [ ] Missing parameter type
 117 | ERROR | [x] Data types in @return tags need to be fully namespaced
 143 | ERROR | [x] Expected 1 blank line after function; 0 found
 144 | ERROR | [x] The closing brace for the class must have an empty
     |       |     line before it
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...eviewsh/pareview_temp/modules/redirect_domain/redirect_domain.module
--------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
--------------------------------------------------------------------------
  1 | ERROR | [x] Missing file doc comment
  7 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
  8 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
 18 | ERROR | [x] Case breaking statements must be followed by a single
    |       |     blank line
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...site1101/web/vendor/drupal/pareviewsh/pareview_temp/redirect.api.php
--------------------------------------------------------------------------
FOUND 7 ERRORS AND 2 WARNINGS AFFECTING 9 LINES
--------------------------------------------------------------------------
  26 | WARNING | Line exceeds 80 characters; contains 85 characters
  36 | WARNING | Line exceeds 80 characters; contains 83 characters
  74 | ERROR   | Missing parameter type
  76 | ERROR   | Missing parameter type
  88 | ERROR   | Missing parameter type
  90 | ERROR   | Missing parameter type
  92 | ERROR   | Missing parameter type
 115 | ERROR   | Missing parameter type
 130 | ERROR   | Missing parameter type
--------------------------------------------------------------------------


FILE: ...101/web/vendor/drupal/pareviewsh/pareview_temp/redirect.generate.inc
--------------------------------------------------------------------------
FOUND 38 ERRORS AND 3 WARNINGS AFFECTING 34 LINES
--------------------------------------------------------------------------
   8 | WARNING | [x] Unused use statement
  17 | ERROR   | [x] Missing function doc comment
  18 | ERROR   | [x] Short array syntax must be used to define arrays
  24 | ERROR   | [x] Short array syntax must be used to define arrays
  29 | ERROR   | [x] Short array syntax must be used to define arrays
  37 | ERROR   | [x] Missing function doc comment
  43 | ERROR   | [x] Missing function doc comment
  45 | ERROR   | [x] Short array syntax must be used to define arrays
  45 | ERROR   | [x] Short array syntax must be used to define arrays
  48 | ERROR   | [x] Short array syntax must be used to define arrays
  48 | ERROR   | [x] Short array syntax must be used to define arrays
  50 | ERROR   | [x] Short array syntax must be used to define arrays
  57 | ERROR   | [x] Missing function doc comment
  59 | ERROR   | [x] Short array syntax must be used to define arrays
  66 | ERROR   | [x] Short array syntax must be used to define arrays
  74 | ERROR   | [x] Short array syntax must be used to define arrays
  83 | ERROR   | [x] Missing function doc comment
  85 | ERROR   | [x] Short array syntax must be used to define arrays
  99 | ERROR   | [x] Short array syntax must be used to define arrays
 107 | ERROR   | [x] Short array syntax must be used to define arrays
 108 | ERROR   | [x] Short array syntax must be used to define arrays
 131 | ERROR   | [x] Short array syntax must be used to define arrays
 142 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     4
 143 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found
     |         |     4
 144 | ERROR   | [x] Line indented incorrectly; expected 8 spaces, found
     |         |     6
 144 | ERROR   | [x] Short array syntax must be used to define arrays
 148 | ERROR   | [x] Line indented incorrectly; expected 8 spaces, found
     |         |     6
 149 | ERROR   | [x] Line indented incorrectly; expected 8 spaces, found
     |         |     6
 157 | WARNING | [ ] Line exceeds 80 characters; contains 87 characters
 157 | WARNING | [x] There must be no blank line following an inline
     |         |     comment
 157 | ERROR   | [x] No space found before comment text; expected "//
     |         |     $context['message'] = t('Deleted URL redirect
     |         |     @rid.', array('@rid' => end($rids)));" but found
     |         |     "//$context['message'] = t('Deleted URL redirect
     |         |     @rid.', array('@rid' => end($rids)));"
 166 | ERROR   | [x] Missing function doc comment
 174 | ERROR   | [ ] If the line declaring an array spans longer than 80
     |         |     characters, each element should be broken into its
     |         |     own line
 174 | ERROR   | [x] Short array syntax must be used to define arrays
 178 | ERROR   | [x] Missing function doc comment
 179 | ERROR   | [x] Short array syntax must be used to define arrays
 181 | ERROR   | [x] Short array syntax must be used to define arrays
 182 | ERROR   | [x] Concat operator must be surrounded by a single space
 191 | ERROR   | [x] Missing function doc comment
 192 | ERROR   | [ ] If the line declaring an array spans longer than 80
     |         |     characters, each element should be broken into its
     |         |     own line
 192 | ERROR   | [x] Short array syntax must be used to define arrays
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 38 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: .../site1101/web/vendor/drupal/pareviewsh/pareview_temp/redirect.module
--------------------------------------------------------------------------
FOUND 27 ERRORS AND 4 WARNINGS AFFECTING 28 LINES
--------------------------------------------------------------------------
  16 | WARNING | [x] Unused use statement
  18 | WARNING | [x] Unused use statement
  31 | ERROR   | [x] Short array syntax must be used to define arrays
  44 | ERROR   | [x] Short array syntax must be used to define arrays
  72 | ERROR   | [x] Case breaking statements must be followed by a
     |         |     single blank line
  73 | WARNING | [ ] Code after RETURN statement cannot be executed
  73 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     6
 109 | ERROR   | [x] Short array syntax must be used to define arrays
 145 | ERROR   | [x] No space found before comment text; expected "// if
     |         |     (!redirect_load_by_source($path['alias'],
     |         |     $path['language'])) {" but found "//if
     |         |     (!redirect_load_by_source($path['alias'],
     |         |     $path['language'])) {"
 152 | ERROR   | [x] No space found before comment text; expected "// }"
     |         |     but found "//}"
 165 | ERROR   | [x] Short array syntax must be used to define arrays
 167 | ERROR   | [x] Short array syntax must be used to define arrays
 168 | ERROR   | [x] Short array syntax must be used to define arrays
 168 | ERROR   | [x] Short array syntax must be used to define arrays
 177 | ERROR   | [x] Short array syntax must be used to define arrays
 180 | ERROR   | [x] Short array syntax must be used to define arrays
 242 | ERROR   | [ ] Missing parameter type
 244 | ERROR   | [ ] Missing parameter type
 247 | ERROR   | [ ] Return type missing for @return tag in function
     |         |     comment
 263 | ERROR   | [x] Short array syntax must be used to define arrays
 265 | ERROR   | [x] Comment indentation error after @todo element,
     |         |     expected 3 spaces
 267 | ERROR   | [x] No space found before comment text; expected "//
     |         |     $clean_url = variable_get('clean_url', 0);" but
     |         |     found "//$clean_url = variable_get('clean_url', 0);"
 267 | ERROR   | [x] Inline comments must end in full-stops, exclamation
     |         |     marks, colons, question marks, or closing
     |         |     parentheses
 314 | ERROR   | [x] Missing function doc comment
 315 | ERROR   | [x] Short array syntax must be used to define arrays
 332 | ERROR   | [ ] Return type missing for @return tag in function
     |         |     comment
 340 | ERROR   | [x] Doc comment short description must start with a
     |         |     capital letter
 364 | 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.", "* Implements
     |         |     hook_foo_BAR_ID_bar() for xyz-bar.tpl.php.", or "*
     |         |     Implements hook_foo_BAR_ID_bar() for block
     |         |     templates."
 367 | ERROR   | [x] Short array syntax must be used to define arrays
 370 | ERROR   | [x] Short array syntax must be used to define arrays
 397 | ERROR   | [x] Short array syntax must be used to define arrays
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 25 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...eb/vendor/drupal/pareviewsh/pareview_temp/src/RedirectRepository.php
--------------------------------------------------------------------------
FOUND 11 ERRORS AND 1 WARNING AFFECTING 12 LINES
--------------------------------------------------------------------------
  12 | ERROR   | [x] Missing class doc comment
  14 | ERROR   | [ ] Missing short description in doc comment
  19 | ERROR   | [ ] Missing short description in doc comment
  24 | ERROR   | [ ] Missing short description in doc comment
  36 | ERROR   | [ ] Parameter $config_factory is not described in
     |         |     comment
  37 | WARNING | [ ] Line exceeds 80 characters; contains 84 characters
  57 | ERROR   | [ ] Missing parameter type
 105 | ERROR   | [ ] Parameter $redirect is not described in comment
 108 | ERROR   | [ ] Missing parameter name
 160 | ERROR   | [ ] Description for the @return value is missing
 177 | ERROR   | [x] Expected 1 blank line after function; 0 found
 178 | ERROR   | [x] The closing brace for the class must have an empty
     |         |     line before it
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...1/web/vendor/drupal/pareviewsh/pareview_temp/src/RedirectChecker.php
--------------------------------------------------------------------------
FOUND 7 ERRORS AFFECTING 7 LINES
--------------------------------------------------------------------------
 18 | ERROR | [ ] Missing short description in doc comment
 23 | ERROR | [ ] Missing short description in doc comment
 28 | ERROR | [ ] Missing short description in doc comment
 33 | ERROR | [ ] Missing short description in doc comment
 38 | ERROR | [ ] Missing short description in doc comment
 43 | ERROR | [x] Missing function doc comment
 54 | ERROR | [x] Data types in @param tags need to be fully namespaced
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...1/web/vendor/drupal/pareviewsh/pareview_temp/src/Entity/Redirect.php
--------------------------------------------------------------------------
FOUND 17 ERRORS AND 1 WARNING AFFECTING 16 LINES
--------------------------------------------------------------------------
  64 | ERROR   | [x] Short array syntax must be used to define arrays
  80 | ERROR   | [x] Short array syntax must be used to define arrays
 150 | ERROR   | [x] Short array syntax must be used to define arrays
 151 | ERROR   | [ ] If the line declaring an array spans longer than 80
     |         |     characters, each element should be broken into its
     |         |     own line
 157 | ERROR   | [ ] Description for the @return value is missing
 166 | ERROR   | [ ] Description for the @return value is missing
 206 | ERROR   | [x] Short array syntax must be used to define arrays
 206 | ERROR   | [x] Short array syntax must be used to define arrays
 208 | ERROR   | [ ] If the line declaring an array spans longer than 80
     |         |     characters, each element should be broken into its
     |         |     own line
 284 | ERROR   | [x] Short array syntax must be used to define arrays
 290 | ERROR   | [ ] If the line declaring an array spans longer than 80
     |         |     characters, each element should be broken into its
     |         |     own line
 290 | ERROR   | [x] Short array syntax must be used to define arrays
 293 | ERROR   | [x] Short array syntax must be used to define arrays
 303 | ERROR   | [x] Short array syntax must be used to define arrays
 305 | WARNING | [x] A comma should follow the last multiline array item.
     |         |     Found: DRUPAL_DISABLED
 307 | ERROR   | [x] Short array syntax must be used to define arrays
 316 | ERROR   | [x] Short array syntax must be used to define arrays
 341 | ERROR   | [x] Short array syntax must be used to define arrays
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 13 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...or/drupal/pareviewsh/pareview_temp/src/Tests/AssertRedirectTrait.php
--------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------
 18 | ERROR | Missing parameter type
--------------------------------------------------------------------------


FILE: ...drupal/pareviewsh/pareview_temp/src/Tests/RedirectUILanguageTest.php
--------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
--------------------------------------------------------------------------
  3 | ERROR | [x] There must be one blank line after the namespace
    |       |     declaration
 19 | ERROR | [ ] If the line declaring an array spans longer than 80
    |       |     characters, each element should be broken into its own
    |       |     line
 51 | ERROR | [x] Short array syntax must be used to define arrays
 58 | ERROR | [x] Short array syntax must be used to define arrays
 81 | ERROR | [x] Short array syntax must be used to define arrays
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: .../vendor/drupal/pareviewsh/pareview_temp/src/Tests/RedirectUITest.php
--------------------------------------------------------------------------
FOUND 59 ERRORS AFFECTING 55 LINES
--------------------------------------------------------------------------
  21 | ERROR | [ ] Missing short description in doc comment
  26 | ERROR | [ ] Missing short description in doc comment
  31 | ERROR | [ ] Missing short description in doc comment
  34 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 3
  39 | ERROR | [ ] If the line declaring an array spans longer than 80
     |       |     characters, each element should be broken into its own
     |       |     line
  47 | ERROR | [x] Short array syntax must be used to define arrays
  48 | ERROR | [x] Short array syntax must be used to define arrays
  66 | ERROR | [ ] Public method name "RedirectUITest::testRedirectUI" is
     |       |     not in lowerCamel format
  70 | ERROR | [x] Short array syntax must be used to define arrays
  70 | ERROR | [x] The first index in a multi-value array must be on a
     |       |     new line
  70 | 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
  74 | ERROR | [x] Short array syntax must be used to define arrays
  75 | ERROR | [x] Closing parenthesis of array declaration must be on a
     |       |     new line
  80 | ERROR | [x] Short array syntax must be used to define arrays
 104 | ERROR | [x] Short array syntax must be used to define arrays
 123 | ERROR | [x] Short array syntax must be used to define arrays
 127 | ERROR | [x] Short array syntax must be used to define arrays
 130 | ERROR | [x] Short array syntax must be used to define arrays
 134 | ERROR | [x] Short array syntax must be used to define arrays
 138 | ERROR | [x] Short array syntax must be used to define arrays
 143 | ERROR | [x] Short array syntax must be used to define arrays
 146 | ERROR | [x] Short array syntax must be used to define arrays
 153 | ERROR | [x] Short array syntax must be used to define arrays
 160 | ERROR | [x] Short array syntax must be used to define arrays
 166 | ERROR | [x] Inline comments must end in full-stops, exclamation
     |       |     marks, colons, question marks, or closing parentheses
 167 | ERROR | [x] Short array syntax must be used to define arrays
 175 | ERROR | [x] Short array syntax must be used to define arrays
 181 | ERROR | [x] Short array syntax must be used to define arrays
 182 | ERROR | [x] Short array syntax must be used to define arrays
 192 | ERROR | [x] Short array syntax must be used to define arrays
 193 | ERROR | [x] Short array syntax must be used to define arrays
 203 | ERROR | [x] Short array syntax must be used to define arrays
 204 | ERROR | [x] Short array syntax must be used to define arrays
 226 | ERROR | [ ] If the line declaring an array spans longer than 80
     |       |     characters, each element should be broken into its own
     |       |     line
 226 | ERROR | [x] Short array syntax must be used to define arrays
 227 | ERROR | [x] Short array syntax must be used to define arrays
 247 | ERROR | [x] Short array syntax must be used to define arrays
 250 | ERROR | [x] Short array syntax must be used to define arrays
 254 | ERROR | [x] Short array syntax must be used to define arrays
 256 | ERROR | [x] Short array syntax must be used to define arrays
 263 | ERROR | [x] Short array syntax must be used to define arrays
 264 | ERROR | [x] Short array syntax must be used to define arrays
 268 | ERROR | [x] Short array syntax must be used to define arrays
 280 | ERROR | [x] Short array syntax must be used to define arrays
 281 | ERROR | [x] Short array syntax must be used to define arrays
 287 | ERROR | [x] Short array syntax must be used to define arrays
 294 | ERROR | [x] Short array syntax must be used to define arrays
 302 | ERROR | [x] Short array syntax must be used to define arrays
 303 | ERROR | [x] Short array syntax must be used to define arrays
 317 | ERROR | [x] Visibility must be declared on method
     |       |     "testRedirectLoop"
 348 | ERROR | [x] Short array syntax must be used to define arrays
 355 | ERROR | [x] Visibility must be declared on method
     |       |     "createVocabulary"
 357 | ERROR | [x] Short array syntax must be used to define arrays
 371 | ERROR | [x] Visibility must be declared on method "createTerm"
 374 | ERROR | [x] Short array syntax must be used to define arrays
 376 | ERROR | [x] Short array syntax must be used to define arrays
 383 | ERROR | [x] Short array syntax must be used to define arrays
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 53 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...dor/drupal/pareviewsh/pareview_temp/src/Tests/GlobalRedirectTest.php
--------------------------------------------------------------------------
FOUND 14 ERRORS AND 2 WARNINGS AFFECTING 14 LINES
--------------------------------------------------------------------------
  33 | ERROR   | [ ] Missing short description in doc comment
  38 | ERROR   | [ ] Missing short description in doc comment
  43 | ERROR   | [ ] Missing short description in doc comment
  48 | ERROR   | [ ] Missing short description in doc comment
  53 | ERROR   | [ ] Missing short description in doc comment
  58 | ERROR   | [ ] Missing short description in doc comment
 165 | ERROR   | [x] Short array syntax must be used to define arrays
 176 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters
 176 | WARNING | [x] There must be no blank line following an inline
     |         |     comment
 176 | ERROR   | [x] No space found before comment text; expected "//
     |         |     $this->assertRedirect('admin/config/system/site-information',
     |         |     'site-info');" but found
     |         |     "//$this->assertRedirect('admin/config/system/site-information',
     |         |     'site-info');"
 226 | ERROR   | [x] Short array syntax must be used to define arrays
 244 | ERROR   | [ ] Missing parameter type
 255 | ERROR   | [x] Short array syntax must be used to define arrays
 260 | ERROR   | [x] Functions must not contain multiple empty lines in a
     |         |     row; found 2 empty lines
 275 | ERROR   | [x] Expected 1 blank line after function; 0 found
 276 | ERROR   | [x] The closing brace for the class must have an empty
     |         |     line before it
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...drupal/pareviewsh/pareview_temp/src/Plugin/Action/DeleteRedirect.php
--------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------
 48 | ERROR | [x] Data types in @param tags need to be fully namespaced
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...w_temp/src/Plugin/Validation/Constraint/SourceLinkTypeConstraint.php
--------------------------------------------------------------------------
FOUND 8 ERRORS AFFECTING 6 LINES
--------------------------------------------------------------------------
 27 | ERROR | [ ] Missing short description in doc comment
 33 | ERROR | [ ] Doc comment short description must start with a capital
    |       |     letter
 33 | ERROR | [x] Doc comment short description must end with a full stop
 52 | ERROR | [ ] Inline doc block comments are not allowed; use "/*
    |       |     Comment */" or "// Comment" instead
 87 | ERROR | [x] Short array syntax must be used to define arrays
 90 | ERROR | [x] Expected 1 blank line after function; 0 found
 91 | ERROR | [x] Expected 1 newline at end of file; 2 found
 91 | 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: ...ewsh/pareview_temp/src/Plugin/Field/FieldType/RedirectSourceItem.php
--------------------------------------------------------------------------
FOUND 7 ERRORS AFFECTING 6 LINES
--------------------------------------------------------------------------
 44 | ERROR | [x] Short array syntax must be used to define arrays
 45 | ERROR | [x] Short array syntax must be used to define arrays
 46 | ERROR | [x] Short array syntax must be used to define arrays
 51 | ERROR | [x] Short array syntax must be used to define arrays
 58 | ERROR | [x] Short array syntax must be used to define arrays
 59 | ERROR | [x] Short array syntax must be used to define arrays
 59 | ERROR | [x] Short array syntax must be used to define arrays
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...iew_temp/src/Plugin/Field/FieldFormatter/RedirectSourceFormatter.php
--------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------
 25 | ERROR | [x] Short array syntax must be used to define arrays
 28 | ERROR | [x] Short array syntax must be used to define arrays
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: .../pareview_temp/src/Plugin/Field/FieldWidget/RedirectSourceWidget.php
--------------------------------------------------------------------------
FOUND 13 ERRORS AFFECTING 11 LINES
--------------------------------------------------------------------------
  40 | ERROR | [x] Short array syntax must be used to define arrays
  47 | ERROR | [x] Short array syntax must be used to define arrays
  47 | ERROR | [x] Short array syntax must be used to define arrays
  48 | ERROR | [x] Short array syntax must be used to define arrays
  53 | ERROR | [x] Short array syntax must be used to define arrays
  58 | ERROR | [x] Short array syntax must be used to define arrays
  66 | ERROR | [ ] If the line declaring an array spans longer than 80
     |       |     characters, each element should be broken into its own
     |       |     line
  66 | ERROR | [x] Short array syntax must be used to define arrays
  68 | ERROR | [x] Short array syntax must be used to define arrays
  83 | ERROR | [x] Short array syntax must be used to define arrays
  88 | ERROR | [x] Short array syntax must be used to define arrays
 116 | ERROR | [x] Expected 1 blank line after function; 0 found
 117 | ERROR | [x] The closing brace for the class must have an empty
     |       |     line before it
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 12 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...reviewsh/pareview_temp/src/Plugin/migrate/source/d7/PathRedirect.php
--------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------
 3 | ERROR | [x] Namespaced classes, interfaces and traits should not
   |       |     begin with a file doc comment
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: .../pareviewsh/pareview_temp/src/Plugin/migrate/source/PathRedirect.php
--------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------
 23 | ERROR | [x] Short array syntax must be used to define arrays
 41 | ERROR | [x] Short array syntax must be used to define arrays
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: .../pareview_temp/src/Plugin/migrate/process/d7/RedirectSourceQuery.php
--------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------
  3 | ERROR | [x] Namespaced classes, interfaces and traits should not
    |       |     begin with a file doc comment
 14 | ERROR | [ ] Missing short description in doc comment
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...eviewsh/pareview_temp/src/Plugin/migrate/process/d7/PathRedirect.php
--------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
--------------------------------------------------------------------------
  3 | ERROR | [x] Namespaced classes, interfaces and traits should not
    |       |     begin with a file doc comment
 14 | ERROR | [ ] Missing short description in doc comment
 54 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...pareviewsh/pareview_temp/src/Plugin/migrate/process/PathRedirect.php
--------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------
 9 | ERROR | Missing short description in doc comment
--------------------------------------------------------------------------


FILE: ...ewsh/pareview_temp/src/EventSubscriber/RedirectRequestSubscriber.php
--------------------------------------------------------------------------
FOUND 14 ERRORS AND 3 WARNINGS AFFECTING 14 LINES
--------------------------------------------------------------------------
  10 | WARNING | [x] Unused use statement
  19 | WARNING | [x] Unused use statement
  30 | ERROR   | [x] The open comment tag must be the only content on the
     |         |     line
  30 | ERROR   | [ ] Missing short description in doc comment
  30 | ERROR   | [x] Expected "\Drupal\redirect\RedirectRepository" but
     |         |     found "\Drupal\redirect\RedirectRepository " for
     |         |     @var tag in member variable comment
  33 | ERROR   | [ ] Missing short description in doc comment
  38 | ERROR   | [ ] Missing short description in doc comment
  43 | ERROR   | [ ] Missing short description in doc comment
  48 | ERROR   | [ ] Missing short description in doc comment
  53 | ERROR   | [ ] Missing short description in doc comment
  58 | ERROR   | [ ] Missing short description in doc comment
  63 | ERROR   | [ ] Missing short description in doc comment
  75 | ERROR   | [ ] Parameter $context is not described in comment
  75 | ERROR   | [ ] Parameter $path_processor is not described in
     |         |     comment
  76 | WARNING | [ ] Line exceeds 80 characters; contains 84 characters
  92 | ERROR   | [ ] Missing parameter name
 197 | ERROR   | [x] Short array syntax must be used to define arrays
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...iewsh/pareview_temp/src/EventSubscriber/RedirectSettingsCacheTag.php
--------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------
 11 | WARNING | Line exceeds 80 characters; contains 84 characters
--------------------------------------------------------------------------


FILE: ...review_temp/src/EventSubscriber/RouteNormalizerRequestSubscriber.php
--------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
--------------------------------------------------------------------------
 109 | ERROR | [x] Equals sign not aligned correctly; expected 1 space
     |       |     but found 2 spaces
 138 | ERROR | [x] Visibility must be declared on method
     |       |     "getSubscribedEvents"
 139 | ERROR | [x] Short array syntax must be used to define arrays
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...web/vendor/drupal/pareviewsh/pareview_temp/src/Form/RedirectForm.php
--------------------------------------------------------------------------
FOUND 16 ERRORS AFFECTING 16 LINES
--------------------------------------------------------------------------
  14 | ERROR | [x] Missing class doc comment
  26 | ERROR | [x] Inline comments must end in full-stops, exclamation
     |       |     marks, colons, question marks, or closing parentheses
  27 | ERROR | [x] Short array syntax must be used to define arrays
  32 | ERROR | [x] Short array syntax must be used to define arrays
  33 | ERROR | [x] Short array syntax must be used to define arrays
  53 | ERROR | [x] Short array syntax must be used to define arrays
  70 | ERROR | [x] Expected 1 space after closing parenthesis; found 2
  79 | ERROR | [x] Short array syntax must be used to define arrays
  82 | ERROR | [x] Short array syntax must be used to define arrays
  95 | ERROR | [x] Short array syntax must be used to define arrays
  96 | ERROR | [x] Short array syntax must be used to define arrays
 131 | ERROR | [x] Short array syntax must be used to define arrays
 137 | ERROR | [x] Short array syntax must be used to define arrays
 139 | ERROR | [x] Closing parenthesis of array declaration must be on a
     |       |     new line
 151 | ERROR | [x] Expected 1 blank line after function; 0 found
 152 | ERROR | [x] The closing brace for the class must have an empty
     |       |     line before it
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 16 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...ndor/drupal/pareviewsh/pareview_temp/src/Form/RedirectDeleteForm.php
--------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
--------------------------------------------------------------------------
  9 | ERROR | [x] Missing class doc comment
 15 | ERROR | [x] Short array syntax must be used to define arrays
 37 | ERROR | [x] Short array syntax must be used to define arrays
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...or/drupal/pareviewsh/pareview_temp/src/Form/RedirectSettingsForm.php
--------------------------------------------------------------------------
FOUND 13 ERRORS AND 1 WARNING AFFECTING 13 LINES
--------------------------------------------------------------------------
  8 | ERROR   | [x] Missing class doc comment
 15 | ERROR   | [x] Expected 1 blank line after function; 0 found
 28 | ERROR   | [x] Short array syntax must be used to define arrays
 34 | ERROR   | [x] Short array syntax must be used to define arrays
 38 | ERROR   | [ ] If the line declaring an array spans longer than 80
    |         |     characters, each element should be broken into its
    |         |     own line
 38 | ERROR   | [x] Short array syntax must be used to define arrays
 40 | ERROR   | [x] Short array syntax must be used to define arrays
 46 | ERROR   | [x] Short array syntax must be used to define arrays
 49 | ERROR   | [x] Short array syntax must be used to define arrays
 53 | ERROR   | [x] Short array syntax must be used to define arrays
 58 | ERROR   | [x] Short array syntax must be used to define arrays
 64 | ERROR   | [x] Short array syntax must be used to define arrays
 69 | ERROR   | [x] Short array syntax must be used to define arrays
 72 | WARNING | [ ] Avoid backslash escaping in translatable strings when
    |         |     possible, use "" quotes instead
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 12 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...te1101/web/vendor/drupal/pareviewsh/pareview_temp/redirect.drush.inc
--------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
--------------------------------------------------------------------------
 12 | ERROR | [x] Short array syntax must be used to define arrays
 14 | ERROR | [x] Short array syntax must be used to define arrays
 15 | ERROR | [x] Short array syntax must be used to define arrays
 18 | ERROR | [x] Short array syntax must be used to define arrays
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...areview_temp/tests/src/Unit/RouteNormalizerRequestSubscriberTest.php
--------------------------------------------------------------------------
FOUND 9 ERRORS AND 6 WARNINGS AFFECTING 15 LINES
--------------------------------------------------------------------------
  45 | WARNING | Line exceeds 80 characters; contains 118 characters
  46 | WARNING | Line exceeds 80 characters; contains 81 characters
  59 | WARNING | Line exceeds 80 characters; contains 113 characters
  60 | WARNING | Line exceeds 80 characters; contains 81 characters
  73 | WARNING | Line exceeds 80 characters; contains 126 characters
  74 | WARNING | Line exceeds 80 characters; contains 81 characters
  99 | ERROR   | If the line declaring an array spans longer than 80
     |         | characters, each element should be broken into its own
     |         | line
 100 | ERROR   | If the line declaring an array spans longer than 80
     |         | characters, each element should be broken into its own
     |         | line
 101 | ERROR   | If the line declaring an array spans longer than 80
     |         | characters, each element should be broken into its own
     |         | line
 115 | ERROR   | Description for the @return value is missing
 139 | ERROR   | Description for the @return value is missing
 162 | ERROR   | Description for the @return value is missing
 183 | ERROR   | Description for the @return value is missing
 211 | ERROR   | Description for the @return value is missing
 213 | ERROR   | Type hint "array" missing for $query_string
--------------------------------------------------------------------------


FILE: ...upal/pareviewsh/pareview_temp/tests/src/Unit/RedirectCheckerTest.php
--------------------------------------------------------------------------
FOUND 31 ERRORS AND 6 WARNINGS AFFECTING 26 LINES
--------------------------------------------------------------------------
   7 | WARNING | [x] Unused use statement
   8 | WARNING | [x] Unused use statement
  24 | ERROR   | [x] Short array syntax must be used to define arrays
  24 | ERROR   | [x] Short array syntax must be used to define arrays
  65 | ERROR   | [x] Functions must not contain multiple empty lines in a
     |         |     row; found 2 empty lines
 100 | WARNING | [ ] Line exceeds 80 characters; contains 83 characters
 100 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     0
 100 | ERROR   | [x] 4 spaces found before inline comment; expected "//
     |         |     $checker = new
     |         |     RedirectChecker($this->getConfigFactoryStub($config),
     |         |     $state);" but found "//    $checker = new
     |         |     RedirectChecker($this->getConfigFactoryStub($config),
     |         |     $state);"
 101 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     0
 102 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     0
 103 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     0
 103 | ERROR   | [ ] Comment indentation error, expected only 4 spaces
 104 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     0
 105 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     0
 106 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     0
 106 | ERROR   | [ ] Comment indentation error, expected only 4 spaces
 107 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     0
 108 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     0
 109 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     0
 110 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     0
 111 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     0
 111 | ERROR   | [ ] Comment indentation error, expected only 4 spaces
 112 | WARNING | [ ] Line exceeds 80 characters; contains 111 characters
 112 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     0
 113 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     0
 114 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     0
 115 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     0
 116 | WARNING | [ ] Line exceeds 80 characters; contains 83 characters
 116 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     0
 117 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     0
 118 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     0
 119 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     0
 119 | ERROR   | [ ] Comment indentation error, expected only 4 spaces
 120 | WARNING | [ ] Line exceeds 80 characters; contains 116 characters
 120 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found
     |         |     0
 120 | ERROR   | [x] Inline comments must end in full-stops, exclamation
     |         |     marks, colons, question marks, or closing
     |         |     parentheses
 135 | ERROR   | [x] Data types in @return tags need to be fully
     |         |     namespaced
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 29 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...eviewsh/pareview_temp/tests/src/Unit/Migrate/d7/PathRedirectTest.php
--------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------
 48 | WARNING | [x] A comma should follow the last multiline array item.
    |         |     Found: ]
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...iewsh/pareview_temp/tests/src/Unit/RedirectRequestSubscriberTest.php
--------------------------------------------------------------------------
FOUND 20 ERRORS AND 1 WARNING AFFECTING 16 LINES
--------------------------------------------------------------------------
   8 | WARNING | [x] Unused use statement
 114 | ERROR   | [ ] Missing parameter type
 116 | ERROR   | [ ] Missing parameter type
 126 | ERROR   | [ ] Type hint "array" missing for $request_query
 162 | ERROR   | [x] Short array syntax must be used to define arrays
 162 | ERROR   | [x] Short array syntax must be used to define arrays
 179 | ERROR   | [ ] Missing parameter type
 181 | ERROR   | [ ] Missing parameter type
 184 | ERROR   | [x] Data types in @return tags need to be fully
     |         |     namespaced
 202 | ERROR   | [ ] Missing parameter type
 207 | ERROR   | [x] Data types in @return tags need to be fully
     |         |     namespaced
 239 | ERROR   | [ ] Type hint "array" missing for $headers
 239 | ERROR   | [x] Short array syntax must be used to define arrays
 254 | ERROR   | [ ] Missing parameter comment
 254 | ERROR   | [ ] Missing parameter type
 255 | ERROR   | [ ] Missing parameter comment
 255 | ERROR   | [ ] Missing parameter type
 257 | ERROR   | [ ] Description for the @return value is missing
 257 | ERROR   | [x] Data types in @return tags need to be fully
     |         |     namespaced
 270 | ERROR   | [ ] Description for the @return value is missing
 277 | ERROR   | [x] Short array syntax must be used to define arrays
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...iewsh/pareview_temp/tests/src/Kernel/Migrate/d7/PathRedirectTest.php
--------------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 6 LINES
--------------------------------------------------------------------------
  3 | ERROR | [x] Namespaced classes, interfaces and traits should not
    |       |     begin with a file doc comment
 11 | ERROR | [x] There must be one blank line after the last USE
    |       |     statement; 2 found;
 24 | ERROR | [x] Short array syntax must be used to define arrays
 50 | ERROR | [x] Data types in @var tags need to be fully namespaced
 67 | ERROR | [x] Expected 1 blank line after function; 0 found
 68 | ERROR | [x] The closing brace for the class must have an empty line
    |       |     before it
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...iewsh/pareview_temp/tests/src/Kernel/Migrate/d6/PathRedirectTest.php
--------------------------------------------------------------------------
FOUND 9 ERRORS AFFECTING 8 LINES
--------------------------------------------------------------------------
  6 | ERROR | [x] There must be one blank line after the last USE
    |       |     statement; 2 found;
 19 | ERROR | [x] Short array syntax must be used to define arrays
 26 | ERROR | [x] Short array syntax must be used to define arrays
 28 | ERROR | [x] There should be no white space after an opening "("
 38 | ERROR | [x] Data types in @var tags need to be fully namespaced
 42 | 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] 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 9 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...drupal/pareviewsh/pareview_temp/tests/src/Kernel/RedirectAPITest.php
--------------------------------------------------------------------------
FOUND 27 ERRORS AND 2 WARNINGS AFFECTING 22 LINES
--------------------------------------------------------------------------
  18 | ERROR   | [ ] Missing short description in doc comment
  28 | ERROR   | [ ] If the line declaring an array spans longer than 80
     |         |     characters, each element should be broken into its
     |         |     own line
  28 | ERROR   | [x] Short array syntax must be used to define arrays
  39 | ERROR   | [x] Short array syntax must be used to define arrays
  54 | ERROR   | [x] Short array syntax must be used to define arrays
  58 | ERROR   | [x] Short array syntax must be used to define arrays
  61 | ERROR   | [x] Short array syntax must be used to define arrays
  63 | ERROR   | [x] Short array syntax must be used to define arrays
  66 | ERROR   | [x] Short array syntax must be used to define arrays
  68 | ERROR   | [x] Short array syntax must be used to define arrays
  73 | ERROR   | [x] Short array syntax must be used to define arrays
  82 | ERROR   | [x] Short array syntax must be used to define arrays
 172 | ERROR   | [x] Short array syntax must be used to define arrays
 173 | ERROR   | [x] Short array syntax must be used to define arrays
 174 | ERROR   | [ ] If the line declaring an array spans longer than 80
     |         |     characters, each element should be broken into its
     |         |     own line
 174 | ERROR   | [x] Short array syntax must be used to define arrays
 174 | ERROR   | [x] Short array syntax must be used to define arrays
 175 | ERROR   | [ ] If the line declaring an array spans longer than 80
     |         |     characters, each element should be broken into its
     |         |     own line
 175 | ERROR   | [x] Short array syntax must be used to define arrays
 175 | ERROR   | [x] Short array syntax must be used to define arrays
 232 | ERROR   | [ ] Public method name "RedirectAPITest::testParseURL"
     |         |     is not in lowerCamel format
 233 | ERROR   | [x] No space found before comment text; expected "//
     |         |     $test_cases = array(" but found "//$test_cases =
     |         |     array("
 235 | WARNING | [ ] Line exceeds 80 characters; contains 95 characters
 235 | ERROR   | [ ] Comment indentation error, expected only 2 spaces
 236 | WARNING | [ ] Line exceeds 80 characters; contains 98 characters
 238 | ERROR   | [x] No space found before comment text; expected "// );"
     |         |     but found "//);"
 239 | ERROR   | [x] No space found before comment text; expected "//
     |         |     foreach ($test_cases as $index => $test_case) {" but
     |         |     found "//foreach ($test_cases as $index =>
     |         |     $test_case) {"
 242 | ERROR   | [x] No space found before comment text; expected "// }"
     |         |     but found "//}"
 242 | ERROR   | [x] Inline comments must end in full-stops, exclamation
     |         |     marks, colons, question marks, or closing
     |         |     parentheses
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 21 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...eb/vendor/drupal/pareviewsh/pareview_temp/tests/fixtures/drupal6.php
--------------------------------------------------------------------------
FOUND 32 ERRORS AFFECTING 31 LINES
--------------------------------------------------------------------------
   1 | ERROR | [x] The PHP open tag must be followed by exactly one blank
     |       |     line
  11 | ERROR | [x] Short array syntax must be used to define arrays
  12 | ERROR | [x] Short array syntax must be used to define arrays
  13 | ERROR | [x] Short array syntax must be used to define arrays
  18 | ERROR | [x] Short array syntax must be used to define arrays
  23 | ERROR | [x] Short array syntax must be used to define arrays
  28 | ERROR | [x] Short array syntax must be used to define arrays
  33 | ERROR | [x] Short array syntax must be used to define arrays
  38 | ERROR | [x] Short array syntax must be used to define arrays
  44 | ERROR | [x] Short array syntax must be used to define arrays
  49 | ERROR | [x] Short array syntax must be used to define arrays
  56 | ERROR | [x] Short array syntax must be used to define arrays
  57 | ERROR | [x] Short array syntax must be used to define arrays
  57 | ERROR | [x] Short array syntax must be used to define arrays
  63 | ERROR | [x] Short array syntax must be used to define arrays
  73 | ERROR | [x] Short array syntax must be used to define arrays
  83 | ERROR | [x] Short array syntax must be used to define arrays
  95 | ERROR | [x] Short array syntax must be used to define arrays
  96 | ERROR | [x] Short array syntax must be used to define arrays
  97 | ERROR | [x] Short array syntax must be used to define arrays
 103 | ERROR | [x] Short array syntax must be used to define arrays
 109 | ERROR | [x] Short array syntax must be used to define arrays
 115 | ERROR | [x] Short array syntax must be used to define arrays
 121 | ERROR | [x] Short array syntax must be used to define arrays
 127 | ERROR | [x] Short array syntax must be used to define arrays
 133 | ERROR | [x] Short array syntax must be used to define arrays
 139 | ERROR | [x] Short array syntax must be used to define arrays
 145 | ERROR | [x] Short array syntax must be used to define arrays
 151 | ERROR | [x] Short array syntax must be used to define arrays
 157 | ERROR | [x] Short array syntax must be used to define arrays
 164 | ERROR | [x] Short array syntax must be used to define arrays
 175 | ERROR | [x] Short array syntax must be used to define arrays
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 32 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...eb/vendor/drupal/pareviewsh/pareview_temp/tests/fixtures/drupal7.php
--------------------------------------------------------------------------
FOUND 49 ERRORS AND 1 WARNING AFFECTING 45 LINES
--------------------------------------------------------------------------
   1 | ERROR   | [x] The PHP open tag must be followed by exactly one
     |         |     blank line
  11 | ERROR   | [x] Short array syntax must be used to define arrays
  12 | ERROR   | [x] Short array syntax must be used to define arrays
  13 | ERROR   | [x] Short array syntax must be used to define arrays
  18 | ERROR   | [x] Short array syntax must be used to define arrays
  23 | ERROR   | [x] Short array syntax must be used to define arrays
  28 | ERROR   | [x] Short array syntax must be used to define arrays
  32 | ERROR   | [x] Short array syntax must be used to define arrays
  37 | ERROR   | [x] Short array syntax must be used to define arrays
  41 | ERROR   | [x] Short array syntax must be used to define arrays
  46 | ERROR   | [x] Short array syntax must be used to define arrays
  50 | ERROR   | [x] Short array syntax must be used to define arrays
  56 | ERROR   | [x] Short array syntax must be used to define arrays
  61 | ERROR   | [x] Short array syntax must be used to define arrays
  65 | ERROR   | [x] Short array syntax must be used to define arrays
  70 | 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
  73 | ERROR   | [x] Short array syntax must be used to define arrays
  73 | WARNING | [x] A comma should follow the last multiline array item.
     |         |     Found: )
  80 | ERROR   | [x] Short array syntax must be used to define arrays
  94 | ERROR   | [x] Short array syntax must be used to define arrays
 108 | ERROR   | [x] Short array syntax must be used to define arrays
 124 | ERROR   | [x] Short array syntax must be used to define arrays
 125 | ERROR   | [x] Short array syntax must be used to define arrays
 126 | ERROR   | [x] Short array syntax must be used to define arrays
 132 | ERROR   | [x] Short array syntax must be used to define arrays
 138 | ERROR   | [x] Short array syntax must be used to define arrays
 145 | ERROR   | [x] Line indented incorrectly; expected 2 spaces, found
     |         |     0
 145 | ERROR   | [x] Short array syntax must be used to define arrays
 149 | ERROR   | [x] Line indented incorrectly; expected 2 spaces, found
     |         |     0
 149 | ERROR   | [x] Short array syntax must be used to define arrays
 153 | ERROR   | [x] Line indented incorrectly; expected 2 spaces, found
     |         |     0
 155 | ERROR   | [x] Short array syntax must be used to define arrays
 156 | ERROR   | [x] Short array syntax must be used to define arrays
 157 | ERROR   | [x] Short array syntax must be used to define arrays
 163 | ERROR   | [x] Short array syntax must be used to define arrays
 169 | ERROR   | [x] Short array syntax must be used to define arrays
 175 | ERROR   | [x] Short array syntax must be used to define arrays
 181 | ERROR   | [x] Short array syntax must be used to define arrays
 187 | ERROR   | [x] Short array syntax must be used to define arrays
 193 | ERROR   | [x] Short array syntax must be used to define arrays
 199 | ERROR   | [x] Short array syntax must be used to define arrays
 205 | ERROR   | [x] Short array syntax must be used to define arrays
 211 | ERROR   | [x] Short array syntax must be used to define arrays
 218 | ERROR   | [x] Line indented incorrectly; expected 2 spaces, found
     |         |     0
 218 | ERROR   | [x] Short array syntax must be used to define arrays
 229 | ERROR   | [x] Line indented incorrectly; expected 2 spaces, found
     |         |     0
 229 | ERROR   | [x] Short array syntax must be used to define arrays
 240 | ERROR   | [x] Line indented incorrectly; expected 2 spaces, found
     |         |     0
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 50 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...ndor/drupal/pareviewsh/pareview_temp/migrations/d6_path_redirect.yml
--------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------
 21 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------

Time: 6.71 secs; Memory: 12Mb