FILE: /var/www/drupalvm/drupal/core/modules/menu_ui/menu_ui.module ---------------------------------------------------------------------- FOUND 10 ERRORS AND 11 WARNINGS AFFECTING 21 LINES ---------------------------------------------------------------------- 18 | WARNING | [x] Unused use statement 27 | ERROR | [ ] Doc comment short description must be on a | | single line, further text should be a separate | | paragraph 43 | ERROR | [ ] If the line declaring an array spans longer than | | 80 characters, each element should be broken | | into its own line 45 | ERROR | [ ] If the line declaring an array spans longer than | | 80 characters, each element should be broken | | into its own line 61 | ERROR | [ ] Inline doc block comments are not allowed; use | | "/* Comment */" or "// Comment" instead 75 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | | Implements hook_foo_BAR_ID_bar() for | | xyz_bar().",, "* Implements | | hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", | | or "* Implements hook_foo_BAR_ID_bar() for | | xyz-bar.tpl.php.". 86 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | | Implements hook_foo_BAR_ID_bar() for | | xyz_bar().",, "* Implements | | hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", | | or "* Implements hook_foo_BAR_ID_bar() for | | xyz-bar.tpl.php.". 97 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | | Implements hook_foo_BAR_ID_bar() for | | xyz_bar().",, "* Implements | | hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", | | or "* Implements hook_foo_BAR_ID_bar() for | | xyz-bar.tpl.php.". 107 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | | Implements hook_foo_BAR_ID_bar() for | | xyz_bar().",, "* Implements | | hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", | | or "* Implements hook_foo_BAR_ID_bar() for | | xyz-bar.tpl.php.". 119 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | | Implements hook_foo_BAR_ID_bar() for | | xyz_bar().",, "* Implements | | hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", | | or "* Implements hook_foo_BAR_ID_bar() for | | xyz-bar.tpl.php.". 160 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | | Implements hook_foo_BAR_ID_bar() for | | xyz_bar().",, "* Implements | | hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", | | or "* Implements hook_foo_BAR_ID_bar() for | | xyz-bar.tpl.php.". 194 | ERROR | [x] Inline comments must end in full-stops, | | exclamation marks, colons, or question marks 246 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | | Implements hook_foo_BAR_ID_bar() for | | xyz_bar().",, "* Implements | | hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", | | or "* Implements hook_foo_BAR_ID_bar() for | | xyz-bar.tpl.php.". 253 | WARNING | [ ] Line exceeds 80 characters; contains 82 | | characters 359 | ERROR | [x] Expected 1 space after closing parenthesis; | | found " " 360 | WARNING | [ ] Line exceeds 80 characters; contains 81 | | characters 377 | ERROR | [ ] Trailing punctuation for @see references is not | | allowed. 378 | ERROR | [ ] Trailing punctuation for @see references is not | | allowed. 425 | ERROR | [ ] Trailing punctuation for @see references is not | | allowed. 445 | ERROR | [ ] Trailing punctuation for @see references is not | | allowed. 477 | WARNING | [ ] Format should be "* Implements hook_foo().", "* | | Implements hook_foo_BAR_ID_bar() for | | xyz_bar().",, "* Implements | | hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", | | or "* Implements hook_foo_BAR_ID_bar() for | | xyz-bar.tpl.php.". ---------------------------------------------------------------------- PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: ...drupalvm/drupal/core/modules/menu_ui/src/Form/MenuDeleteForm.php ---------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ---------------------------------------------------------------------- 100 | ERROR | [x] The closing brace for the class must have an empty | | line before it ---------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: /var/www/drupalvm/drupal/core/modules/menu_ui/src/MenuForm.php ---------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ---------------------------------------------------------------------- 302 | WARNING | Line exceeds 80 characters; contains 85 characters ---------------------------------------------------------------------- FILE: ...alvm/drupal/core/modules/menu_ui/src/Tests/MenuCacheTagsTest.php ---------------------------------------------------------------------- FOUND 3 ERRORS AFFECTING 3 LINES ---------------------------------------------------------------------- 45 | ERROR | [ ] If the line declaring an array spans longer than | | 80 characters, each element should be broken into | | its own line 89 | ERROR | [x] Closing parenthesis of array declaration must be | | on a new line 113 | ERROR | [ ] If the line declaring an array spans longer than | | 80 characters, each element should be broken into | | its own line ---------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: ...palvm/drupal/core/modules/menu_ui/src/Tests/MenuLanguageTest.php ---------------------------------------------------------------------- FOUND 4 ERRORS AFFECTING 4 LINES ---------------------------------------------------------------------- 18 | ERROR | [ ] Doc comment short description must be on a single | | line, further text should be a separate paragraph 31 | ERROR | [x] Missing function doc comment 48 | ERROR | [ ] Visibility must be declared on method | | "testMenuLanguage" 56 | ERROR | [x] Expected 1 space after "=>"; 2 found ---------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: ...vm/drupal/core/modules/menu_ui/src/Tests/MenuLinkReorderTest.php ---------------------------------------------------------------------- FOUND 2 ERRORS AFFECTING 2 LINES ---------------------------------------------------------------------- 36 | ERROR | [ ] Visibility must be declared on method | | "testDefaultMenuLinkReorder" 71 | ERROR | [x] The closing brace for the class must have an empty | | line before it ---------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: .../drupalvm/drupal/core/modules/menu_ui/src/Tests/MenuNodeTest.php ---------------------------------------------------------------------- FOUND 8 ERRORS AND 1 WARNING AFFECTING 8 LINES ---------------------------------------------------------------------- 34 | ERROR | [x] Missing function doc comment 56 | ERROR | [ ] Visibility must be declared on method | | "testMenuNodeFormWidget" 143 | ERROR | [ ] If the line declaring an array spans longer than | | 80 characters, each element should be broken | | into its own line 225 | ERROR | [x] Concat operator must be surrounded by a single | | space 225 | ERROR | [x] Concat operator must be surrounded by a single | | space 226 | WARNING | [ ] Line exceeds 80 characters; contains 103 | | characters 227 | ERROR | [x] Concat operator must be surrounded by a single | | space 228 | ERROR | [x] Concat operator must be surrounded by a single | | space 232 | ERROR | [x] The closing brace for the class must have an | | empty line before it ---------------------------------------------------------------------- PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: .../www/drupalvm/drupal/core/modules/menu_ui/src/Tests/MenuTest.php ---------------------------------------------------------------------- FOUND 44 ERRORS AND 3 WARNINGS AFFECTING 42 LINES ---------------------------------------------------------------------- 21 | ERROR | [ ] Doc comment short description must be on a | | single line, further text should be a separate | | paragraph 32 | ERROR | [ ] If the line declaring an array spans longer than | | 80 characters, each element should be broken | | into its own line 69 | ERROR | [x] Missing function doc comment 77 | ERROR | [ ] If the line declaring an array spans longer than | | 80 characters, each element should be broken | | into its own line 84 | ERROR | [ ] Visibility must be declared on method "testMenu" 155 | ERROR | [ ] Method name "MenuTest::addCustomMenuCRUD" is not | | in lowerCamel format 155 | ERROR | [ ] Visibility must be declared on method | | "addCustomMenuCRUD" 185 | ERROR | [ ] Visibility must be declared on method | | "addCustomMenu" 193 | ERROR | [x] Expected 1 space after "=>"; 2 found 238 | ERROR | [ ] Visibility must be declared on method | | "deleteCustomMenu" 264 | ERROR | [ ] Visibility must be declared on method | | "doMenuTests" 315 | WARNING | [x] There must be no blank line following an inline | | comment 315 | ERROR | [x] Inline comments must end in full-stops, | | exclamation marks, colons, or question marks 332 | ERROR | [ ] If the line declaring an array spans longer than | | 80 characters, each element should be broken | | into its own line 355 | WARNING | [x] There must be no blank line following an inline | | comment 355 | ERROR | [x] Inline comments must end in full-stops, | | exclamation marks, colons, or question marks 395 | WARNING | [x] There must be no blank line following an inline | | comment 395 | ERROR | [x] Inline comments must end in full-stops, | | exclamation marks, colons, or question marks 404 | ERROR | [ ] If the line declaring an array spans longer than | | 80 characters, each element should be broken | | into its own line 418 | ERROR | [ ] If the line declaring an array spans longer than | | 80 characters, each element should be broken | | into its own line 424 | ERROR | [ ] If the line declaring an array spans longer than | | 80 characters, each element should be broken | | into its own line 477 | ERROR | [x] Doc comment short description must end with a | | full stop 496 | ERROR | [ ] Visibility must be declared on method | | "testMenuQueryAndFragment" 528 | ERROR | [ ] Visibility must be declared on method | | "testSystemMenuRename" 545 | ERROR | [ ] Visibility must be declared on method | | "testUnpublishedNodeMenuItem" 546 | ERROR | [ ] If the line declaring an array spans longer than | | 80 characters, each element should be broken | | into its own line 571 | ERROR | [ ] If the line declaring an array spans longer than | | 80 characters, each element should be broken | | into its own line 579 | ERROR | [x] Concat operator must be surrounded by a single | | space 584 | ERROR | [x] Expected 1 space after "="; 2 found 604 | ERROR | [x] Parameter comment indentation must be 3 spaces, | | found 2 spaces 609 | ERROR | [ ] Visibility must be declared on method | | "addMenuLink" 621 | ERROR | [x] Expected 1 space after "=>"; 2 found 634 | ERROR | [ ] If the line declaring an array spans longer than | | 80 characters, each element should be broken | | into its own line 642 | ERROR | [ ] Visibility must be declared on method | | "addInvalidMenuLink" 656 | ERROR | [ ] Visibility must be declared on method | | "checkInvalidParentMenuLinks" 657 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected | | "NULL" but found "null" 707 | ERROR | [ ] Visibility must be declared on method | | "verifyMenuLink" 744 | ERROR | [ ] Expected type hint "MenuLinkContentInterface"; | | found "MenuLinkContent" for $item 744 | ERROR | [ ] Visibility must be declared on method | | "moveMenuLink" 760 | ERROR | [ ] Visibility must be declared on method | | "modifyMenuLink" 785 | ERROR | [ ] Visibility must be declared on method | | "resetMenuLink" 802 | ERROR | [ ] Visibility must be declared on method | | "deleteMenuLink" 822 | ERROR | [ ] Visibility must be declared on method | | "toggleMenuLink" 841 | ERROR | [ ] Visibility must be declared on method | | "disableMenuLink" 857 | ERROR | [ ] Visibility must be declared on method | | "enableMenuLink" 868 | ERROR | [ ] Doc comment short description must be on a | | single line, further text should be a separate | | paragraph 924 | ERROR | [x] Line indented incorrectly; expected 4 spaces, | | found 8 ---------------------------------------------------------------------- PHPCBF CAN FIX THE 15 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: ...upalvm/drupal/core/modules/menu_ui/src/Tests/MenuWebTestBase.php ---------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ---------------------------------------------------------------------- 32 | ERROR | Visibility must be declared on method "assertMenuLink" ---------------------------------------------------------------------- FILE: ...re/modules/menu_ui/src/Tests/Migrate/MigrateMenuSettingsTest.php ---------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ---------------------------------------------------------------------- 30 | ERROR | [x] Missing function doc comment ---------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------