FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_content/domain_content.info.yml ----------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ----------------------------------------------------------------------------------------------------------- 1 | WARNING | Remove "version" from the info file, it will be added by drupal.org packaging automatically ----------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_content/domain_content.module --------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE --------------------------------------------------------------------------------------------------------- 9 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Url. --------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_content/src/Plugin/views/access/DomainContentAccess.php ------------------------------------------------------------------------------------------------------------------------------------------------------ FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------------------------------------------ 6 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\domain_access\Plugin\views\access\DomainAccessContent. ------------------------------------------------------------------------------------------------------------------------------------------------------ PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------------------------------------ FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_content/src/Plugin/views/access/DomainEditorAccess.php ----------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ----------------------------------------------------------------------------------------------------------------------------------------------------- 6 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\domain_access\Plugin\views\access\DomainAccessEditor. ----------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_content/src/Controller/DomainContentController.php ----------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 4 WARNINGS AFFECTING 5 LINES ----------------------------------------------------------------------------------------------------------------------------------- 6 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Controller\ControllerBase. 40 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 41 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 106 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 122 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead ----------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_content/domain_content.install ----------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES ----------------------------------------------------------------------------------------- 27 | WARNING | Unused variable $field. 33 | WARNING | Unused variable $field. ----------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_content/tests/src/Functional/DomainContentTestBase.php ---------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES ---------------------------------------------------------------------------------------------------------------------------------------------- 6 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\domain_access\DomainAccessManagerInterface. 80 | WARNING | [ ] Line exceeds 80 characters; contains 100 characters ---------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_content/tests/src/Functional/DomainContentCountTest.php ------------------------------------------------------------------------------------------------------------------ FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------ 42 | WARNING | Unused variable $id. ------------------------------------------------------------------------------------------------------------------ FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_access/src/Commands/DomainAccessCommands.php --------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE --------------------------------------------------------------------------------------------------------------------------------------------------- 28 | WARNING | [x] '@TODO: watch https://github.com/consolidation/annotated-command/pull/174' should match the format '@todo Fix problem X here.' --------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_access/src/Plugin/views/filter/DomainAccessCurrentAllFilter.php ------------------------------------------------------------------------------------------------------------------------------------------------ FOUND 1 ERROR AND 2 WARNINGS AFFECTING 3 LINES ------------------------------------------------------------------------------------------------------------------------------------------------ 5 | WARNING | [x] Unused use statement 7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\views\Plugin\views\display\DisplayPluginBase. 42 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead ------------------------------------------------------------------------------------------------------------------------------------------------ PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------------------------------ FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_access/src/Plugin/views/filter/DomainAccessFilter.php ---------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ---------------------------------------------------------------------------------------------------------------- 18 | WARNING | [x] '@TODO: filter this list.' should match the format '@todo Fix problem X here.' ---------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_access/src/Plugin/views/access/DomainAccessContent.php ------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------------------- 11 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\domain\DomainStorageInterface. ------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_access/src/Plugin/views/field/DomainAccessField.php ------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------------------------- 6 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\views\Plugin\views\field\EntityField. ------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_access/src/Plugin/Action/DomainAccessActionBase.php --------------------------------------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES --------------------------------------------------------------------------------------------------------------------------------------------- 63 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 94 | WARNING | [x] '@TODO: fix this logic.' should match the format '@todo Fix problem X here.' --------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_access/src/DomainAccessPermissions.php ---------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ---------------------------------------------------------------------------------------------------------------------------------------------- 6 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\StringTranslation\StringTranslationTrait. ---------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_access/src/Form/DomainAccessSettingsForm.php ----------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ----------------------------------------------------------------------------------------------------------------- 12 | WARNING | The class short comment should describe what the class does and not simply repeat the class name ----------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_access/src/DomainAccessManager.php ---------------------------------------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 5 WARNINGS AFFECTING 5 LINES ---------------------------------------------------------------------------------------------------------------------------------------------- 16 | WARNING | [x] '@TODO: It is possible that this class may become a subclass of the' should match the format '@todo Fix problem X here.' 70 | WARNING | [x] '@TODO: static cache.' should match the format '@todo Fix problem X here.' 72 | WARNING | [x] '@TODO In tests, $entity is returning NULL.' should match the format '@todo Fix problem X here.' 143 | WARNING | [ ] Unused variable $permission_access. 153 | WARNING | [ ] Unused variable $permission_access. ---------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_access/src/Access/DomainAccessViewsAccess.php ---------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES ---------------------------------------------------------------------------------------------------------------------------------------------- 10 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\domain_access\DomainAccessManagerInterface. 16 | WARNING | [ ] The class short comment should describe what the class does and not simply repeat the class name ---------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_access/domain_access.info.yml ----------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ----------------------------------------------------------------------------------------------------------- 1 | WARNING | Remove "version" from the info file, it will be added by drupal.org packaging automatically ----------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_access/domain_access.module ----------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES ----------------------------------------------------------------------------------------------------------------------------- 11 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Access\AccessResult. 152 | WARNING | [ ] Line exceeds 80 characters; contains 107 characters ----------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_access/tests/modules/domain_access_test/domain_access_test.info.yml ------------------------------------------------------------------------------------------------------------------------------ FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES ------------------------------------------------------------------------------------------------------------------------------ 1 | WARNING | Remove "version" from the info file, it will be added by drupal.org packaging automatically 10 | WARNING | All dependencies must be prefixed with the project name, for example "drupal:" 11 | WARNING | All dependencies must be prefixed with the project name, for example "drupal:" 12 | WARNING | All dependencies must be prefixed with the project name, for example "drupal:" ------------------------------------------------------------------------------------------------------------------------------ FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_access/tests/src/Functional/DomainAccessLanguageSaveTest.php ---------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES ---------------------------------------------------------------------------------------------------------------------------------------------- 7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\domain_access\DomainAccessManagerInterface. 76 | WARNING | [x] A comma should follow the last multiline array item. Found: 'one_example_com' ---------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_access/tests/src/Functional/DomainAccessSaveTest.php ---------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES ---------------------------------------------------------------------------------------------------------------------------------------------- 6 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\domain_access\DomainAccessManagerInterface. 64 | WARNING | [x] A comma should follow the last multiline array item. Found: 'one_example_com' ---------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_access/tests/src/Functional/DomainAccessAllAffiliatesTest.php ------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------------------------------- 6 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\domain_access\DomainAccessManagerInterface. ------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_access/tests/src/Functional/DomainAccessRecordsTest.php ------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------------------------------- 7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\domain_access\DomainAccessManagerInterface. ------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_access/tests/src/Functional/DomainAccessCacheTest.php ---------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ---------------------------------------------------------------------------------------------------------------- 51 | WARNING | [x] A comma should follow the last multiline array item. Found: '/test' ---------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_access/tests/src/Functional/DomainAccessFieldTest.php ------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------------------------------- 7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\domain_access\DomainAccessManagerInterface. ------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_access/tests/src/Functional/DomainAccessGrantsTest.php ------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------------------------------- 7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\domain_access\DomainAccessManagerInterface. ------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_access/tests/src/Functional/DomainAccessElementTest.php ---------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES ---------------------------------------------------------------------------------------------------------------------------------------------- 6 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\domain_access\DomainAccessManagerInterface. 43 | WARNING | [x] 'TODO: Something new is forcing this line for the 'test' type.' should match the format '@todo Fix problem X here.' ---------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_access/tests/src/Functional/DomainAccessContentUrlsTest.php ---------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES ---------------------------------------------------------------------------------------------------------------------------------------------- 7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\domain_access\DomainAccessManagerInterface. 24 | WARNING | [x] A comma should follow the last multiline array item. Found: 'user' ---------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_access/tests/src/Functional/DomainAccessPermissionsTest.php -------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 7 WARNINGS AFFECTING 8 LINES -------------------------------------------------------------------------------------------------------------------------------------------------- 8 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Tests\domain\Functional\DomainTestBase. 111 | WARNING | [x] A comma should follow the last multiline array item. Found: ] 115 | WARNING | [x] A comma should follow the last multiline array item. Found: ] 150 | WARNING | [x] A comma should follow the last multiline array item. Found: ] 154 | WARNING | [x] A comma should follow the last multiline array item. Found: ] 173 | WARNING | [x] '@TODO: Test edit and delete for user with 'all affiliates' permission.' should match the format '@todo Fix problem X here.' 192 | WARNING | [x] A comma should follow the last multiline array item. Found: ] 196 | WARNING | [x] A comma should follow the last multiline array item. Found: ] -------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_access/tests/src/Kernel/DomainAccessEntityCrudTest.php --------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 4 WARNINGS AFFECTING 5 LINES --------------------------------------------------------------------------------------------------------------------------------------- 7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Tests\node\Traits\NodeCreationTrait. 10 | WARNING | [x] Unused use statement 45 | WARNING | [x] A comma should follow the last multiline array item. Found: 'domain_access' 66 | WARNING | [x] A comma should follow the last multiline array item. Found: 'page' 85 | WARNING | [x] A comma should follow the last multiline array item. Found: DOMAIN_ACCESS_ALL_FIELD --------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/CHANGELOG.md ---------------------------------------------------------------------- FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES ---------------------------------------------------------------------- 40 | WARNING | Line exceeds 80 characters; contains 117 characters 73 | WARNING | Line exceeds 80 characters; contains 88 characters 140 | WARNING | Line exceeds 80 characters; contains 96 characters ---------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_source/src/Commands/DomainSourceCommands.php --------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE --------------------------------------------------------------------------------------------------------------------------------------------------- 28 | WARNING | [x] '@TODO: watch https://github.com/consolidation/annotated-command/pull/174' should match the format '@todo Fix problem X here.' --------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_source/src/HttpKernel/DomainSourcePathProcessor.php ----------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ----------------------------------------------------------------------------------------------------------------------------------- 7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Config\ConfigFactoryInterface. ----------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_source/src/EventSubscriber/DomainSourceRedirectResponseSubscriberD8.php ------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------------------------------- 7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Symfony\Component\HttpFoundation\RedirectResponse. ------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_source/src/EventSubscriber/DomainSourceRedirectResponseSubscriber.php -------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE -------------------------------------------------------------------------------------------------------------------------------------------- 10 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Symfony\Component\HttpFoundation\RedirectResponse. -------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_source/src/DomainSourceElementManager.php ---------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES ---------------------------------------------------------------------------------------------------------------------------------- 5 | WARNING | [x] Unused use statement 6 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Entity\EntityFormInterface. ---------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_source/src/Form/DomainSourceSettingsForm.php ----------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES ----------------------------------------------------------------------------------------------------------------- 12 | WARNING | The class short comment should describe what the class does and not simply repeat the class name 33 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead ----------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_source/domain_source.module --------------------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES --------------------------------------------------------------------------------------------------------------------------- 74 | WARNING | [x] '@TODO: Make this possible for all entity types.' should match the format '@todo Fix problem X here.' 134 | WARNING | [ ] Unused variable $entity. 168 | WARNING | [ ] Line exceeds 80 characters; contains 82 characters --------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_source/README.md --------------------------------------------------------------------------- FOUND 0 ERRORS AND 9 WARNINGS AFFECTING 9 LINES --------------------------------------------------------------------------- 4 | WARNING | Line exceeds 80 characters; contains 164 characters 6 | WARNING | Line exceeds 80 characters; contains 119 characters 8 | WARNING | Line exceeds 80 characters; contains 126 characters 13 | WARNING | Line exceeds 80 characters; contains 202 characters 18 | WARNING | Line exceeds 80 characters; contains 199 characters 27 | WARNING | Line exceeds 80 characters; contains 96 characters 37 | WARNING | Line exceeds 80 characters; contains 166 characters 42 | WARNING | Line exceeds 80 characters; contains 337 characters 45 | WARNING | Line exceeds 80 characters; contains 121 characters --------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_source/domain_source.info.yml ----------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ----------------------------------------------------------------------------------------------------------- 1 | WARNING | Remove "version" from the info file, it will be added by drupal.org packaging automatically ----------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_source/tests/modules/domain_source_test/domain_source_test.info.yml ------------------------------------------------------------------------------------------------------------------------------ FOUND 0 ERRORS AND 7 WARNINGS AFFECTING 7 LINES ------------------------------------------------------------------------------------------------------------------------------ 1 | WARNING | Remove "version" from the info file, it will be added by drupal.org packaging automatically 10 | WARNING | All dependencies must be prefixed with the project name, for example "drupal:" 11 | WARNING | All dependencies must be prefixed with the project name, for example "drupal:" 12 | WARNING | All dependencies must be prefixed with the project name, for example "drupal:" 13 | WARNING | All dependencies must be prefixed with the project name, for example "drupal:" 14 | WARNING | All dependencies must be prefixed with the project name, for example "drupal:" 15 | WARNING | All dependencies must be prefixed with the project name, for example "drupal:" ------------------------------------------------------------------------------------------------------------------------------ FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_source/tests/modules/domain_source_test/domain_source_test.module ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 9 | WARNING | Format should be "* Implements hook_foo().", "* Implements hook_foo_BAR_ID_bar() for xyz_bar().",, "* Implements hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", "* Implements | | hook_foo_BAR_ID_bar() for xyz-bar.tpl.php.", or "* Implements hook_foo_BAR_ID_bar() for block templates." ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_source/tests/src/Functional/DomainSourceContentUrlsTest.php ---------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 2 WARNINGS AFFECTING 3 LINES ---------------------------------------------------------------------------------------------------------------------------------------------- 7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\domain_access\DomainAccessManagerInterface. 26 | WARNING | [x] A comma should follow the last multiline array item. Found: 'user' 52 | WARNING | [x] A comma should follow the last multiline array item. Found: 'two_example_com' ---------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_source/tests/src/Functional/DomainSourceExcludeTest.php ----------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 2 WARNINGS AFFECTING 3 LINES ----------------------------------------------------------------------------------------------------------------------------------------------------- 7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\domain_source\DomainSourceElementManagerInterface. 24 | WARNING | [x] A comma should follow the last multiline array item. Found: 'user' 49 | WARNING | [ ] Unused variable $node. ----------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_source/tests/src/Functional/DomainSourceParameterTest.php ----------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 4 WARNINGS AFFECTING 5 LINES ----------------------------------------------------------------------------------------------------------------------------------------------------- 7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\domain_source\DomainSourceElementManagerInterface. 25 | WARNING | [x] A comma should follow the last multiline array item. Found: 'user' 45 | WARNING | [ ] Unused variable $node. 48 | WARNING | [x] A comma should follow the last multiline array item. Found: $id 58 | WARNING | [ ] Unused variable $source. ----------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_source/tests/src/Functional/DomainSourceElementTest.php ---------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 2 WARNINGS AFFECTING 3 LINES ---------------------------------------------------------------------------------------------------------------------------------------------- 6 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\domain_access\DomainAccessManagerInterface. 43 | WARNING | [ ] Unused variable $node_type. 71 | WARNING | [ ] Unused variable $count. ---------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_source/tests/src/Functional/DomainSourceLanguageTest.php ---------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES ---------------------------------------------------------------------------------------------------------------------------------------------------- 6 | WARNING | [x] Unused use statement 8 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\domain_source\DomainSourceElementManagerInterface. ---------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_source/tests/src/Functional/DomainSourceTrustedHostTest.php ----------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES ----------------------------------------------------------------------------------------------------------------------------------------------------- 7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\domain_source\DomainSourceElementManagerInterface. 24 | WARNING | [x] A comma should follow the last multiline array item. Found: 'user' ----------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_source/tests/src/Functional/DomainSourceUrlTest.php ----------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 2 WARNINGS AFFECTING 3 LINES ----------------------------------------------------------------------------------------------------------------------------------------------------- 7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\domain_source\DomainSourceElementManagerInterface. 24 | WARNING | [x] A comma should follow the last multiline array item. Found: 'user' 49 | WARNING | [ ] Unused variable $node. ----------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_source/tests/src/Functional/DomainSourceTokenTest.php ---------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 3 WARNINGS AFFECTING 4 LINES ---------------------------------------------------------------------------------------------------------------------------------------------- 6 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\domain_access\DomainAccessManagerInterface. 25 | WARNING | [x] A comma should follow the last multiline array item. Found: 'user' 51 | WARNING | [x] A comma should follow the last multiline array item. Found: 'two_example_com' 58 | WARNING | [ ] Line exceeds 80 characters; contains 83 characters ---------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_config/src/DomainConfigOverrider.php --------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 3 WARNINGS AFFECTING 4 LINES --------------------------------------------------------------------------------------------------------------------------------- 6 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Cache\CacheableMetadata. 126 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters 236 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 240 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead --------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_config/src/DomainConfigLibraryDiscoveryCollector.php ----------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ----------------------------------------------------------------------------------------------------------------- 12 | WARNING | The class short comment should describe what the class does and not simply repeat the class name ----------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_config/README.md --------------------------------------------------------------------------- FOUND 0 ERRORS AND 21 WARNINGS AFFECTING 21 LINES --------------------------------------------------------------------------- 4 | WARNING | Line exceeds 80 characters; contains 165 characters 6 | WARNING | Line exceeds 80 characters; contains 155 characters 12 | WARNING | Line exceeds 80 characters; contains 129 characters 14 | WARNING | Line exceeds 80 characters; contains 260 characters 16 | WARNING | Line exceeds 80 characters; contains 144 characters 19 | WARNING | Line exceeds 80 characters; contains 128 characters 38 | WARNING | Line exceeds 80 characters; contains 198 characters 51 | WARNING | Line exceeds 80 characters; contains 116 characters 53 | WARNING | Line exceeds 80 characters; contains 139 characters 54 | WARNING | Line exceeds 80 characters; contains 219 characters 58 | WARNING | Line exceeds 80 characters; contains 147 characters 60 | WARNING | Line exceeds 80 characters; contains 272 characters 65 | WARNING | Line exceeds 80 characters; contains 137 characters 67 | WARNING | Line exceeds 80 characters; contains 88 characters 69 | WARNING | Line exceeds 80 characters; contains 241 characters 71 | WARNING | Line exceeds 80 characters; contains 85 characters 75 | WARNING | Line exceeds 80 characters; contains 85 characters 77 | WARNING | Line exceeds 80 characters; contains 91 characters 82 | WARNING | Line exceeds 80 characters; contains 122 characters 84 | WARNING | Line exceeds 80 characters; contains 108 characters 87 | WARNING | Line exceeds 80 characters; contains 102 characters --------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_config/domain_config.info.yml ----------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ----------------------------------------------------------------------------------------------------------- 1 | WARNING | Remove "version" from the info file, it will be added by drupal.org packaging automatically ----------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_config/tests/modules/domain_config_middleware_test/src/Middleware.php -------------------------------------------------------------------------------------------------------------------------------- FOUND 5 ERRORS AND 2 WARNINGS AFFECTING 7 LINES -------------------------------------------------------------------------------------------------------------------------------- 58 | WARNING | [ ] Unused variable $config. 60 | ERROR | [x] Expected 1 blank line after function; 0 found 61 | ERROR | [x] The closing brace for the class must have an empty line before it 110 | WARNING | [ ] Unused variable $config. 112 | ERROR | [x] Expected 1 blank line after function; 0 found 113 | ERROR | [x] The closing brace for the class must have an empty line before it 115 | ERROR | [x] Expected 1 newline at end of file; 3 found -------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_config/tests/modules/domain_config_middleware_test/domain_config_middleware_test.info.yml ---------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES ---------------------------------------------------------------------------------------------------------------------------------------------------- 1 | WARNING | Remove "version" from the info file, it will be added by drupal.org packaging automatically 10 | WARNING | All dependencies must be prefixed with the project name, for example "drupal:" 11 | WARNING | All dependencies must be prefixed with the project name, for example "drupal:" ---------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_config/tests/modules/domain_config_hook_test/src/PageCache/RequestPolicy/PageCacheRequestPolicy.php -------------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE -------------------------------------------------------------------------------------------------------------------------------------------------------------- 7 | WARNING | [x] Unused use statement -------------------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_config/tests/modules/domain_config_hook_test/domain_config_hook_test.info.yml ---------------------------------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ---------------------------------------------------------------------------------------------------------------------------------------- 1 | WARNING | Remove "version" from the info file, it will be added by drupal.org packaging automatically ---------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_config/tests/modules/domain_config_test/domain_config_test.info.yml ------------------------------------------------------------------------------------------------------------------------------ FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES ------------------------------------------------------------------------------------------------------------------------------ 1 | WARNING | Remove "version" from the info file, it will be added by drupal.org packaging automatically 10 | WARNING | All dependencies must be prefixed with the project name, for example "drupal:" 11 | WARNING | All dependencies must be prefixed with the project name, for example "drupal:" ------------------------------------------------------------------------------------------------------------------------------ FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_config/tests/src/Functional/DomainConfigHomepageTest.php ------------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES ------------------------------------------------------------------------------------------------------------------- 36 | WARNING | Unused variable $node1. 41 | WARNING | Unused variable $node2. ------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_config/tests/src/Functional/DomainConfigCacheTest.php ---------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ---------------------------------------------------------------------------------------------------------------- 50 | WARNING | [x] A comma should follow the last multiline array item. Found: '/test' ---------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/README.md ---------------------------------------------------------------------- FOUND 0 ERRORS AND 33 WARNINGS AFFECTING 33 LINES ---------------------------------------------------------------------- 3 | WARNING | Line exceeds 80 characters; contains 87 characters 28 | WARNING | Line exceeds 80 characters; contains 280 characters 31 | WARNING | Line exceeds 80 characters; contains 248 characters 34 | WARNING | Line exceeds 80 characters; contains 406 characters 37 | WARNING | Line exceeds 80 characters; contains 132 characters 40 | WARNING | Line exceeds 80 characters; contains 155 characters 43 | WARNING | Line exceeds 80 characters; contains 212 characters 49 | WARNING | Line exceeds 80 characters; contains 107 characters 51 | WARNING | Line exceeds 80 characters; contains 287 characters 64 | WARNING | Line exceeds 80 characters; contains 105 characters 66 | WARNING | Line exceeds 80 characters; contains 167 characters 68 | WARNING | Line exceeds 80 characters; contains 160 characters 70 | WARNING | Line exceeds 80 characters; contains 109 characters 97 | WARNING | Line exceeds 80 characters; contains 126 characters 108 | WARNING | Line exceeds 80 characters; contains 246 characters 117 | WARNING | Line exceeds 80 characters; contains 326 characters 118 | WARNING | Line exceeds 80 characters; contains 109 characters 120 | WARNING | Line exceeds 80 characters; contains 308 characters 121 | WARNING | Line exceeds 80 characters; contains 207 characters 122 | WARNING | Line exceeds 80 characters; contains 104 characters 123 | WARNING | Line exceeds 80 characters; contains 264 characters 125 | WARNING | Line exceeds 80 characters; contains 191 characters 129 | WARNING | Line exceeds 80 characters; contains 122 characters 131 | WARNING | Line exceeds 80 characters; contains 142 characters 134 | WARNING | Line exceeds 80 characters; contains 102 characters 137 | WARNING | Line exceeds 80 characters; contains 91 characters 145 | WARNING | Line exceeds 80 characters; contains 206 characters 147 | WARNING | Line exceeds 80 characters; contains 98 characters 149 | WARNING | Line exceeds 80 characters; contains 448 characters 159 | WARNING | Line exceeds 80 characters; contains 143 characters 160 | WARNING | Line exceeds 80 characters; contains 142 characters 187 | WARNING | Line exceeds 80 characters; contains 85 characters 199 | WARNING | Line exceeds 80 characters; contains 113 characters ---------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_config_ui/domain_config_ui.module --------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 2 WARNINGS AFFECTING 3 LINES --------------------------------------------------------------------------------------------------------------------------------------- 10 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Component\Render\FormattableMarkup. 52 | WARNING | [x] '@TODO: make this list extensible.' should match the format '@todo Fix problem X here.' 172 | WARNING | [x] '@TODO: Allow modules to extend this list.' should match the format '@todo Fix problem X here.' --------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_config_ui/src/Form/DeleteForm.php ---------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 5 WARNINGS AFFECTING 6 LINES ---------------------------------------------------------------------------------------------------------------------- 7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Form\FormBase. 14 | WARNING | [ ] The class short comment should describe what the class does and not simply repeat the class name 34 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 94 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 95 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 96 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead ---------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_config_ui/src/Form/SettingsForm.php ----------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ----------------------------------------------------------------------------------------------------------------- 11 | WARNING | The class short comment should describe what the class does and not simply repeat the class name ----------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_config_ui/src/Form/SwitchForm.php ----------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 2 WARNINGS AFFECTING 3 LINES ----------------------------------------------------------------------------------------------------------------------------------------- 14 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\domain\DomainElementManagerInterface. 20 | WARNING | [ ] The class short comment should describe what the class does and not simply repeat the class name 192 | WARNING | [x] '@TODO: Add cache contexts to form?' should match the format '@todo Fix problem X here.' ----------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_config_ui/src/Controller/DomainConfigUIController.php -------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 9 WARNINGS AFFECTING 10 LINES -------------------------------------------------------------------------------------------------------------------------------------------------- 7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\StringTranslation\StringTranslationTrait. 57 | WARNING | [ ] Unused variable $exists. 65 | WARNING | [ ] Unused variable $exists. 92 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 93 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 94 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 95 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 96 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 99 | WARNING | [x] '@TODO: inject services.' should match the format '@todo Fix problem X here.' 243 | WARNING | [x] A comma should follow the last multiline array item. Found: ) -------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_config_ui/src/Config/ConfigFactory.php ------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------------------------------------------- 71 | WARNING | [x] '@TODO: This will need to change if we allow saving for 'all allowed domains'' should match the format '@todo Fix problem X here.' ------------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_config_ui/README.md ------------------------------------------------------------------------------ FOUND 0 ERRORS AND 18 WARNINGS AFFECTING 18 LINES ------------------------------------------------------------------------------ 4 | WARNING | Line exceeds 80 characters; contains 219 characters 6 | WARNING | Line exceeds 80 characters; contains 155 characters 13 | WARNING | Line exceeds 80 characters; contains 129 characters 15 | WARNING | Line exceeds 80 characters; contains 96 characters 17 | WARNING | Line exceeds 80 characters; contains 159 characters 19 | WARNING | Line exceeds 80 characters; contains 114 characters 23 | WARNING | Line exceeds 80 characters; contains 100 characters 27 | WARNING | Line exceeds 80 characters; contains 209 characters 29 | WARNING | Line exceeds 80 characters; contains 197 characters 33 | WARNING | Line exceeds 80 characters; contains 371 characters 39 | WARNING | Line exceeds 80 characters; contains 207 characters 45 | WARNING | Line exceeds 80 characters; contains 92 characters 50 | WARNING | Line exceeds 80 characters; contains 100 characters 60 | WARNING | Line exceeds 80 characters; contains 320 characters 62 | WARNING | Line exceeds 80 characters; contains 262 characters 66 | WARNING | Line exceeds 80 characters; contains 125 characters 68 | WARNING | Line exceeds 80 characters; contains 135 characters 71 | WARNING | Line exceeds 80 characters; contains 102 characters ------------------------------------------------------------------------------ FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_config_ui/tests/src/Traits/DomainConfigUITestTrait.php ----------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ----------------------------------------------------------------------------------------------------------------- 103 | WARNING | [x] A comma should follow the last multiline array item. Found: 'access administration pages' ----------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_config_ui/tests/src/FunctionalJavascript/DomainConfigUIOverrideTest.php ------------------------------------------------------------------------------------------------------------------------------------ FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------------------------ 7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Tests\domain\Traits\DomainTestTrait. ------------------------------------------------------------------------------------------------------------------------------------ PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------------------ FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_config_ui/tests/src/FunctionalJavascript/DomainConfigUISettingsTest.php ------------------------------------------------------------------------------------------------------------------------------------ FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------------------------ 7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Tests\domain\Traits\DomainTestTrait. ------------------------------------------------------------------------------------------------------------------------------------ PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------------------ FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_config_ui/tests/src/FunctionalJavascript/DomainConfigUiSavedConfigTest.php ------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------------------------- 7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Tests\domain\Traits\DomainTestTrait. ------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain/domain.api.php ------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------------------- 10 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Session\AccountInterface. ------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain/domain.install ---------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ---------------------------------------------------------------------------------- 85 | WARNING | [x] A comma should follow the last multiline array item. Found: ) ---------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain/src/Commands/DomainCommands.php ----------------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 13 WARNINGS AFFECTING 14 LINES ----------------------------------------------------------------------------------------------------------------------------------------------------------------- 9 | WARNING | [x] Unused use statement 12 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException. 302 | WARNING | [x] A comma should follow the last multiline array item. Found: NULL 436 | WARNING | [x] A comma should follow the last multiline array item. Found: NULL 540 | WARNING | [x] A comma should follow the last multiline array item. Found: ] 635 | WARNING | [x] A comma should follow the last multiline array item. Found: NULL 875 | WARNING | [x] A comma should follow the last multiline array item. Found: 'http' 951 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 993 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 1140 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 1157 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 1250 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 1282 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 1317 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead ----------------------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain/src/DomainNegotiator.php --------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES --------------------------------------------------------------------------------------------------------------- 88 | WARNING | [x] '@TODO: Investigate caching methods.' should match the format '@todo Fix problem X here.' 126 | WARNING | [x] '@TODO: caching' should match the format '@todo Fix problem X here.' --------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain/src/DomainStorage.php ------------------------------------------------------------------------------------------------------------------------------------ FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------------------------ 11 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Config\ConfigFactoryInterface. ------------------------------------------------------------------------------------------------------------------------------------ PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------------------ FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain/src/Plugin/EntityReferenceSelection/DomainSelection.php ------------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------------------------------------------------- 6 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Entity\Plugin\EntityReferenceSelection\DefaultSelection. ------------------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain/src/Plugin/Condition/Domain.php ----------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 2 WARNINGS AFFECTING 3 LINES ----------------------------------------------------------------------------------------------------------------------------------------------- 8 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Plugin\ContainerFactoryPluginInterface. 9 | WARNING | [x] Unused use statement 66 | WARNING | [x] '@TODO Set the optionsList as a property.' should match the format '@todo Fix problem X here.' ----------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain/src/Plugin/Block/DomainServerBlock.php ------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ------------------------------------------------------------------------------------------------- 8 | WARNING | [x] Unused use statement ------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain/src/Plugin/Block/DomainSwitcherBlock.php --------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE --------------------------------------------------------------------------------------------------- 7 | WARNING | [x] Unused use statement --------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain/src/Plugin/Block/DomainNavBlock.php ---------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 4 WARNINGS AFFECTING 5 LINES ---------------------------------------------------------------------------------------------------------------------------------------------- 8 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Link. 10 | WARNING | [x] Unused use statement 52 | WARNING | [x] A comma should follow the last multiline array item. Found: ) 64 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 135 | WARNING | [x] '@TODO: active trail isn't working properly, likely because this' should match the format '@todo Fix problem X here.' ---------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain/src/Routing/DomainRouteProvider.php ---------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ---------------------------------------------------------------------------------------------- 39 | WARNING | Possible useless method overriding detected ---------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain/src/Entity/Domain.php ----------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ----------------------------------------------------------------------------------------------------------------------------------------------- 10 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\StringTranslation\StringTranslationTrait. ----------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain/src/ContextProvider/CurrentDomainContext.php ------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES ------------------------------------------------------------------------------------------------------- 6 | WARNING | [x] Unused use statement 9 | WARNING | [x] Unused use statement ------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain/src/EventSubscriber/DomainSubscriber.php --------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE --------------------------------------------------------------------------------------------------------------------------------------- 8 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Entity\EntityTypeManagerInterface. --------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain/src/DomainElementManager.php ---------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 3 WARNINGS AFFECTING 4 LINES ---------------------------------------------------------------------------------------------------------------------------------------------- 9 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Entity\EntityTypeManagerInterface. 85 | WARNING | [x] '@TODO: Potentially show this information to users with permission.' should match the format '@todo Fix problem X here.' 172 | WARNING | [x] '@TODO: static cache.' should match the format '@todo Fix problem X here.' 174 | WARNING | [x] '@TODO In tests, $entity is returning NULL.' should match the format '@todo Fix problem X here.' ---------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain/src/DomainInterface.php ---------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ---------------------------------------------------------------------------------- 6 | WARNING | [x] Unused use statement ---------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain/src/Form/DomainForm.php -------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 8 WARNINGS AFFECTING 8 LINES -------------------------------------------------------------------------------------------------- 9 | WARNING | [x] Unused use statement 122 | WARNING | [ ] Unused variable $add_suffix. 127 | WARNING | [ ] #options values usually have to run through t() for translation 128 | WARNING | [ ] #options values usually have to run through t() for translation 129 | WARNING | [ ] #options values usually have to run through t() for translation 209 | WARNING | [x] A comma should follow the last multiline array item. Found: $response 221 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 224 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead -------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain/src/Form/DomainSettingsForm.php ----------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES ----------------------------------------------------------------------------------------------------------------- 12 | WARNING | The class short comment should describe what the class does and not simply repeat the class name 48 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead ----------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain/src/Controller/DomainControllerBase.php ------------------------------------------------------------------------------------------------------------------------------ FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------------------ 8 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\domain\DomainStorageInterface. ------------------------------------------------------------------------------------------------------------------------------ PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------------ FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain/src/Controller/DomainController.php ---------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ---------------------------------------------------------------------------------------------------------------------------------------------- 6 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\StringTranslation\StringTranslationTrait. ---------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain/src/DomainRedirectResponse.php ---------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ---------------------------------------------------------------------------------------------------------------------------- 7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Component\Utility\UrlHelper. ---------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain/src/DomainListBuilder.php ------------------------------------------------------------------------------------ FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ------------------------------------------------------------------------------------ 302 | WARNING | Unused private method sortByWeight() ------------------------------------------------------------------------------------ FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain/src/DomainAccessControlHandler.php --------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE --------------------------------------------------------------------------------------------- 12 | WARNING | [x] Unused use statement --------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain/src/Access/DomainRouteCheck.php --------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE --------------------------------------------------------------------------------------------------------------------------------- 9 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\domain\DomainNegotiatorInterface. --------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain/domain.module ---------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ---------------------------------------------------------------------------------------------------------------------------------- 10 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Routing\RouteMatchInterface. ---------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain/domain.info.yml ----------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ----------------------------------------------------------------------------------------------------------- 1 | WARNING | Remove "version" from the info file, it will be added by drupal.org packaging automatically ----------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain/tests/modules/domain_config_schema_test/domain_config_schema_test.info.yml ------------------------------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES ------------------------------------------------------------------------------------------------------------------------------------- 1 | WARNING | Remove "version" from the info file, it will be added by drupal.org packaging automatically 10 | WARNING | All dependencies must be prefixed with the project name, for example "drupal:" ------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain/tests/modules/domain_test/domain_test.info.yml ------------------------------------------------------------------------------------------------------------ FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES ------------------------------------------------------------------------------------------------------------ 1 | WARNING | Remove "version" from the info file, it will be added by drupal.org packaging automatically 10 | WARNING | All dependencies must be prefixed with the project name, for example "drupal:" ------------------------------------------------------------------------------------------------------------ FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain/tests/modules/domain_test_views/domain_test_views.info.yml --------------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE --------------------------------------------------------------------------------------------------------------------- 1 | WARNING | Remove "version" from the info file, it will be added by drupal.org packaging automatically --------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain/tests/src/Functional/DomainTestBase.php ----------------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 4 WARNINGS AFFECTING 5 LINES ----------------------------------------------------------------------------------------------------------------------------------------------------------------- 6 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Component\Utility\Crypt. 15 | WARNING | [ ] The class short comment should describe what the class does and not simply repeat the class name 206 | WARNING | [x] '@TODO: This is a temporary hack for the test login fails when setting $cookie_domain.' should match the format '@todo Fix problem X here.' 232 | WARNING | [ ] Unused variable $url. 237 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead ----------------------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain/tests/src/Functional/Views/ActiveDomainDefaultArgumentTest.php ---------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES ---------------------------------------------------------------------------------------------------------------------------------------------- 8 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\domain_access\DomainAccessManagerInterface. 31 | WARNING | [x] A comma should follow the last multiline array item. Found: 'domain_test_views' ---------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain/tests/src/Kernel/DomainHookTest.php ---------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ---------------------------------------------------------------------------------------------- 136 | WARNING | Unused variable $domain. ---------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_alias/domain_alias.info.yml ----------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ----------------------------------------------------------------------------------------------------------- 1 | WARNING | Remove "version" from the info file, it will be added by drupal.org packaging automatically ----------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_alias/src/Entity/DomainAlias.php ---------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES ---------------------------------------------------------------------------------------------------------------------------------------- 6 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Config\Entity\ConfigEntityBase. 137 | WARNING | [x] A comma should follow the last multiline array item. Found: 'url.site' ---------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_alias/src/DomainAliasListBuilder.php ----------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES ----------------------------------------------------------------------------------------------------------------------------------------------- 6 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Config\Entity\ConfigEntityListBuilder. 101 | WARNING | [x] '@TODO: check for a use-case where we might need to derive the id?' should match the format '@todo Fix problem X here.' ----------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_alias/src/Form/DomainAliasForm.php -------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 6 WARNINGS AFFECTING 6 LINES -------------------------------------------------------------------------------------------------- 162 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 224 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 227 | WARNING | [x] A comma should follow the last multiline array item. Found: $edit_link 231 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 234 | WARNING | [x] A comma should follow the last multiline array item. Found: $edit_link 238 | WARNING | [x] A comma should follow the last multiline array item. Found: ) -------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_alias/src/DomainAliasStorage.php -------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 2 WARNINGS AFFECTING 3 LINES -------------------------------------------------------------------------------------------------------------------------------------------- 7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Config\TypedConfigManagerInterface. 107 | WARNING | [x] A comma should follow the last multiline array item. Found: $environment 228 | WARNING | [ ] Unused variable $index. -------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_alias/README.md -------------------------------------------------------------------------- FOUND 0 ERRORS AND 24 WARNINGS AFFECTING 24 LINES -------------------------------------------------------------------------- 4 | WARNING | Line exceeds 80 characters; contains 134 characters 10 | WARNING | Line exceeds 80 characters; contains 165 characters 15 | WARNING | Line exceeds 80 characters; contains 175 characters 34 | WARNING | Line exceeds 80 characters; contains 138 characters 39 | WARNING | Line exceeds 80 characters; contains 135 characters 55 | WARNING | Line exceeds 80 characters; contains 193 characters 60 | WARNING | Line exceeds 80 characters; contains 228 characters 76 | WARNING | Line exceeds 80 characters; contains 91 characters 90 | WARNING | Line exceeds 80 characters; contains 172 characters 99 | WARNING | Line exceeds 80 characters; contains 101 characters 104 | WARNING | Line exceeds 80 characters; contains 175 characters 106 | WARNING | Line exceeds 80 characters; contains 86 characters 112 | WARNING | Line exceeds 80 characters; contains 141 characters 118 | WARNING | Line exceeds 80 characters; contains 176 characters 124 | WARNING | Line exceeds 80 characters; contains 121 characters 128 | WARNING | Line exceeds 80 characters; contains 108 characters 129 | WARNING | Line exceeds 80 characters; contains 95 characters 132 | WARNING | Line exceeds 80 characters; contains 319 characters 137 | WARNING | Line exceeds 80 characters; contains 286 characters 139 | WARNING | Line exceeds 80 characters; contains 114 characters 141 | WARNING | Line exceeds 80 characters; contains 230 characters 148 | WARNING | Line exceeds 80 characters; contains 83 characters 150 | WARNING | Line exceeds 80 characters; contains 84 characters 157 | WARNING | Line exceeds 80 characters; contains 256 characters -------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_alias/domain_alias.module ---------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES ---------------------------------------------------------------------------------------------------------------------------------- 10 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Session\AccountInterface. 112 | WARNING | [ ] Unused variable $id. ---------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_alias/tests/src/Functional/DomainAliasNegotiatorTest.php -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 72 | WARNING | [x] '@TODO: This could be much more elegant: the redirects break assertSession()->responseContains()' should match the format '@todo Fix problem X here.' 81 | WARNING | [x] '@TODO: Refactor this test to merge with the above.' should match the format '@todo Fix problem X here.' 97 | WARNING | [x] '@TODO: This could be much more elegant: the redirects break assertSession()->responseContains()' should match the format '@todo Fix problem X here.' -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_alias/tests/src/Functional/DomainAliasActionsTest.php ---------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ---------------------------------------------------------------------------------------------------------------- 29 | WARNING | Unused variable $alias_loader. ---------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_alias/tests/src/Functional/DomainAliasMiddlewareTest.php ------------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------- 23 | WARNING | [x] A comma should follow the last multiline array item. Found: 'domain_config_middleware_test' ------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------- FILE: /home/lenovo/d7to9/web/modules/contrib/domain/domain_alias/tests/src/Functional/DomainAliasEnvironmentTest.php -------------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE -------------------------------------------------------------------------------------------------------------------- 40 | WARNING | [x] A comma should follow the last multiline array item. Found: baseHostname -------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------------------------------------------- Time: 2.1 secs; Memory: 22MB