Fix the issues reported by phpcs

Created on 23 January 2023, about 2 years ago
Updated 1 May 2023, almost 2 years ago

phpcs returned the following


FILE: /Users/tesboss/_PROJECTS/drupal/linkchecker/linkchecker.admin.inc
---------------------------------------------------------------------------------------------------------------------------------------------
FOUND 7 ERRORS AND 5 WARNINGS AFFECTING 10 LINES
---------------------------------------------------------------------------------------------------------------------------------------------
 115 | ERROR   | [ ] The array declaration extends to column 591 (the limit is 80). The array content should be split up over multiple lines
 115 | ERROR   | [x] Expected 1 space before "+"; 0 found
 115 | ERROR   | [x] Expected 1 space after "+"; 0 found
 147 | WARNING | [ ] #options values usually have to run through t() for translation
 148 | WARNING | [ ] #options values usually have to run through t() for translation
 149 | WARNING | [ ] #options values usually have to run through t() for translation
 150 | WARNING | [ ] #options values usually have to run through t() for translation
 151 | WARNING | [ ] #options values usually have to run through t() for translation
 159 | ERROR   | [ ] The array declaration extends to column 107 (the limit is 80). The array content should be split up over multiple lines
 199 | ERROR   | [ ] The array declaration extends to column 801 (the limit is 80). The array content should be split up over multiple lines
 254 | ERROR   | [ ] The array declaration extends to column 94 (the limit is 80). The array content should be split up over multiple lines
 255 | ERROR   | [ ] The array declaration extends to column 92 (the limit is 80). The array content should be split up over multiple lines
---------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------------------


FILE: /Users/tesboss/_PROJECTS/drupal/linkchecker/linkchecker.pages.inc
---------------------------------------------------------------------------------------------------------------------------------------------
FOUND 7 ERRORS AND 1 WARNING AFFECTING 7 LINES
---------------------------------------------------------------------------------------------------------------------------------------------
 118 | ERROR   | [ ] Type hint "SelectQueryInterface" missing for $query
 120 | ERROR   | [ ] The array declaration extends to column 172 (the limit is 80). The array content should be split up over multiple lines
 159 | ERROR   | [ ] The array declaration extends to column 133 (the limit is 80). The array content should be split up over multiple lines
 197 | ERROR   | [ ] The array declaration extends to column 157 (the limit is 80). The array content should be split up over multiple lines
 231 | ERROR   | [ ] The array declaration extends to column 240 (the limit is 80). The array content should be split up over multiple lines
 231 | WARNING | [x] A comma should follow the last multiline array item. Found: )
 268 | ERROR   | [ ] The array declaration extends to column 94 (the limit is 80). The array content should be split up over multiple lines
 269 | ERROR   | [ ] The array declaration extends to column 92 (the limit is 80). The array content should be split up over multiple lines
---------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------------------


FILE: /Users/tesboss/_PROJECTS/drupal/linkchecker/linkchecker.module
----------------------------------------------------------------------------------------------------------------------------------------------
FOUND 75 ERRORS AND 39 WARNINGS AFFECTING 102 LINES
----------------------------------------------------------------------------------------------------------------------------------------------
   12 | ERROR   | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
   18 | ERROR   | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
   25 | ERROR   | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
   45 | WARNING | [ ] '@todo' should match the format '@todo Fix problem X here.'
   54 | WARNING | [ ] Line exceeds 80 characters; contains 102 characters
  155 | ERROR   | [ ] Missing parameter type
  158 | ERROR   | [ ] Missing parameter type
  164 | ERROR   | [ ] Missing parameter type
  168 | ERROR   | [ ] Missing parameter type
  179 | ERROR   | [ ] Missing parameter type
  197 | ERROR   | [ ] Description for the @return value is missing
  232 | ERROR   | [ ] Description for the @return value is missing
  240 | WARNING | [ ] Line exceeds 80 characters; contains 90 characters
  359 | WARNING | [ ] Line exceeds 80 characters; contains 89 characters
  410 | WARNING | [ ] Line exceeds 80 characters; contains 87 characters
  521 | ERROR   | [ ] The array declaration extends to column 273 (the limit is 80). The array content should be split up over multiple lines
  563 | WARNING | [ ] Line exceeds 80 characters; contains 98 characters
  563 | ERROR   | [x] Comments may not appear after statements
  600 | ERROR   | [ ] The array declaration extends to column 248 (the limit is 80). The array content should be split up over multiple lines
  645 | ERROR   | [ ] The array declaration extends to column 114 (the limit is 80). The array content should be split up over multiple lines
  655 | ERROR   | [x] Comments may not appear after statements
  659 | ERROR   | [x] Comments may not appear after statements
  699 | ERROR   | [ ] The array declaration extends to column 100 (the limit is 80). The array content should be split up over multiple lines
  704 | ERROR   | [ ] The array declaration extends to column 191 (the limit is 80). The array content should be split up over multiple lines
  708 | ERROR   | [ ] The array declaration extends to column 216 (the limit is 80). The array content should be split up over multiple lines
  711 | ERROR   | [ ] The array declaration extends to column 223 (the limit is 80). The array content should be split up over multiple lines
  741 | ERROR   | [ ] The array declaration extends to column 218 (the limit is 80). The array content should be split up over multiple lines
  744 | ERROR   | [ ] The array declaration extends to column 224 (the limit is 80). The array content should be split up over multiple lines
  773 | ERROR   | [ ] The array declaration extends to column 222 (the limit is 80). The array content should be split up over multiple lines
  776 | ERROR   | [ ] The array declaration extends to column 219 (the limit is 80). The array content should be split up over multiple lines
  838 | ERROR   | [x] Line indented incorrectly; expected 10 spaces, found 8
  838 | ERROR   | [x] Object operator not indented correctly; expected 10 spaces but found 8
  839 | ERROR   | [x] Line indented incorrectly; expected 10 spaces, found 8
  845 | ERROR   | [x] Line indented incorrectly; expected 10 spaces, found 8
  846 | ERROR   | [x] Line indented incorrectly; expected 10 spaces, found 8
  852 | ERROR   | [x] Line indented incorrectly; expected 10 spaces, found 8
  852 | ERROR   | [x] Object operator not indented correctly; expected 10 spaces but found 8
  853 | ERROR   | [x] Line indented incorrectly; expected 10 spaces, found 8
  860 | ERROR   | [x] Line indented incorrectly; expected 10 spaces, found 8
  861 | ERROR   | [x] Line indented incorrectly; expected 10 spaces, found 8
  879 | WARNING | [ ] Line exceeds 80 characters; contains 194 characters
  879 | ERROR   | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
  892 | WARNING | [ ] Line exceeds 80 characters; contains 194 characters
  892 | ERROR   | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
  916 | ERROR   | [ ] The array declaration extends to column 319 (the limit is 80). The array content should be split up over multiple lines
  919 | ERROR   | [ ] The array declaration extends to column 269 (the limit is 80). The array content should be split up over multiple lines
  938 | WARNING | [x] '@todo: Refactor this workaround under D8.' should match the format '@todo Fix problem X here.'
  955 | WARNING | [x] '@todo: Refactor this workaround under D8.' should match the format '@todo Fix problem X here.'
 1016 | WARNING | [ ] Do not use the raw $form_state['input'], use $form_state['values'] instead where possible
 1020 | ERROR   | [ ] The array declaration extends to column 327 (the limit is 80). The array content should be split up over multiple lines
 1023 | ERROR   | [ ] The array declaration extends to column 273 (the limit is 80). The array content should be split up over multiple lines
 1108 | WARNING | [ ] Do not use the raw $form_state['input'], use $form_state['values'] instead where possible
 1108 | WARNING | [ ] Do not use the raw $form_state['input'], use $form_state['values'] instead where possible
 1108 | WARNING | [ ] Do not use the raw $form_state['input'], use $form_state['values'] instead where possible
 1112 | ERROR   | [ ] The array declaration extends to column 318 (the limit is 80). The array content should be split up over multiple lines
 1115 | ERROR   | [ ] The array declaration extends to column 269 (the limit is 80). The array content should be split up over multiple lines
 1126 | ERROR   | [x] There must be no space between the "array" keyword and the opening parenthesis
 1133 | ERROR   | [x] Expected 1 blank line after function; 2 found
 1140 | ERROR   | [x] Whitespace found at end of line
 1144 | ERROR   | [x] Space found before semicolon; expected "];" but found "] ;"
 1251 | ERROR   | [ ] The array declaration extends to column 178 (the limit is 80). The array content should be split up over multiple lines
 1337 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters
 1341 | WARNING | [ ] Line exceeds 80 characters; contains 84 characters
 1345 | WARNING | [ ] Line exceeds 80 characters; contains 82 characters
 1389 | ERROR   | [ ] The array declaration extends to column 178 (the limit is 80). The array content should be split up over multiple lines
 1429 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters
 1433 | WARNING | [ ] Line exceeds 80 characters; contains 84 characters
 1437 | WARNING | [ ] Line exceeds 80 characters; contains 82 characters
 1472 | WARNING | [x] '@todo: Are we able to remove this global conversion?' should match the format '@todo Fix problem X here.'
 1533 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters
 1537 | WARNING | [ ] Line exceeds 80 characters; contains 84 characters
 1541 | WARNING | [ ] Line exceeds 80 characters; contains 82 characters
 1593 | ERROR   | [x] Additional blank lines found at end of doc comment
 1601 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters
 1605 | ERROR   | [ ] Missing parameter comment
 1607 | ERROR   | [ ] Type hint "array" missing for $links
 1630 | WARNING | [ ] Line exceeds 80 characters; contains 87 characters
 1634 | ERROR   | [ ] Missing parameter comment
 1636 | ERROR   | [ ] Type hint "array" missing for $links
 1659 | WARNING | [ ] Line exceeds 80 characters; contains 97 characters
 1663 | ERROR   | [ ] Missing parameter comment
 1665 | ERROR   | [ ] Type hint "array" missing for $links
 1698 | ERROR   | [ ] Type hint "array" missing for $links
 1699 | ERROR   | [ ] The array declaration extends to column 246 (the limit is 80). The array content should be split up over multiple lines
 1708 | WARNING | [ ] Line exceeds 80 characters; contains 83 characters
 1718 | ERROR   | [ ] Type hint "array" missing for $links
 1719 | ERROR   | [ ] The array declaration extends to column 249 (the limit is 80). The array content should be split up over multiple lines
 1728 | WARNING | [ ] Line exceeds 80 characters; contains 93 characters
 1739 | ERROR   | [ ] Type hint "array" missing for $links
 1740 | ERROR   | [ ] The array declaration extends to column 254 (the limit is 80). The array content should be split up over multiple lines
 1780 | ERROR   | [x] Use null coalesce operator instead of ternary operator.
 1845 | ERROR   | [ ] Description for the @return value is missing
 1851 | ERROR   | [x] Expected 1 space after "="; 0 found
 1908 | WARNING | [ ] Line exceeds 80 characters; contains 176 characters
 2040 | WARNING | [ ] '@todo' should match the format '@todo Fix problem X here.'
 2089 | WARNING | [x] '@todo: Try to find a way to get the raw value.' should match the format '@todo Fix problem X here.'
 2098 | WARNING | [ ] Line exceeds 80 characters; contains 99 characters
 2110 | ERROR   | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
 2191 | ERROR   | [ ] The array declaration extends to column 93 (the limit is 80). The array content should be split up over multiple lines
 2316 | WARNING | [ ] '@todo' should match the format '@todo Fix problem X here.'
 2472 | ERROR   | [x] Use null coalesce operator instead of ternary operator.
 2474 | ERROR   | [x] Use null coalesce operator instead of ternary operator.
 2494 | ERROR   | [x] Opening brace must be the last content on the line
 2494 | ERROR   | [x] There should be no white space after an opening "{"
 2494 | ERROR   | [x] There should be no white space before a closing "}"
 2494 | ERROR   | [x] Closing brace must be on a line by itself
 2611 | ERROR   | [ ] The array declaration extends to column 135 (the limit is 80). The array content should be split up over multiple lines
 2619 | ERROR   | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
 2621 | ERROR   | [ ] Description for the @return value is missing
 2628 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters
 2713 | WARNING | [x] '@todo: Refactor this workaround under D8.' should match the format '@todo Fix problem X here.'
 2713 | WARNING | [x] There must be no blank line following an inline comment
 2713 | WARNING | [ ] There must be no blank line following an inline comment
 2752 | WARNING | [ ] Line exceeds 80 characters; contains 83 characters
----------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 36 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------------------------------------


FILE: /Users/tesboss/_PROJECTS/drupal/linkchecker/linkchecker.drush.inc
-----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------
 23 | ERROR | Comment indentation error, expected only 1 spaces
-----------------------------------------------------------------------


FILE: /Users/tesboss/_PROJECTS/drupal/linkchecker/linkchecker.info
------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------
 5 | ERROR | It's only necessary to declare files[] if they declare a class or interface.
------------------------------------------------------------------------------------------


FILE: /Users/tesboss/_PROJECTS/drupal/linkchecker/CHANGELOG.txt
----------------------------------------------------------------------
FOUND 0 ERRORS AND 41 WARNINGS AFFECTING 41 LINES
----------------------------------------------------------------------
   4 | WARNING | Line exceeds 80 characters; contains 94 characters
   9 | WARNING | Line exceeds 80 characters; contains 84 characters
  10 | WARNING | Line exceeds 80 characters; contains 94 characters
  17 | WARNING | Line exceeds 80 characters; contains 89 characters
  18 | WARNING | Line exceeds 80 characters; contains 90 characters
  19 | WARNING | Line exceeds 80 characters; contains 116 characters
  20 | WARNING | Line exceeds 80 characters; contains 112 characters
  23 | WARNING | Line exceeds 80 characters; contains 125 characters
  25 | WARNING | Line exceeds 80 characters; contains 86 characters
  39 | WARNING | Line exceeds 80 characters; contains 103 characters
  40 | WARNING | Line exceeds 80 characters; contains 91 characters
  43 | WARNING | Line exceeds 80 characters; contains 135 characters
  51 | WARNING | Line exceeds 80 characters; contains 83 characters
  57 | WARNING | Line exceeds 80 characters; contains 86 characters
  59 | WARNING | Line exceeds 80 characters; contains 152 characters
  68 | WARNING | Line exceeds 80 characters; contains 98 characters
  70 | WARNING | Line exceeds 80 characters; contains 97 characters
  96 | WARNING | Line exceeds 80 characters; contains 125 characters
  99 | WARNING | Line exceeds 80 characters; contains 100 characters
 114 | WARNING | Line exceeds 80 characters; contains 84 characters
 154 | WARNING | Line exceeds 80 characters; contains 111 characters
 159 | WARNING | Line exceeds 80 characters; contains 89 characters
 162 | WARNING | Line exceeds 80 characters; contains 156 characters
 166 | WARNING | Line exceeds 80 characters; contains 87 characters
 167 | WARNING | Line exceeds 80 characters; contains 94 characters
 170 | WARNING | Line exceeds 80 characters; contains 88 characters
 174 | WARNING | Line exceeds 80 characters; contains 95 characters
 183 | WARNING | Line exceeds 80 characters; contains 85 characters
 187 | WARNING | Line exceeds 80 characters; contains 89 characters
 191 | WARNING | Line exceeds 80 characters; contains 139 characters
 199 | WARNING | Line exceeds 80 characters; contains 141 characters
 223 | WARNING | Line exceeds 80 characters; contains 106 characters
 224 | WARNING | Line exceeds 80 characters; contains 105 characters
 225 | WARNING | Line exceeds 80 characters; contains 137 characters
 228 | WARNING | Line exceeds 80 characters; contains 102 characters
 255 | WARNING | Line exceeds 80 characters; contains 164 characters
 266 | WARNING | Line exceeds 80 characters; contains 108 characters
 277 | WARNING | Line exceeds 80 characters; contains 96 characters
 279 | WARNING | Line exceeds 80 characters; contains 110 characters
 287 | WARNING | Line exceeds 80 characters; contains 111 characters
 288 | WARNING | Line exceeds 80 characters; contains 87 characters
----------------------------------------------------------------------


FILE: /Users/tesboss/_PROJECTS/drupal/linkchecker/README.txt
----------------------------------------------------------------------
FOUND 0 ERRORS AND 8 WARNINGS AFFECTING 8 LINES
----------------------------------------------------------------------
  9 | WARNING | Line exceeds 80 characters; contains 94 characters
 41 | WARNING | Line exceeds 80 characters; contains 82 characters
 43 | WARNING | Line exceeds 80 characters; contains 93 characters
 46 | WARNING | Line exceeds 80 characters; contains 97 characters
 47 | WARNING | Line exceeds 80 characters; contains 87 characters
 48 | WARNING | Line exceeds 80 characters; contains 84 characters
 49 | WARNING | Line exceeds 80 characters; contains 100 characters
 50 | WARNING | Line exceeds 80 characters; contains 94 characters
----------------------------------------------------------------------


FILE: /Users/tesboss/_PROJECTS/drupal/linkchecker/linkchecker.redirect.inc
--------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
--------------------------------------------------------------------------------------------------------------------------------------
 20 | ERROR | The array declaration extends to column 89 (the limit is 80). The array content should be split up over multiple lines
 21 | ERROR | The array declaration extends to column 107 (the limit is 80). The array content should be split up over multiple lines
 39 | ERROR | Type hint "array" missing for $urls
--------------------------------------------------------------------------------------------------------------------------------------


FILE: /Users/tesboss/_PROJECTS/drupal/linkchecker/linkchecker.install
---------------------------------------------------------------------------------------------------------------------------------------------
FOUND 7 ERRORS AND 2 WARNINGS AFFECTING 7 LINES
---------------------------------------------------------------------------------------------------------------------------------------------
 358 | ERROR   | [x] Comment indentation error after - element, expected 3 spaces
 360 | ERROR   | [x] Comment indentation error after - element, expected 3 spaces
 363 | WARNING | [x] There must be no blank line following an inline comment
 363 | WARNING | [ ] There must be no blank line following an inline comment
 363 | ERROR   | [x] Comment indentation error after - element, expected 3 spaces
 474 | ERROR   | [ ] The array declaration extends to column 222 (the limit is 80). The array content should be split up over multiple lines
 497 | ERROR   | [ ] The array declaration extends to column 222 (the limit is 80). The array content should be split up over multiple lines
 526 | ERROR   | [x] Expected 1 blank line before function; 0 found
 533 | ERROR   | [x] Expected 1 blank line after function; 0 found
---------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------------------


FILE: /Users/tesboss/_PROJECTS/drupal/linkchecker/linkchecker.test
---------------------------------------------------------------------------------------------------------------------------------------------
FOUND 42 ERRORS AND 12 WARNINGS AFFECTING 48 LINES
---------------------------------------------------------------------------------------------------------------------------------------------
   8 | ERROR   | [x] Missing class doc comment
  10 | ERROR   | [x] Missing function doc comment
  18 | ERROR   | [x] Missing function doc comment
  35 | ERROR   | [x] Missing function doc comment
 207 | ERROR   | [ ] The array declaration extends to column 116 (the limit is 80). The array content should be split up over multiple lines
 242 | ERROR   | [ ] The array declaration extends to column 187 (the limit is 80). The array content should be split up over multiple lines
 254 | ERROR   | [ ] The array declaration extends to column 266 (the limit is 80). The array content should be split up over multiple lines
 263 | ERROR   | [ ] The array declaration extends to column 115 (the limit is 80). The array content should be split up over multiple lines
 266 | WARNING | [ ] Line exceeds 80 characters; contains 193 characters
 266 | WARNING | [x] There must be no blank line following an inline comment
 266 | WARNING | [ ] There must be no blank line following an inline comment
 287 | ERROR   | [ ] The array declaration extends to column 126 (the limit is 80). The array content should be split up over multiple lines
 294 | ERROR   | [ ] The array declaration extends to column 105 (the limit is 80). The array content should be split up over multiple lines
 299 | ERROR   | [ ] The array declaration extends to column 187 (the limit is 80). The array content should be split up over multiple lines
 309 | ERROR   | [ ] The array declaration extends to column 266 (the limit is 80). The array content should be split up over multiple lines
 379 | ERROR   | [x] Visibility must be declared on method "getLinkCheckerLink"
 386 | ERROR   | [x] Visibility must be declared on method "getLinkCheckerLinksCount"
 388 | ERROR   | [x] Expected 1 blank line after function; 0 found
 389 | ERROR   | [x] The closing brace for the class must have an empty line before it
 392 | ERROR   | [x] Missing class doc comment
 394 | ERROR   | [x] Missing function doc comment
 402 | ERROR   | [x] Missing function doc comment
 404 | WARNING | [x] '@todo: Add comment interface test.' should match the format '@todo Fix problem X here.'
 405 | WARNING | [x] There must be no blank line following an inline comment
 405 | WARNING | [ ] There must be no blank line following an inline comment
 432 | ERROR   | [x] Missing function doc comment
 474 | ERROR   | [ ] The array declaration extends to column 116 (the limit is 80). The array content should be split up over multiple lines
 493 | ERROR   | [ ] The array declaration extends to column 248 (the limit is 80). The array content should be split up over multiple lines
 500 | ERROR   | [ ] The array declaration extends to column 248 (the limit is 80). The array content should be split up over multiple lines
 503 | ERROR   | [x] Missing function doc comment
 514 | WARNING | [ ] Line exceeds 80 characters; contains 98 characters
 522 | WARNING | [ ] Line exceeds 80 characters; contains 86 characters
 526 | WARNING | [ ] Line exceeds 80 characters; contains 90 characters
 543 | ERROR   | [ ] The array declaration extends to column 248 (the limit is 80). The array content should be split up over multiple lines
 550 | ERROR   | [ ] The array declaration extends to column 248 (the limit is 80). The array content should be split up over multiple lines
 553 | ERROR   | [ ] Parameter $fail_count is not described in comment
 561 | ERROR   | [x] Visibility must be declared on method "setLinkAsBroken"
 563 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found 4
 563 | ERROR   | [x] Object operator not indented correctly; expected 6 spaces but found 4
 564 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found 4
 571 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found 4
 583 | ERROR   | [x] Visibility must be declared on method "getLinkCheckerLink"
 585 | ERROR   | [x] Expected 1 blank line after function; 0 found
 586 | ERROR   | [x] The closing brace for the class must have an empty line before it
 595 | ERROR   | [x] Missing function doc comment
 603 | ERROR   | [x] Visibility must be declared on method "setUp"
 603 | ERROR   | [x] Missing function doc comment
 607 | ERROR   | [x] Visibility must be declared on method "testLinkCheckerImpersonateUser"
 607 | ERROR   | [x] Missing function doc comment
 611 | WARNING | [ ] Line exceeds 80 characters; contains 82 characters
 646 | WARNING | [ ] Line exceeds 80 characters; contains 86 characters
 648 | WARNING | [ ] Line exceeds 80 characters; contains 87 characters
 651 | ERROR   | [x] Expected 1 blank line after function; 0 found
 652 | ERROR   | [x] The closing brace for the class must have an empty line before it
---------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 31 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------------------


FILE: /Users/tesboss/_PROJECTS/drupal/linkchecker/linkchecker.batch.inc
---------------------------------------------------------------------------------------------------------------------------------------
FOUND 16 ERRORS AFFECTING 16 LINES
---------------------------------------------------------------------------------------------------------------------------------------
  13 | ERROR | The array declaration extends to column 160 (the limit is 80). The array content should be split up over multiple lines
  52 | ERROR | Type hint "array" missing for $operations
  67 | ERROR | The array declaration extends to column 259 (the limit is 80). The array content should be split up over multiple lines
  71 | ERROR | The array declaration extends to column 84 (the limit is 80). The array content should be split up over multiple lines
 106 | ERROR | Type hint "array" missing for $operations
 125 | ERROR | The array declaration extends to column 88 (the limit is 80). The array content should be split up over multiple lines
 160 | ERROR | Type hint "array" missing for $operations
 185 | ERROR | The array declaration extends to column 82 (the limit is 80). The array content should be split up over multiple lines
 206 | ERROR | Type hint "array" missing for $context
 226 | ERROR | Type hint "array" missing for $operations
 251 | ERROR | The array declaration extends to column 85 (the limit is 80). The array content should be split up over multiple lines
 272 | ERROR | Type hint "array" missing for $context
 291 | ERROR | Type hint "array" missing for $operations
 316 | ERROR | The array declaration extends to column 90 (the limit is 80). The array content should be split up over multiple lines
 337 | ERROR | Type hint "array" missing for $context
 357 | ERROR | Type hint "array" missing for $operations
---------------------------------------------------------------------------------------------------------------------------------------


FILE: /Users/tesboss/_PROJECTS/drupal/linkchecker/modules/linkchecker_bean/linkchecker_bean.module
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 12 ERRORS AND 7 WARNINGS AFFECTING 19 LINES
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
   9 | WARNING | [ ] Doc comment indicates hook_form_alter() but function signature is "linkchecker_bean_form_linkchecker_admin_settings_form_alter" instead of
     |         |     "linkchecker_bean_form_alter". Did you mean hook_form_FORM_ID_alter()?
  21 | WARNING | [ ] All variables defined by your module must be prefixed with your module's name to avoid name collisions with others. Expected start with
     |         |     "linkchecker_bean" but found "linkchecker_scan_beans"
  55 | ERROR   | [x] Expected 1 blank line after function; 2 found
  66 | ERROR   | [x] Expected 1 blank line after function; 2 found
  82 | ERROR   | [ ] The array declaration extends to column 86 (the limit is 80). The array content should be split up over multiple lines
 126 | ERROR   | [x] Expected 1 blank line after function; 2 found
 207 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters
 211 | WARNING | [ ] Line exceeds 80 characters; contains 84 characters
 215 | WARNING | [ ] Line exceeds 80 characters; contains 82 characters
 259 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters
 287 | ERROR   | [ ] The array declaration extends to column 246 (the limit is 80). The array content should be split up over multiple lines
 319 | ERROR   | [ ] The array declaration extends to column 81 (the limit is 80). The array content should be split up over multiple lines
 342 | ERROR   | [ ] Type hint "array" missing for $operations
 353 | WARNING | [ ] Line exceeds 80 characters; contains 85 characters
 357 | ERROR   | [x] Separate the @param and @return sections by a blank line.
 386 | ERROR   | [x] Line indented incorrectly; expected 2 spaces, found 0
 405 | ERROR   | [ ] The array declaration extends to column 184 (the limit is 80). The array content should be split up over multiple lines
 408 | ERROR   | [ ] The array declaration extends to column 187 (the limit is 80). The array content should be split up over multiple lines
 445 | ERROR   | [x] Expected 1 newline at end of file; 0 found
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------

Time: 1.96 secs; Memory: 30MB

📌 Task
Status

Needs work

Version

1.0

Component

Code

Created by

🇦🇺Australia VladimirAus Brisbane, Australia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @VladimirAus
  • 🇦🇺Australia VladimirAus Brisbane, Australia

    ✅ Automated fixes applied
    ✅ MR created
    🛑 Remaining fixes

    FILE: /Users/tesboss/_PROJECTS/drupal/linkchecker/linkchecker.admin.inc
    -----------------------------------------------------------------------------------------------------------------------------------------
    FOUND 5 ERRORS AND 5 WARNINGS AFFECTING 10 LINES
    -----------------------------------------------------------------------------------------------------------------------------------------
     115 | ERROR   | The array declaration extends to column 593 (the limit is 80). The array content should be split up over multiple lines
     147 | WARNING | #options values usually have to run through t() for translation
     148 | WARNING | #options values usually have to run through t() for translation
     149 | WARNING | #options values usually have to run through t() for translation
     150 | WARNING | #options values usually have to run through t() for translation
     151 | WARNING | #options values usually have to run through t() for translation
     159 | ERROR   | The array declaration extends to column 107 (the limit is 80). The array content should be split up over multiple lines
     199 | ERROR   | The array declaration extends to column 801 (the limit is 80). The array content should be split up over multiple lines
     254 | ERROR   | The array declaration extends to column 94 (the limit is 80). The array content should be split up over multiple lines
     255 | ERROR   | The array declaration extends to column 92 (the limit is 80). The array content should be split up over multiple lines
    -----------------------------------------------------------------------------------------------------------------------------------------
    
    
    FILE: /Users/tesboss/_PROJECTS/drupal/linkchecker/linkchecker.pages.inc
    ---------------------------------------------------------------------------------------------------------------------------------------
    FOUND 7 ERRORS AFFECTING 7 LINES
    ---------------------------------------------------------------------------------------------------------------------------------------
     118 | ERROR | Type hint "SelectQueryInterface" missing for $query
     120 | ERROR | The array declaration extends to column 172 (the limit is 80). The array content should be split up over multiple lines
     159 | ERROR | The array declaration extends to column 133 (the limit is 80). The array content should be split up over multiple lines
     197 | ERROR | The array declaration extends to column 157 (the limit is 80). The array content should be split up over multiple lines
     231 | ERROR | The array declaration extends to column 240 (the limit is 80). The array content should be split up over multiple lines
     268 | ERROR | The array declaration extends to column 94 (the limit is 80). The array content should be split up over multiple lines
     269 | ERROR | The array declaration extends to column 92 (the limit is 80). The array content should be split up over multiple lines
    ---------------------------------------------------------------------------------------------------------------------------------------
    
    
    FILE: /Users/tesboss/_PROJECTS/drupal/linkchecker/linkchecker.module
    ------------------------------------------------------------------------------------------------------------------------------------------
    FOUND 45 ERRORS AND 32 WARNINGS AFFECTING 75 LINES
    ------------------------------------------------------------------------------------------------------------------------------------------
       12 | ERROR   | Doc comment short description must be on a single line, further text should be a separate paragraph
       18 | ERROR   | Doc comment short description must be on a single line, further text should be a separate paragraph
       25 | ERROR   | Doc comment short description must be on a single line, further text should be a separate paragraph
       45 | WARNING | '@todo' should match the format '@todo Fix problem X here.'
       54 | WARNING | Line exceeds 80 characters; contains 102 characters
      155 | ERROR   | Missing parameter type
      158 | ERROR   | Missing parameter type
      164 | ERROR   | Missing parameter type
      168 | ERROR   | Missing parameter type
      179 | ERROR   | Missing parameter type
      197 | ERROR   | Description for the @return value is missing
      232 | ERROR   | Description for the @return value is missing
      240 | WARNING | Line exceeds 80 characters; contains 90 characters
      359 | WARNING | Line exceeds 80 characters; contains 89 characters
      410 | WARNING | Line exceeds 80 characters; contains 87 characters
      521 | ERROR   | The array declaration extends to column 273 (the limit is 80). The array content should be split up over multiple lines
      563 | WARNING | Line exceeds 80 characters; contains 89 characters
      601 | ERROR   | The array declaration extends to column 248 (the limit is 80). The array content should be split up over multiple lines
      646 | ERROR   | The array declaration extends to column 114 (the limit is 80). The array content should be split up over multiple lines
      702 | ERROR   | The array declaration extends to column 100 (the limit is 80). The array content should be split up over multiple lines
      707 | ERROR   | The array declaration extends to column 191 (the limit is 80). The array content should be split up over multiple lines
      711 | ERROR   | The array declaration extends to column 216 (the limit is 80). The array content should be split up over multiple lines
      714 | ERROR   | The array declaration extends to column 223 (the limit is 80). The array content should be split up over multiple lines
      744 | ERROR   | The array declaration extends to column 218 (the limit is 80). The array content should be split up over multiple lines
      747 | ERROR   | The array declaration extends to column 224 (the limit is 80). The array content should be split up over multiple lines
      776 | ERROR   | The array declaration extends to column 222 (the limit is 80). The array content should be split up over multiple lines
      779 | ERROR   | The array declaration extends to column 219 (the limit is 80). The array content should be split up over multiple lines
      882 | WARNING | Line exceeds 80 characters; contains 195 characters
      895 | WARNING | Line exceeds 80 characters; contains 195 characters
      919 | ERROR   | The array declaration extends to column 319 (the limit is 80). The array content should be split up over multiple lines
      922 | ERROR   | The array declaration extends to column 269 (the limit is 80). The array content should be split up over multiple lines
     1019 | WARNING | Do not use the raw $form_state['input'], use $form_state['values'] instead where possible
     1023 | ERROR   | The array declaration extends to column 327 (the limit is 80). The array content should be split up over multiple lines
     1026 | ERROR   | The array declaration extends to column 273 (the limit is 80). The array content should be split up over multiple lines
     1111 | WARNING | Do not use the raw $form_state['input'], use $form_state['values'] instead where possible
     1111 | WARNING | Do not use the raw $form_state['input'], use $form_state['values'] instead where possible
     1111 | WARNING | Do not use the raw $form_state['input'], use $form_state['values'] instead where possible
     1115 | ERROR   | The array declaration extends to column 318 (the limit is 80). The array content should be split up over multiple lines
     1118 | ERROR   | The array declaration extends to column 269 (the limit is 80). The array content should be split up over multiple lines
     1253 | ERROR   | The array declaration extends to column 178 (the limit is 80). The array content should be split up over multiple lines
     1339 | WARNING | Line exceeds 80 characters; contains 81 characters
     1343 | WARNING | Line exceeds 80 characters; contains 84 characters
     1347 | WARNING | Line exceeds 80 characters; contains 82 characters
     1391 | ERROR   | The array declaration extends to column 178 (the limit is 80). The array content should be split up over multiple lines
     1431 | WARNING | Line exceeds 80 characters; contains 81 characters
     1435 | WARNING | Line exceeds 80 characters; contains 84 characters
     1439 | WARNING | Line exceeds 80 characters; contains 82 characters
     1535 | WARNING | Line exceeds 80 characters; contains 81 characters
     1539 | WARNING | Line exceeds 80 characters; contains 84 characters
     1543 | WARNING | Line exceeds 80 characters; contains 82 characters
     1602 | WARNING | Line exceeds 80 characters; contains 81 characters
     1606 | ERROR   | Missing parameter comment
     1608 | ERROR   | Type hint "array" missing for $links
     1631 | WARNING | Line exceeds 80 characters; contains 87 characters
     1635 | ERROR   | Missing parameter comment
     1637 | ERROR   | Type hint "array" missing for $links
     1660 | WARNING | Line exceeds 80 characters; contains 97 characters
     1664 | ERROR   | Missing parameter comment
     1666 | ERROR   | Type hint "array" missing for $links
     1699 | ERROR   | Type hint "array" missing for $links
     1700 | ERROR   | The array declaration extends to column 246 (the limit is 80). The array content should be split up over multiple lines
     1709 | WARNING | Line exceeds 80 characters; contains 83 characters
     1719 | ERROR   | Type hint "array" missing for $links
     1720 | ERROR   | The array declaration extends to column 249 (the limit is 80). The array content should be split up over multiple lines
     1729 | WARNING | Line exceeds 80 characters; contains 93 characters
     1740 | ERROR   | Type hint "array" missing for $links
     1741 | ERROR   | The array declaration extends to column 254 (the limit is 80). The array content should be split up over multiple lines
     1846 | ERROR   | Description for the @return value is missing
     1909 | WARNING | Line exceeds 80 characters; contains 176 characters
     2041 | WARNING | '@todo' should match the format '@todo Fix problem X here.'
     2099 | WARNING | Line exceeds 80 characters; contains 99 characters
     2192 | ERROR   | The array declaration extends to column 93 (the limit is 80). The array content should be split up over multiple lines
     2317 | WARNING | '@todo' should match the format '@todo Fix problem X here.'
     2614 | ERROR   | The array declaration extends to column 135 (the limit is 80). The array content should be split up over multiple lines
     2624 | ERROR   | Description for the @return value is missing
     2631 | WARNING | Line exceeds 80 characters; contains 81 characters
     2754 | WARNING | Line exceeds 80 characters; contains 83 characters
    ------------------------------------------------------------------------------------------------------------------------------------------
    
    
    FILE: /Users/tesboss/_PROJECTS/drupal/linkchecker/linkchecker.drush.inc
    -----------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    -----------------------------------------------------------------------
     23 | ERROR | Comment indentation error, expected only 1 spaces
    -----------------------------------------------------------------------
    
    
    FILE: /Users/tesboss/_PROJECTS/drupal/linkchecker/linkchecker.info
    ------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    ------------------------------------------------------------------------------------------
     5 | ERROR | It's only necessary to declare files[] if they declare a class or interface.
    ------------------------------------------------------------------------------------------
    
    
    FILE: /Users/tesboss/_PROJECTS/drupal/linkchecker/CHANGELOG.txt
    ----------------------------------------------------------------------
    FOUND 0 ERRORS AND 41 WARNINGS AFFECTING 41 LINES
    ----------------------------------------------------------------------
       4 | WARNING | Line exceeds 80 characters; contains 94 characters
       9 | WARNING | Line exceeds 80 characters; contains 84 characters
      10 | WARNING | Line exceeds 80 characters; contains 94 characters
      17 | WARNING | Line exceeds 80 characters; contains 89 characters
      18 | WARNING | Line exceeds 80 characters; contains 90 characters
      19 | WARNING | Line exceeds 80 characters; contains 116 characters
      20 | WARNING | Line exceeds 80 characters; contains 112 characters
      23 | WARNING | Line exceeds 80 characters; contains 125 characters
      25 | WARNING | Line exceeds 80 characters; contains 86 characters
      39 | WARNING | Line exceeds 80 characters; contains 103 characters
      40 | WARNING | Line exceeds 80 characters; contains 91 characters
      43 | WARNING | Line exceeds 80 characters; contains 135 characters
      51 | WARNING | Line exceeds 80 characters; contains 83 characters
      57 | WARNING | Line exceeds 80 characters; contains 86 characters
      59 | WARNING | Line exceeds 80 characters; contains 152 characters
      68 | WARNING | Line exceeds 80 characters; contains 98 characters
      70 | WARNING | Line exceeds 80 characters; contains 97 characters
      96 | WARNING | Line exceeds 80 characters; contains 125 characters
      99 | WARNING | Line exceeds 80 characters; contains 100 characters
     114 | WARNING | Line exceeds 80 characters; contains 84 characters
     154 | WARNING | Line exceeds 80 characters; contains 111 characters
     159 | WARNING | Line exceeds 80 characters; contains 89 characters
     162 | WARNING | Line exceeds 80 characters; contains 156 characters
     166 | WARNING | Line exceeds 80 characters; contains 87 characters
     167 | WARNING | Line exceeds 80 characters; contains 94 characters
     170 | WARNING | Line exceeds 80 characters; contains 88 characters
     174 | WARNING | Line exceeds 80 characters; contains 95 characters
     183 | WARNING | Line exceeds 80 characters; contains 85 characters
     187 | WARNING | Line exceeds 80 characters; contains 89 characters
     191 | WARNING | Line exceeds 80 characters; contains 139 characters
     199 | WARNING | Line exceeds 80 characters; contains 141 characters
     223 | WARNING | Line exceeds 80 characters; contains 106 characters
     224 | WARNING | Line exceeds 80 characters; contains 105 characters
     225 | WARNING | Line exceeds 80 characters; contains 137 characters
     228 | WARNING | Line exceeds 80 characters; contains 102 characters
     255 | WARNING | Line exceeds 80 characters; contains 164 characters
     266 | WARNING | Line exceeds 80 characters; contains 108 characters
     277 | WARNING | Line exceeds 80 characters; contains 96 characters
     279 | WARNING | Line exceeds 80 characters; contains 110 characters
     287 | WARNING | Line exceeds 80 characters; contains 111 characters
     288 | WARNING | Line exceeds 80 characters; contains 87 characters
    ----------------------------------------------------------------------
    
    
    FILE: /Users/tesboss/_PROJECTS/drupal/linkchecker/README.txt
    ----------------------------------------------------------------------
    FOUND 0 ERRORS AND 8 WARNINGS AFFECTING 8 LINES
    ----------------------------------------------------------------------
      9 | WARNING | Line exceeds 80 characters; contains 94 characters
     41 | WARNING | Line exceeds 80 characters; contains 82 characters
     43 | WARNING | Line exceeds 80 characters; contains 93 characters
     46 | WARNING | Line exceeds 80 characters; contains 97 characters
     47 | WARNING | Line exceeds 80 characters; contains 87 characters
     48 | WARNING | Line exceeds 80 characters; contains 84 characters
     49 | WARNING | Line exceeds 80 characters; contains 100 characters
     50 | WARNING | Line exceeds 80 characters; contains 94 characters
    ----------------------------------------------------------------------
    
    
    FILE: /Users/tesboss/_PROJECTS/drupal/linkchecker/linkchecker.redirect.inc
    --------------------------------------------------------------------------------------------------------------------------------------
    FOUND 3 ERRORS AFFECTING 3 LINES
    --------------------------------------------------------------------------------------------------------------------------------------
     20 | ERROR | The array declaration extends to column 89 (the limit is 80). The array content should be split up over multiple lines
     21 | ERROR | The array declaration extends to column 107 (the limit is 80). The array content should be split up over multiple lines
     39 | ERROR | Type hint "array" missing for $urls
    --------------------------------------------------------------------------------------------------------------------------------------
    
    
    FILE: /Users/tesboss/_PROJECTS/drupal/linkchecker/linkchecker.install
    ---------------------------------------------------------------------------------------------------------------------------------------
    FOUND 3 ERRORS AFFECTING 3 LINES
    ---------------------------------------------------------------------------------------------------------------------------------------
     361 | ERROR | Comment indentation error, expected only 3 spaces
     473 | ERROR | The array declaration extends to column 222 (the limit is 80). The array content should be split up over multiple lines
     496 | ERROR | The array declaration extends to column 222 (the limit is 80). The array content should be split up over multiple lines
    ---------------------------------------------------------------------------------------------------------------------------------------
    
    
    FILE: /Users/tesboss/_PROJECTS/drupal/linkchecker/linkchecker.test
    -----------------------------------------------------------------------------------------------------------------------------------------
    FOUND 26 ERRORS AND 7 WARNINGS AFFECTING 33 LINES
    -----------------------------------------------------------------------------------------------------------------------------------------
       8 | ERROR   | Doc comment is empty
      13 | ERROR   | Doc comment is empty
      24 | ERROR   | Doc comment is empty
      44 | ERROR   | Doc comment is empty
     219 | ERROR   | The array declaration extends to column 116 (the limit is 80). The array content should be split up over multiple lines
     254 | ERROR   | The array declaration extends to column 187 (the limit is 80). The array content should be split up over multiple lines
     266 | ERROR   | The array declaration extends to column 266 (the limit is 80). The array content should be split up over multiple lines
     275 | ERROR   | The array declaration extends to column 115 (the limit is 80). The array content should be split up over multiple lines
     278 | WARNING | Line exceeds 80 characters; contains 193 characters
     298 | ERROR   | The array declaration extends to column 126 (the limit is 80). The array content should be split up over multiple lines
     305 | ERROR   | The array declaration extends to column 105 (the limit is 80). The array content should be split up over multiple lines
     310 | ERROR   | The array declaration extends to column 187 (the limit is 80). The array content should be split up over multiple lines
     320 | ERROR   | The array declaration extends to column 266 (the limit is 80). The array content should be split up over multiple lines
     402 | ERROR   | Doc comment is empty
     407 | ERROR   | Doc comment is empty
     418 | ERROR   | Doc comment is empty
     450 | ERROR   | Doc comment is empty
     495 | ERROR   | The array declaration extends to column 116 (the limit is 80). The array content should be split up over multiple lines
     514 | ERROR   | The array declaration extends to column 248 (the limit is 80). The array content should be split up over multiple lines
     521 | ERROR   | The array declaration extends to column 248 (the limit is 80). The array content should be split up over multiple lines
     524 | ERROR   | Doc comment is empty
     538 | WARNING | Line exceeds 80 characters; contains 98 characters
     546 | WARNING | Line exceeds 80 characters; contains 86 characters
     550 | WARNING | Line exceeds 80 characters; contains 90 characters
     567 | ERROR   | The array declaration extends to column 248 (the limit is 80). The array content should be split up over multiple lines
     574 | ERROR   | The array declaration extends to column 248 (the limit is 80). The array content should be split up over multiple lines
     577 | ERROR   | Parameter $fail_count is not described in comment
     620 | ERROR   | Doc comment is empty
     631 | ERROR   | Doc comment is empty
     638 | ERROR   | Doc comment is empty
     645 | WARNING | Line exceeds 80 characters; contains 82 characters
     680 | WARNING | Line exceeds 80 characters; contains 86 characters
     682 | WARNING | Line exceeds 80 characters; contains 87 characters
    -----------------------------------------------------------------------------------------------------------------------------------------
    
    
    FILE: /Users/tesboss/_PROJECTS/drupal/linkchecker/linkchecker.batch.inc
    ---------------------------------------------------------------------------------------------------------------------------------------
    FOUND 16 ERRORS AFFECTING 16 LINES
    ---------------------------------------------------------------------------------------------------------------------------------------
      13 | ERROR | The array declaration extends to column 160 (the limit is 80). The array content should be split up over multiple lines
      52 | ERROR | Type hint "array" missing for $operations
      67 | ERROR | The array declaration extends to column 259 (the limit is 80). The array content should be split up over multiple lines
      71 | ERROR | The array declaration extends to column 84 (the limit is 80). The array content should be split up over multiple lines
     106 | ERROR | Type hint "array" missing for $operations
     125 | ERROR | The array declaration extends to column 88 (the limit is 80). The array content should be split up over multiple lines
     160 | ERROR | Type hint "array" missing for $operations
     185 | ERROR | The array declaration extends to column 82 (the limit is 80). The array content should be split up over multiple lines
     206 | ERROR | Type hint "array" missing for $context
     226 | ERROR | Type hint "array" missing for $operations
     251 | ERROR | The array declaration extends to column 85 (the limit is 80). The array content should be split up over multiple lines
     272 | ERROR | Type hint "array" missing for $context
     291 | ERROR | Type hint "array" missing for $operations
     316 | ERROR | The array declaration extends to column 90 (the limit is 80). The array content should be split up over multiple lines
     337 | ERROR | Type hint "array" missing for $context
     357 | ERROR | Type hint "array" missing for $operations
    ---------------------------------------------------------------------------------------------------------------------------------------
    
    
    FILE: /Users/tesboss/_PROJECTS/drupal/linkchecker/modules/linkchecker_bean/linkchecker_bean.module
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    FOUND 6 ERRORS AND 7 WARNINGS AFFECTING 13 LINES
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
       9 | WARNING | Doc comment indicates hook_form_alter() but function signature is "linkchecker_bean_form_linkchecker_admin_settings_form_alter" instead of
         |         | "linkchecker_bean_form_alter". Did you mean hook_form_FORM_ID_alter()?
      21 | WARNING | All variables defined by your module must be prefixed with your module's name to avoid name collisions with others. Expected start with
         |         | "linkchecker_bean" but found "linkchecker_scan_beans"
      80 | ERROR   | The array declaration extends to column 86 (the limit is 80). The array content should be split up over multiple lines
     204 | WARNING | Line exceeds 80 characters; contains 81 characters
     208 | WARNING | Line exceeds 80 characters; contains 84 characters
     212 | WARNING | Line exceeds 80 characters; contains 82 characters
     256 | WARNING | Line exceeds 80 characters; contains 81 characters
     284 | ERROR   | The array declaration extends to column 246 (the limit is 80). The array content should be split up over multiple lines
     316 | ERROR   | The array declaration extends to column 81 (the limit is 80). The array content should be split up over multiple lines
     339 | ERROR   | Type hint "array" missing for $operations
     350 | WARNING | Line exceeds 80 characters; contains 85 characters
     403 | ERROR   | The array declaration extends to column 184 (the limit is 80). The array content should be split up over multiple lines
     406 | ERROR   | The array declaration extends to column 187 (the limit is 80). The array content should be split up over multiple lines
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    
    Time: 2.16 secs; Memory: 30MB
    
    
    
  • 🇮🇹Italy apaderno Brescia, 🇮🇹

    The issue summary should always describe what the issue is trying to fix and, in the case, of coding standards issues, show which command has been used, which arguments have been used, and which report that command shown.

  • bindu r made their first commit to this issue’s fork.

  • Open in Jenkins → Open on Drupal.org →
    Core: 7.x + Environment: PHP 7 & MySQL 5.5
    last update over 1 year ago
    7 pass
  • First commit to issue fork.
  • Open in Jenkins → Open on Drupal.org →
    Core: 7.x + Environment: PHP 7 & MySQL 5.5
    last update over 1 year ago
    7 pass
  • 🇮🇳India nitin_lama India

    Remaining issues:

    FILE: /home/system/Documents/contribution/linkchecker-3335579/linkchecker.test
    ------------------------------------------------------------------------------
    FOUND 13 ERRORS AND 7 WARNINGS AFFECTING 20 LINES
    ------------------------------------------------------------------------------
       8 | ERROR   | Doc comment is empty
      13 | ERROR   | Doc comment is empty
      24 | ERROR   | Doc comment is empty
      44 | ERROR   | Doc comment is empty
     297 | WARNING | Line exceeds 80 characters; contains 193 characters
     445 | ERROR   | Doc comment is empty
     450 | ERROR   | Doc comment is empty
     461 | ERROR   | Doc comment is empty
     493 | ERROR   | Doc comment is empty
     576 | ERROR   | Doc comment is empty
     590 | WARNING | Line exceeds 80 characters; contains 98 characters
     598 | WARNING | Line exceeds 80 characters; contains 86 characters
     602 | WARNING | Line exceeds 80 characters; contains 90 characters
     635 | ERROR   | Parameter $fail_count is not described in comment
     678 | ERROR   | Doc comment is empty
     689 | ERROR   | Doc comment is empty
     696 | ERROR   | Doc comment is empty
     703 | WARNING | Line exceeds 80 characters; contains 82 characters
     738 | WARNING | Line exceeds 80 characters; contains 86 characters
     740 | WARNING | Line exceeds 80 characters; contains 87 characters
    ------------------------------------------------------------------------------
    
    
    FILE: /home/system/Documents/contribution/linkchecker-3335579/linkchecker.module
    ----------------------------------------------------------------------------------------------------------------------
    FOUND 21 ERRORS AND 28 WARNINGS AFFECTING 49 LINES
    ----------------------------------------------------------------------------------------------------------------------
       12 | ERROR   | Doc comment short description must be on a single line, further text should be a separate paragraph
       18 | ERROR   | Doc comment short description must be on a single line, further text should be a separate paragraph
       25 | ERROR   | Doc comment short description must be on a single line, further text should be a separate paragraph
       45 | WARNING | '@todo' should match the format '@todo Fix problem X here.'
       54 | WARNING | Line exceeds 80 characters; contains 102 characters
      155 | ERROR   | Missing parameter type
      158 | ERROR   | Missing parameter type
      164 | ERROR   | Missing parameter type
      168 | ERROR   | Missing parameter type
      179 | ERROR   | Missing parameter type
      197 | ERROR   | Description for the @return value is missing
      232 | ERROR   | Description for the @return value is missing
      240 | WARNING | Line exceeds 80 characters; contains 90 characters
      359 | WARNING | Line exceeds 80 characters; contains 89 characters
      410 | WARNING | Line exceeds 80 characters; contains 87 characters
      567 | WARNING | Line exceeds 80 characters; contains 89 characters
      924 | WARNING | Line exceeds 80 characters; contains 195 characters
      937 | WARNING | Line exceeds 80 characters; contains 195 characters
     1408 | WARNING | Line exceeds 80 characters; contains 81 characters
     1412 | WARNING | Line exceeds 80 characters; contains 84 characters
     1416 | WARNING | Line exceeds 80 characters; contains 82 characters
     1503 | WARNING | Line exceeds 80 characters; contains 81 characters
     1507 | WARNING | Line exceeds 80 characters; contains 84 characters
     1511 | WARNING | Line exceeds 80 characters; contains 82 characters
     1607 | WARNING | Line exceeds 80 characters; contains 81 characters
     1611 | WARNING | Line exceeds 80 characters; contains 84 characters
     1615 | WARNING | Line exceeds 80 characters; contains 82 characters
     1674 | WARNING | Line exceeds 80 characters; contains 81 characters
     1678 | ERROR   | Missing parameter comment
     1680 | ERROR   | Type hint "array" missing for $links
     1703 | WARNING | Line exceeds 80 characters; contains 87 characters
     1707 | ERROR   | Missing parameter comment
     1709 | ERROR   | Type hint "array" missing for $links
     1732 | WARNING | Line exceeds 80 characters; contains 97 characters
     1736 | ERROR   | Missing parameter comment
     1738 | ERROR   | Type hint "array" missing for $links
     1771 | ERROR   | Type hint "array" missing for $links
     1786 | WARNING | Line exceeds 80 characters; contains 83 characters
     1796 | ERROR   | Type hint "array" missing for $links
     1811 | WARNING | Line exceeds 80 characters; contains 93 characters
     1822 | ERROR   | Type hint "array" missing for $links
     1933 | ERROR   | Description for the @return value is missing
     1996 | WARNING | Line exceeds 80 characters; contains 176 characters
     2128 | WARNING | '@todo' should match the format '@todo Fix problem X here.'
     2186 | WARNING | Line exceeds 80 characters; contains 99 characters
     2412 | WARNING | '@todo' should match the format '@todo Fix problem X here.'
     2723 | ERROR   | Description for the @return value is missing
     2730 | WARNING | Line exceeds 80 characters; contains 81 characters
     2853 | WARNING | Line exceeds 80 characters; contains 83 characters
    ----------------------------------------------------------------------------------------------------------------------
    
    
    FILE: /home/system/Documents/contribution/linkchecker-3335579/CHANGELOG.txt
    ---------------------------------------------------------------------------
    FOUND 0 ERRORS AND 41 WARNINGS AFFECTING 41 LINES
    ---------------------------------------------------------------------------
       4 | WARNING | Line exceeds 80 characters; contains 94 characters
       9 | WARNING | Line exceeds 80 characters; contains 84 characters
      10 | WARNING | Line exceeds 80 characters; contains 94 characters
      17 | WARNING | Line exceeds 80 characters; contains 89 characters
      18 | WARNING | Line exceeds 80 characters; contains 90 characters
      19 | WARNING | Line exceeds 80 characters; contains 116 characters
      20 | WARNING | Line exceeds 80 characters; contains 112 characters
      23 | WARNING | Line exceeds 80 characters; contains 125 characters
      25 | WARNING | Line exceeds 80 characters; contains 86 characters
      39 | WARNING | Line exceeds 80 characters; contains 103 characters
      40 | WARNING | Line exceeds 80 characters; contains 91 characters
      43 | WARNING | Line exceeds 80 characters; contains 135 characters
      51 | WARNING | Line exceeds 80 characters; contains 83 characters
      57 | WARNING | Line exceeds 80 characters; contains 86 characters
      59 | WARNING | Line exceeds 80 characters; contains 152 characters
      68 | WARNING | Line exceeds 80 characters; contains 98 characters
      70 | WARNING | Line exceeds 80 characters; contains 97 characters
      96 | WARNING | Line exceeds 80 characters; contains 125 characters
      99 | WARNING | Line exceeds 80 characters; contains 100 characters
     114 | WARNING | Line exceeds 80 characters; contains 84 characters
     154 | WARNING | Line exceeds 80 characters; contains 111 characters
     159 | WARNING | Line exceeds 80 characters; contains 89 characters
     162 | WARNING | Line exceeds 80 characters; contains 156 characters
     166 | WARNING | Line exceeds 80 characters; contains 87 characters
     167 | WARNING | Line exceeds 80 characters; contains 94 characters
     170 | WARNING | Line exceeds 80 characters; contains 88 characters
     174 | WARNING | Line exceeds 80 characters; contains 95 characters
     183 | WARNING | Line exceeds 80 characters; contains 85 characters
     187 | WARNING | Line exceeds 80 characters; contains 89 characters
     191 | WARNING | Line exceeds 80 characters; contains 139 characters
     199 | WARNING | Line exceeds 80 characters; contains 141 characters
     223 | WARNING | Line exceeds 80 characters; contains 106 characters
     224 | WARNING | Line exceeds 80 characters; contains 105 characters
     225 | WARNING | Line exceeds 80 characters; contains 137 characters
     228 | WARNING | Line exceeds 80 characters; contains 102 characters
     255 | WARNING | Line exceeds 80 characters; contains 164 characters
     266 | WARNING | Line exceeds 80 characters; contains 108 characters
     277 | WARNING | Line exceeds 80 characters; contains 96 characters
     279 | WARNING | Line exceeds 80 characters; contains 110 characters
     287 | WARNING | Line exceeds 80 characters; contains 111 characters
     288 | WARNING | Line exceeds 80 characters; contains 87 characters
    ---------------------------------------------------------------------------
    
    
    FILE: /home/system/Documents/contribution/linkchecker-3335579/linkchecker.pages.inc
    -----------------------------------------------------------------------------------
    FOUND 2 ERRORS AFFECTING 2 LINES
    -----------------------------------------------------------------------------------
     118 | ERROR | Type hint "SelectQueryInterface" missing for $query
     207 | ERROR | No key specified for array entry; first entry specifies key
    -----------------------------------------------------------------------------------
    
    
    FILE: /home/system/Documents/contribution/linkchecker-3335579/modules/linkchecker_bean/linkchecker_bean.module
    --------------------------------------------------------------------------------------------------------------
    FOUND 27 ERRORS AND 3 WARNINGS AFFECTING 28 LINES
    --------------------------------------------------------------------------------------------------------------
     205 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 2
     206 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 2
     207 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 2
     208 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 2
     209 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 2
     210 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 2
     211 | WARNING | [ ] Line exceeds 80 characters; contains 82 characters
     211 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 2
     212 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 2
     213 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 2
     214 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 2
     215 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 2
     216 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 2
     217 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 2
     218 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 2
     219 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 2
     220 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found 4
     222 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found 4
     223 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found 4
     224 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found 4
     225 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found 4
     226 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found 4
     227 | ERROR   | [x] Line indented incorrectly; expected 8 spaces, found 6
     228 | ERROR   | [x] Line indented incorrectly; expected 6 spaces, found 4
     229 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 2
     230 | ERROR   | [x] Line indented incorrectly; expected 2 spaces, found 0
     230 | ERROR   | [x] Closing brace indented incorrectly; expected 2 spaces, found 0
     259 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters
     351 | ERROR   | [ ] Type hint "array" missing for $operations
     362 | WARNING | [ ] Line exceeds 80 characters; contains 85 characters
    --------------------------------------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 26 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------------------------------------
    
    
    FILE: /home/system/Documents/contribution/linkchecker-3335579/README.txt
    ------------------------------------------------------------------------
    FOUND 0 ERRORS AND 8 WARNINGS AFFECTING 8 LINES
    ------------------------------------------------------------------------
      9 | WARNING | Line exceeds 80 characters; contains 94 characters
     41 | WARNING | Line exceeds 80 characters; contains 82 characters
     43 | WARNING | Line exceeds 80 characters; contains 93 characters
     46 | WARNING | Line exceeds 80 characters; contains 97 characters
     47 | WARNING | Line exceeds 80 characters; contains 87 characters
     48 | WARNING | Line exceeds 80 characters; contains 84 characters
     49 | WARNING | Line exceeds 80 characters; contains 100 characters
     50 | WARNING | Line exceeds 80 characters; contains 94 characters
    ------------------------------------------------------------------------
    
    
    FILE: /home/system/Documents/contribution/linkchecker-3335579/linkchecker.redirect.inc
    --------------------------------------------------------------------------------------------------------------------------------------
    FOUND 3 ERRORS AFFECTING 3 LINES
    --------------------------------------------------------------------------------------------------------------------------------------
     20 | ERROR | The array declaration extends to column 89 (the limit is 80). The array content should be split up over multiple lines
     21 | ERROR | The array declaration extends to column 107 (the limit is 80). The array content should be split up over multiple lines
     39 | ERROR | Type hint "array" missing for $urls
    --------------------------------------------------------------------------------------------------------------------------------------
    
    
    FILE: /home/system/Documents/contribution/linkchecker-3335579/linkchecker.info
    ------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    ------------------------------------------------------------------------------------------
     5 | ERROR | It's only necessary to declare files[] if they declare a class or interface.
    ------------------------------------------------------------------------------------------
    
    FILE: /home/system/Documents/contribution/linkchecker-3335579/linkchecker.module
    ------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 2 LINES
    ------------------------------------------------------------------------------------------------------------
     1069 | WARNING | Do not use the raw $form_state['input'], use $form_state['values'] instead where possible
     1169 | WARNING | Do not use the raw $form_state['input'], use $form_state['values'] instead where possible
     1169 | WARNING | Do not use the raw $form_state['input'], use $form_state['values'] instead where possible
     1169 | WARNING | Do not use the raw $form_state['input'], use $form_state['values'] instead where possible
    ------------------------------------------------------------------------------------------------------------
    
    
    FILE: /home/system/Documents/contribution/linkchecker-3335579/modules/linkchecker_bean/linkchecker_bean.module
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
      9 | WARNING | Doc comment indicates hook_form_alter() but function signature is "linkchecker_bean_form_linkchecker_admin_settings_form_alter" instead of "linkchecker_bean_form_alter". Did you mean
        |         | hook_form_FORM_ID_alter()?
     21 | WARNING | All variables defined by your module must be prefixed with your module's name to avoid name collisions with others. Expected start with "linkchecker_bean" but found
        |         | "linkchecker_scan_beans"
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    
    
    FILE: /home/system/Documents/contribution/linkchecker-3335579/linkchecker.admin.inc
    -----------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 5 WARNINGS AFFECTING 5 LINES
    -----------------------------------------------------------------------------------
     155 | WARNING | #options values usually have to run through t() for translation
     156 | WARNING | #options values usually have to run through t() for translation
     157 | WARNING | #options values usually have to run through t() for translation
     158 | WARNING | #options values usually have to run through t() for translation
     159 | WARNING | #options values usually have to run through t() for translation
    -----------------------------------------------------------------------------------
    
  • Assigned to nitin_lama
  • 🇮🇳India nitin_lama India

    Command used:

    phpcs --standard=Drupal --extensions='php,module,inc,install,test,profile,theme,info,txt,md'
    phpcs --standard=DrupalPractice --extensions='php,module,inc,install,test,profile,theme,info,txt,md'
    
  • Issue was unassigned.
  • 🇦🇺Australia VladimirAus Brisbane, Australia

    VladimirAus changed the visibility of the branch 3335579-d7-coding-standard to hidden.

  • 🇦🇺Australia VladimirAus Brisbane, Australia

    VladimirAus changed the visibility of the branch 3335579-d7-coding-standard to hidden.

  • Open in Jenkins → Open on Drupal.org →
    Core: 7.x + Environment: PHP 7 & MySQL 5.5
    last update over 1 year ago
    7 pass
  • 🇦🇺Australia VladimirAus Brisbane, Australia

    VladimirAus changed the visibility of the branch 3335579-d7-coding-standard to active.

  • 🇦🇺Australia VladimirAus Brisbane, Australia
  • Open in Jenkins → Open on Drupal.org →
    Core: 7.x + Environment: PHP 7 & MySQL 5.5
    last update over 1 year ago
    7 pass
  • 🇮🇳India zkhan.aamir

    Issue summary updated

  • 🇮🇳India zkhan.aamir

    Hi,

    MR #14 applied successfully.

    Admin@DESKTOP-252TO6V MINGW64 ~/Desktop/projects/drupal/web/modules/contrib/linkchecker (7.x-1.x)
    $ curl https://git.drupalcode.org/project/linkchecker/-/merge_requests/38.diff | patch -p1
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100 72666    0 72666    0     0   145k      0 --:--:-- --:--:-- --:--:--  146k
    patching file .gitlab-ci.yml
    patching file linkchecker.admin.inc
    patching file linkchecker.batch.inc
    patching file linkchecker.drush.inc
    patching file linkchecker.install
    patching file linkchecker.module
    patching file linkchecker.pages.inc
    patching file linkchecker.test
    patching file modules/linkchecker_bean/linkchecker_bean.module
    

    Still errors and warning remaining.

    Admin@DESKTOP-252TO6V MINGW64 ~/Desktop/projects/drupal/web/modules/contrib
    $ phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,info,txt,md,js,yml linkchecker/
    
    FILE: C:\Users\Admin\Desktop\projects\drupal\web\modules\contrib\linkchecker\CHANGELOG.txt
    ------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 41 WARNINGS AFFECTING 41 LINES
    ------------------------------------------------------------------------------------------
       4 | WARNING | Line exceeds 80 characters; contains 94 characters
       9 | WARNING | Line exceeds 80 characters; contains 84 characters
      10 | WARNING | Line exceeds 80 characters; contains 94 characters
      17 | WARNING | Line exceeds 80 characters; contains 89 characters
      18 | WARNING | Line exceeds 80 characters; contains 90 characters
      19 | WARNING | Line exceeds 80 characters; contains 116 characters
      20 | WARNING | Line exceeds 80 characters; contains 112 characters
      23 | WARNING | Line exceeds 80 characters; contains 125 characters
      25 | WARNING | Line exceeds 80 characters; contains 86 characters
      39 | WARNING | Line exceeds 80 characters; contains 103 characters
      40 | WARNING | Line exceeds 80 characters; contains 91 characters
      43 | WARNING | Line exceeds 80 characters; contains 135 characters
      51 | WARNING | Line exceeds 80 characters; contains 83 characters
      57 | WARNING | Line exceeds 80 characters; contains 86 characters
      59 | WARNING | Line exceeds 80 characters; contains 152 characters
      68 | WARNING | Line exceeds 80 characters; contains 98 characters
      70 | WARNING | Line exceeds 80 characters; contains 97 characters
      96 | WARNING | Line exceeds 80 characters; contains 125 characters
      99 | WARNING | Line exceeds 80 characters; contains 100 characters
     114 | WARNING | Line exceeds 80 characters; contains 84 characters
     154 | WARNING | Line exceeds 80 characters; contains 111 characters
     159 | WARNING | Line exceeds 80 characters; contains 89 characters
     162 | WARNING | Line exceeds 80 characters; contains 156 characters
     166 | WARNING | Line exceeds 80 characters; contains 87 characters
     167 | WARNING | Line exceeds 80 characters; contains 94 characters
     170 | WARNING | Line exceeds 80 characters; contains 88 characters
     174 | WARNING | Line exceeds 80 characters; contains 95 characters
     183 | WARNING | Line exceeds 80 characters; contains 85 characters
     187 | WARNING | Line exceeds 80 characters; contains 89 characters
     191 | WARNING | Line exceeds 80 characters; contains 139 characters
     199 | WARNING | Line exceeds 80 characters; contains 141 characters
     223 | WARNING | Line exceeds 80 characters; contains 106 characters
     224 | WARNING | Line exceeds 80 characters; contains 105 characters
     225 | WARNING | Line exceeds 80 characters; contains 137 characters
     228 | WARNING | Line exceeds 80 characters; contains 102 characters
     255 | WARNING | Line exceeds 80 characters; contains 164 characters
     266 | WARNING | Line exceeds 80 characters; contains 108 characters
     277 | WARNING | Line exceeds 80 characters; contains 96 characters
     279 | WARNING | Line exceeds 80 characters; contains 110 characters
     287 | WARNING | Line exceeds 80 characters; contains 111 characters
     288 | WARNING | Line exceeds 80 characters; contains 87 characters
    ------------------------------------------------------------------------------------------
    
    
    FILE: C:\Users\Admin\Desktop\projects\drupal\web\modules\contrib\linkchecker\linkchecker.admin.inc
    --------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 5 WARNINGS AFFECTING 5 LINES
    --------------------------------------------------------------------------------------------------
     155 | WARNING | #options values usually have to run through t() for translation
     156 | WARNING | #options values usually have to run through t() for translation
     157 | WARNING | #options values usually have to run through t() for translation
     158 | WARNING | #options values usually have to run through t() for translation
     159 | WARNING | #options values usually have to run through t() for translation
    --------------------------------------------------------------------------------------------------
    
    
    FILE: C:\Users\Admin\Desktop\projects\drupal\web\modules\contrib\linkchecker\linkchecker.info
    ---------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    ---------------------------------------------------------------------------------------------
     5 | ERROR | It's only necessary to declare files[] if they declare a class or interface.
    ---------------------------------------------------------------------------------------------
    
    
    FILE: C:\Users\Admin\Desktop\projects\drupal\web\modules\contrib\linkchecker\linkchecker.module
    ----------------------------------------------------------------------------------------------------------------------
    FOUND 15 ERRORS AND 32 WARNINGS AFFECTING 45 LINES
    ----------------------------------------------------------------------------------------------------------------------
       12 | ERROR   | Doc comment short description must be on a single line, further text should be a separate paragraph
       18 | ERROR   | Doc comment short description must be on a single line, further text should be a separate paragraph
       25 | ERROR   | Doc comment short description must be on a single line, further text should be a separate paragraph
       45 | WARNING | '@todo' should match the format '@todo Fix problem X here.'
       54 | WARNING | Line exceeds 80 characters; contains 102 characters
      155 | ERROR   | Missing parameter type
      158 | ERROR   | Missing parameter type
      164 | ERROR   | Missing parameter type
      168 | ERROR   | Missing parameter type
      179 | ERROR   | Missing parameter type
      197 | ERROR   | Description for the @return value is missing
      232 | ERROR   | Description for the @return value is missing
      240 | WARNING | Line exceeds 80 characters; contains 90 characters
      359 | WARNING | Line exceeds 80 characters; contains 89 characters
      410 | WARNING | Line exceeds 80 characters; contains 87 characters
      567 | WARNING | Line exceeds 80 characters; contains 89 characters
      924 | WARNING | Line exceeds 80 characters; contains 195 characters
      937 | WARNING | Line exceeds 80 characters; contains 195 characters
     1069 | WARNING | Do not use the raw $form_state['input'], use $form_state['values'] instead where possible
     1169 | WARNING | Do not use the raw $form_state['input'], use $form_state['values'] instead where possible
     1169 | WARNING | Do not use the raw $form_state['input'], use $form_state['values'] instead where possible
     1169 | WARNING | Do not use the raw $form_state['input'], use $form_state['values'] instead where possible
     1408 | WARNING | Line exceeds 80 characters; contains 81 characters
     1412 | WARNING | Line exceeds 80 characters; contains 84 characters
     1416 | WARNING | Line exceeds 80 characters; contains 82 characters
     1503 | WARNING | Line exceeds 80 characters; contains 81 characters
     1507 | WARNING | Line exceeds 80 characters; contains 84 characters
     1511 | WARNING | Line exceeds 80 characters; contains 82 characters
     1607 | WARNING | Line exceeds 80 characters; contains 81 characters
     1611 | WARNING | Line exceeds 80 characters; contains 84 characters
     1615 | WARNING | Line exceeds 80 characters; contains 82 characters
     1674 | WARNING | Line exceeds 80 characters; contains 81 characters
     1678 | ERROR   | Missing parameter comment
     1703 | WARNING | Line exceeds 80 characters; contains 87 characters
     1707 | ERROR   | Missing parameter comment
     1732 | WARNING | Line exceeds 80 characters; contains 97 characters
     1736 | ERROR   | Missing parameter comment
     1786 | WARNING | Line exceeds 80 characters; contains 83 characters
     1811 | WARNING | Line exceeds 80 characters; contains 93 characters
     1933 | ERROR   | Description for the @return value is missing
     1996 | WARNING | Line exceeds 80 characters; contains 176 characters
     2128 | WARNING | '@todo' should match the format '@todo Fix problem X here.'
     2186 | WARNING | Line exceeds 80 characters; contains 99 characters
     2412 | WARNING | '@todo' should match the format '@todo Fix problem X here.'
     2723 | ERROR   | Description for the @return value is missing
     2730 | WARNING | Line exceeds 80 characters; contains 81 characters
     2853 | WARNING | Line exceeds 80 characters; contains 83 characters
    ----------------------------------------------------------------------------------------------------------------------
    
    
    FILE: C:\Users\Admin\Desktop\projects\drupal\web\modules\contrib\linkchecker\linkchecker.pages.inc
    --------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    --------------------------------------------------------------------------------------------------
     207 | ERROR | No key specified for array entry; first entry specifies key
    --------------------------------------------------------------------------------------------------
    
    
    FILE: C:\Users\Admin\Desktop\projects\drupal\web\modules\contrib\linkchecker\linkchecker.redirect.inc
    --------------------------------------------------------------------------------------------------------------------------------------
    FOUND 2 ERRORS AFFECTING 2 LINES
    --------------------------------------------------------------------------------------------------------------------------------------
     20 | ERROR | The array declaration extends to column 89 (the limit is 80). The array content should be split up over multiple lines
     21 | ERROR | The array declaration extends to column 107 (the limit is 80). The array content should be split up over multiple lines
    --------------------------------------------------------------------------------------------------------------------------------------
    
    
    FILE: C:\Users\Admin\Desktop\projects\drupal\web\modules\contrib\linkchecker\linkchecker.test
    ---------------------------------------------------------------------------------------------
    FOUND 13 ERRORS AND 7 WARNINGS AFFECTING 20 LINES
    ---------------------------------------------------------------------------------------------
       8 | ERROR   | Doc comment is empty
      13 | ERROR   | Doc comment is empty
      24 | ERROR   | Doc comment is empty
      44 | ERROR   | Doc comment is empty
     297 | WARNING | Line exceeds 80 characters; contains 193 characters
     445 | ERROR   | Doc comment is empty
     450 | ERROR   | Doc comment is empty
     461 | ERROR   | Doc comment is empty
     493 | ERROR   | Doc comment is empty
     576 | ERROR   | Doc comment is empty
     590 | WARNING | Line exceeds 80 characters; contains 98 characters
     598 | WARNING | Line exceeds 80 characters; contains 86 characters
     602 | WARNING | Line exceeds 80 characters; contains 90 characters
     635 | ERROR   | Parameter $fail_count is not described in comment
     678 | ERROR   | Doc comment is empty
     689 | ERROR   | Doc comment is empty
     696 | ERROR   | Doc comment is empty
     703 | WARNING | Line exceeds 80 characters; contains 82 characters
     738 | WARNING | Line exceeds 80 characters; contains 86 characters
     740 | WARNING | Line exceeds 80 characters; contains 87 characters
    ---------------------------------------------------------------------------------------------
    
    
    FILE: C:\Users\Admin\Desktop\projects\drupal\web\modules\contrib\linkchecker\modules\linkchecker_bean\linkchecker_bean.module
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 5 WARNINGS AFFECTING 5 LINES
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
       9 | WARNING | Doc comment indicates hook_form_alter() but function signature is "linkchecker_bean_form_linkchecker_admin_settings_form_alter" instead of
         |         | "linkchecker_bean_form_alter". Did you mean hook_form_FORM_ID_alter()?
      21 | WARNING | All variables defined by your module must be prefixed with your module's name to avoid name collisions with others. Expected start with "linkchecker_bean"
         |         | but found "linkchecker_scan_beans"
     207 | WARNING | Line exceeds 80 characters; contains 81 characters
     211 | WARNING | Line exceeds 80 characters; contains 84 characters
     215 | WARNING | Line exceeds 80 characters; contains 82 characters
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    
    
    FILE: C:\Users\Admin\Desktop\projects\drupal\web\modules\contrib\linkchecker\README.txt
    ---------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 8 WARNINGS AFFECTING 8 LINES
    ---------------------------------------------------------------------------------------
      9 | WARNING | Line exceeds 80 characters; contains 94 characters
     41 | WARNING | Line exceeds 80 characters; contains 82 characters
     43 | WARNING | Line exceeds 80 characters; contains 93 characters
     46 | WARNING | Line exceeds 80 characters; contains 97 characters
     47 | WARNING | Line exceeds 80 characters; contains 87 characters
     48 | WARNING | Line exceeds 80 characters; contains 84 characters
     49 | WARNING | Line exceeds 80 characters; contains 100 characters
     50 | WARNING | Line exceeds 80 characters; contains 94 characters
    ---------------------------------------------------------------------------------------
    
    Time: 1.11 secs; Memory: 32MB
    
  • 🇦🇺Australia VladimirAus Brisbane, Australia
  • First commit to issue fork.
  • Open in Jenkins → Open on Drupal.org →
    Core: 7.x + Environment: PHP 7 & MySQL 5.5
    last update about 1 year ago
    7 pass
  • Pipeline finished with Failed
    about 1 year ago
    Total: 168s
    #90208
  • 🇮🇳India anjali mehta

    Anjali Mehta made their first commit to this issue’s fork.

  • Open in Jenkins → Open on Drupal.org →
    Core: 7.x + Environment: PHP 7 & MySQL 5.5
    last update about 1 year ago
    Build Successful
  • Pipeline finished with Failed
    about 1 year ago
    Total: 137s
    #91067
  • First commit to issue fork.
  • Open in Jenkins → Open on Drupal.org →
    Core: 7.x + Environment: PHP 7 & MySQL 5.5
    last update about 1 year ago
    Build Successful
  • Pipeline finished with Success
    about 1 year ago
    #91168
  • Status changed to Needs review about 1 year ago
  • 🇮🇳India zkhan.aamir

    Hi,

    MR #19 applied successfully.

    Admin@DESKTOP-252TO6V MINGW64 ~/Desktop/projects/drupal/web/modules/contrib/linkchecker (7.x-1.x)
    $ curl https://git.drupalcode.org/project/linkchecker/-/merge_requests/38.diff | patch -p1
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100  114k    0  114k    0     0   268k      0 --:--:-- --:--:-- --:--:--  269k
    patching file .gitlab-ci.yml
    patching file CHANGELOG.txt
    patching file README.txt
    patching file linkchecker-node-form.js
    patching file linkchecker.admin.inc
    patching file linkchecker.batch.inc
    patching file linkchecker.drush.inc
    patching file linkchecker.info
    patching file linkchecker.install
    patching file linkchecker.module
    patching file linkchecker.pages.inc
    patching file linkchecker.redirect.inc
    patching file linkchecker.test
    patching file modules/linkchecker_bean/linkchecker_bean.module
    

    All the issues are resolved

    Admin@DESKTOP-252TO6V MINGW64 ~/Desktop/projects/drupal/web/modules/contrib
    phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,info,txt,md,js,yml linkchecker/
    
    Admin@DESKTOP-252TO6V MINGW64 ~/Desktop/projects/drupal/web/modules/contrib
    $
    
    
  • Status changed to Needs work 8 months ago
  • 🇵🇭Philippines cleavinjosh

    Hi @Preethy_ray,

    I applied MR!38, I encountered one hunk failed.

    This is the issue remaining after I run phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml.

    ➜  linkchecker git:(7.x-1.x) curl https://git.drupalcode.org/project/linkchecker/-/merge_requests/38.diff | patch -p1
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100  114k    0  114k    0     0   241k      0 --:--:-- --:--:-- --:--:--  241k
    patching file .gitlab-ci.yml
    patching file CHANGELOG.txt
    patching file README.txt
    patching file linkchecker-node-form.js
    patching file linkchecker.admin.inc
    patching file linkchecker.batch.inc
    patching file linkchecker.drush.inc
    patching file linkchecker.info
    patching file linkchecker.install
    patching file linkchecker.module
    Hunk #28 FAILED at 1213.
    1 out of 58 hunks FAILED -- saving rejects to file linkchecker.module.rej
    patching file linkchecker.pages.inc
    patching file linkchecker.redirect.inc
    patching file linkchecker.test
    patching file modules/linkchecker_bean/linkchecker_bean.module
    ➜  linkchecker git:(7.x-1.x) ✗ ..
    ➜  contrib phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml linkchecker
    
    FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/linkchecker/linkchecker.module
    ---------------------------------------------------------------------------------------------------
    FOUND 2 ERRORS AFFECTING 2 LINES
    ---------------------------------------------------------------------------------------------------
     1211 | ERROR | [x] Use null coalesce operator instead of ternary operator.
     1214 | ERROR | [x] Expected 1 blank line after function; 2 found
    ---------------------------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    ---------------------------------------------------------------------------------------------------
    
    Time: 1.36 secs; Memory: 28MB
    
    ➜  contrib

    Thank you.

  • Pipeline finished with Success
    8 months ago
    Total: 94s
    #255009
  • 🇮🇹Italy apaderno Brescia, 🇮🇹

    A Drupal 7 module cannot use the null coalescent operator, since it needs to be compatible with PHP 5.6.

  • 🇮🇹Italy apaderno Brescia, 🇮🇹
  • Status changed to RTBC 8 months ago
  • 🇮🇹Italy apaderno Brescia, 🇮🇹

    avpaderno changed the visibility of the branch 3335579-gitlab-ci-reports to hidden.

  • Status changed to Closed: outdated about 1 month ago
Production build 0.71.5 2024