Problem/Motivation

Fix class short name and missing doc comments for properties/methods.
- The class short/missing name warnings/errors are ignored currently by excluding rule in phpcs.xml file.
- Remove this exclusion of the coder rule and fix the issues logged.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

gaurav_manerkar created an issue. See original summary.

gaurav_manerkar’s picture

Status: Active » Needs work
lavanyatalwar’s picture

Assigned: Unassigned » lavanyatalwar

Working on it.

lavanyatalwar’s picture

Assigned: lavanyatalwar » Unassigned
Status: Needs work » Needs review

@gaurav_manerkar
Done with the phpcs errors.

gaurav_manerkar’s picture

Thanks @lavanyatalwar looks good.

cleavinjosh’s picture

Status: Needs review » Needs work
Issue tags: +Needs issue summary update

Hi @guarav_manerkar,

Thank you for creating an issue for PHP_CodeSniffer.

The issue summary should always show the report given from PHP_CodeSniffer and the arguments passed to phpcs.

Kindly update. Thank you.

gaurav_manerkar’s picture

Issue summary: View changes
Status: Needs work » Needs review
Issue tags: -Needs issue summary update

Added, thanks

gaurav_manerkar’s picture

Issue summary: View changes
cleavinjosh’s picture

Status: Needs review » Needs work

Hi @lavanyatalwar,

Thank you for providing an MR. I applied MR!148, it was applied smoothly and fixed many phpcs issues.

These are the remaining issues after I ran phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml hook_event_dispatcher

➜  hook_event_dispatcher git:(4.x) curl https://git.drupalcode.org/project/hook_event_dispatcher/-/merge_requests/148.diff | patch -p1
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 82113    0 82113    0     0   161k      0 --:--:-- --:--:-- --:--:--  161k
patching file modules/core_event_dispatcher/src/Event/Block/BlockAccessEvent.php
patching file modules/core_event_dispatcher/src/Event/Entity/EntityBundleEventBase.php
patching file modules/core_event_dispatcher/src/Event/Token/TokensInfoEvent.php
patching file modules/core_event_dispatcher/src/Event/Token/TokensReplacementAlterEvent.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Block/BlockAccessEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Block/BlockAlterEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Block/BlockBuildAlterEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Block/BlockViewAlterEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Core/CacheFlushEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Core/ConfigImportStepsAlterEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Core/ConfigSchemaInfoAlterEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Core/CountriesAlterEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Core/CronEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Core/DataTypeInfoAlterEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Core/DisplayVariantPluginAlterEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Core/LayoutAlterEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Core/MailAlterEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Core/MailBackendInfoAlterEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Core/QueueInfoAlterEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Core/RebuildEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Core/ValidationConstraintAlterEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Entity/EntityAccessEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Entity/EntityBaseFieldInfoAlterEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Entity/EntityBaseFieldInfoEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Entity/EntityBundleEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Entity/EntityBundleFieldInfoAlterEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Entity/EntityBundleInfoEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Entity/EntityCreateAccessEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Entity/EntityCrudEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Entity/EntityExtraFieldInfoEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Entity/EntityFieldAccessEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Entity/EntityMulCrudEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Entity/EntityOperationEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Entity/EntityTypeAlterEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Entity/EntityTypeBuildEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/File/ArchiverInfoAlterEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/File/FileDownloadEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/File/FileMimetypeMappingAlterEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/File/FileTransferInfoEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/File/FileUrlAlterEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Form/FormEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Language/LanguageSwitchLinksAlterEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Menu/MenuLocalTasksAlterEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Options/OptionsListAlterEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Theme/JsAlterEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Theme/LibraryInfoAlterEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Theme/PageEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Theme/TemplatePreprocessDefaultVariablesAlterEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Theme/ThemeEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Theme/ThemeRegistryAlterEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Theme/ThemeSuggestionsAlterEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Theme/ThemesInstalledEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Token/TokenInfoEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Token/TokenReplacementAlterEventTest.php
patching file modules/core_event_dispatcher/tests/src/Kernel/Token/TokenReplacementEventTest.php
patching file modules/core_event_dispatcher/tests/src/Unit/Token/TokenTest.php
patching file modules/core_event_dispatcher/tests/src/Unit/Token/TokenTypeTest.php
patching file modules/field_event_dispatcher/src/Event/Field/WidgetCompleteFormAlterEvent.php
patching file modules/field_event_dispatcher/tests/src/Kernel/FieldFormatterInfoAlterEventTest.php
patching file modules/field_event_dispatcher/tests/src/Kernel/FieldInfoAlterEventTest.php
patching file modules/field_event_dispatcher/tests/src/Kernel/FieldSettingsSummaryAlterEventTest.php
patching file modules/field_event_dispatcher/tests/src/Kernel/FieldThirdPartySettingsFormEventTest.php
patching file modules/field_event_dispatcher/tests/src/Kernel/WidgetFormAlterEventTest.php
patching file modules/field_event_dispatcher/tests/src/Unit/Field/AbstractFormEntityDisplayEditAlterEventSubscriberTestCase.php
patching file modules/jsonapi_event_dispatcher/tests/src/Kernel/JsonApiEntityFieldFilterAccessEventTest.php
patching file modules/jsonapi_event_dispatcher/tests/src/Kernel/JsonApiEntityFilterAccessEventTest.php
patching file modules/media_event_dispatcher/tests/src/Kernel/MediaSourceInfoAlterEventTest.php
patching file modules/media_event_dispatcher/tests/src/Kernel/OEmbedResourceUrlAlterEventTest.php
patching file modules/path_event_dispatcher/tests/src/Kernel/PathEventTest.php
patching file modules/preprocess_event_dispatcher/src/Variables/CommentEventVariables.php
patching file modules/preprocess_event_dispatcher/tests/src/Kernel/PreprocessEventPassTest.php
patching file modules/preprocess_event_dispatcher/tests/src/Kernel/PreprocessModuleTest.php
patching file modules/preprocess_event_dispatcher/tests/src/Unit/EntityEventTest.php
patching file modules/preprocess_event_dispatcher/tests/src/Unit/EntityEventVariablesTest.php
patching file modules/preprocess_event_dispatcher/tests/src/Unit/EntityMockTrait.php
patching file modules/preprocess_event_dispatcher/tests/src/Unit/FactoryMapperTest.php
patching file modules/preprocess_event_dispatcher/tests/src/Unit/OtherEventTest.php
patching file modules/preprocess_event_dispatcher/tests/src/Unit/OtherEventVariablesTest.php
patching file src/Drush/Generators/EventGenerator.php
patching file tests/src/Unit/Event/PluginDefinitionAlterEventBaseTest.php
patching file tests/src/Unit/HookEventDispatcherModuleHandlerTest.php
patching file tests/src/Unit/HookEventPluginManagerTest.php
patching file tests/src/Unit/Manager/HookEventDispatcherManagerTest.php
patching file tests/src/Unit/Plugin/Factory/EventFactoryTest.php
➜  hook_event_dispatcher git:(4.x) ✗ ..
➜  contrib git:(main) ✗phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml hook_event_dispatcher
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\Tests\hook_event_dispatcher\Kernel\ListenerTrait.
 18 | 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: ...-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/tests/src/Kernel/Entity/EntityMulCrudEventTest.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\core_event_dispatcher\EntityHookEvents.
 20 | 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: ...ite/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/tests/src/Kernel/Entity/EntityTypeBuildEventTest.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\core_event_dispatcher\EntityHookEvents.
 17 | 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: ...emo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/tests/src/Kernel/Entity/EntityCrudEventTest.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\core_event_dispatcher\EntityHookEvents.
 31 | 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: .../drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/tests/src/Kernel/Entity/EntityCreateAccessEventTest.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 9 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\core_event_dispatcher\EntityHookEvents.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...ite/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/tests/src/Kernel/Entity/EntityTypeAlterEventTest.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\core_event_dispatcher\EntityHookEvents.
 17 | 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: ...te/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/tests/src/Kernel/Entity/EntityBundleInfoEventTest.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\core_event_dispatcher\EntityHookEvents.
 19 | 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: ...o-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/tests/src/Kernel/Entity/EntityBundleEventTest.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\core_event_dispatcher\EntityHookEvents.
 19 | 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: ...11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/tests/src/Kernel/Language/LanguageSwitchLinksAlterEventTest.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  9 | ERROR   | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\core_event_dispatcher\Event\Language\LanguageSwitchLinksAlterEvent.
 20 | 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: ...terns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/tests/src/Kernel/Theme/PageEventTest.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 8 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\core_event_dispatcher\Event\Theme\PageAttachmentsEvent.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...erns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/tests/src/Kernel/Theme/ThemeEventTest.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\core_event_dispatcher\Event\Theme\ThemeEvent.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...ns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/tests/src/Kernel/Theme/JsAlterEventTest.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 8 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\core_event_dispatcher\Event\Theme\JsAlterEvent.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...e/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/tests/src/Kernel/Theme/ThemeRegistryAlterEventTest.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\core_event_dispatcher\Event\Theme\ThemeRegistryAlterEvent.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...rupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/tests/src/Kernel/Theme/ThemeSuggestionsAlterEventTest.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\core_event_dispatcher\Event\Theme\AbstractThemeSuggestionsEvent.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...ite/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/tests/src/Kernel/Theme/LibraryInfoAlterEventTest.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\core_event_dispatcher\Event\Theme\LibraryInfoAlterEvent.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/tests/src/Kernel/Theme/ThemesInstalledEventTest.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\core_event_dispatcher\Event\Theme\ThemesInstalledEvent.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...all-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/tests/src/Kernel/Theme/TemplatePreprocessDefaultVariablesAlterEventTest.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\core_event_dispatcher\Event\Theme\TemplatePreprocessDefaultVariablesAlterEvent.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...e/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/tests/src/Kernel/Menu/MenuLocalTasksAlterEventTest.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\core_event_dispatcher\Event\Menu\MenuLocalTasksAlterEvent.
 18 | 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: ...emo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/tests/src/Kernel/Block/BlockAccessEventTest.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  9 | ERROR   | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\core_event_dispatcher\BlockHookEvents.
 19 | 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: ...-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/tests/src/Kernel/Block/BlockViewAlterEventTest.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\block\BlockViewBuilder.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/tests/src/Kernel/Block/BlockBuildAlterEventTest.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\core_event_dispatcher\BlockHookEvents.
 18 | 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: ...Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/tests/src/Kernel/Block/BlockAlterEventTest.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\core_event_dispatcher\BlockHookEvents.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: /Users/interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/core_event_dispatcher.module
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 52 | WARNING | There must be no blank line following an inline comment
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...rs/interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Token/TokensInfoEvent.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 17 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...ns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Options/OptionsListAlterEvent.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 15 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...s/interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Form/AbstractFormEvent.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: ...sers/interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Form/FormAlterEvent.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 10 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...rs/interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Form/FormIdAlterEvent.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 9 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Core/QueueInfoAlterEvent.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: ...sers/interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Core/MailAlterEvent.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: ...Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Core/ConfigImportStepsAlterEvent.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 13 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...erns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Core/DataTypeInfoAlterEvent.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: ...rs/interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Core/LayoutAlterEvent.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: ...ers/interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Core/CacheFlushEvent.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: /Users/interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Core/CronEvent.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: /Users/interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Core/RebuildEvent.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: ...o-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Core/ValidationConstraintAlterEvent.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: ...interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Core/CountriesAlterEvent.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: ...s/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Core/MailBackendInfoAlterEvent.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: ...o-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Core/DisplayVariantPluginAlterEvent.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: .../Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Core/ConfigSchemaInfoAlterEvent.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: ...terns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/File/FileTransferInfoEvent.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 15 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...s/interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/File/FileDownloadEvent.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 13 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...erns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/File/ArchiverInfoAlterEvent.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: ...s/interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/File/FileUrlAlterEvent.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: ...mo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/File/FileMimetypeMappingAlterEvent.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: ...erns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Entity/EntityViewAlterEvent.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: ...-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Entity/EntityBuildDefaultsAlterEvent.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: ...Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Entity/EntityExtraFieldInfoEvent.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 13 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...o-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Entity/EntityTranslationDeleteEvent.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 10 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: .../Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Entity/EntityBaseFieldInfoEvent.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 16 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...s/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Entity/EntityCreateAccessEvent.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 20 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...ite/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Entity/EntityBundleFieldInfoAlterEvent.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 15 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...s/interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Entity/EntityViewEvent.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: ...s/interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Entity/EntityLoadEvent.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: ...interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Entity/EntityInsertEvent.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 10 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Entity/EntityCreateEvent.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 10 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Entity/EntityBaseFieldInfoAlterEvent.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 13 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...nterns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Entity/EntityPresaveEvent.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: ...erns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Entity/EntityPredeleteEvent.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 10 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Entity/EntityDeleteEvent.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 10 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Entity/EntityOperationAlterEvent.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 13 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...rns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Entity/EntityBundleInfoEvent.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 13 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
 17 | ERROR   | Missing member variable doc comment
 25 | ERROR   | Missing short description in doc comment
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...erns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Entity/EntityTypeBuildEvent.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: ...interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Entity/EntityAccessEvent.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 16 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Entity/EntityExtraFieldInfoAlterEvent.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: ...s/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Entity/EntityBundleDeleteEvent.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 10 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...rns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Entity/EntityBundleEventBase.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 12 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
 28 | ERROR   | Description for the @return value is missing
 37 | ERROR   | Description for the @return value is missing
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...s/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Entity/EntityBundleCreateEvent.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 10 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...emo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Entity/EntityBundleInfoAlterEvent.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 12 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
 28 | ERROR   | Description for the @return value is missing
 34 | ERROR   | Missing short description in doc comment
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...terns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Entity/AbstractEntityEvent.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: ...interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Entity/EntityUpdateEvent.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: ...o-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Entity/EntityTranslationInsertEvent.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 10 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...ite/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Language/LanguageSwitchLinksAlterEvent.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 13 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Theme/ThemeSuggestionsAlterEvent.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 10 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...1_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Theme/TemplatePreprocessDefaultVariablesAlterEvent.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: ...mo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Theme/ThemeSuggestionsAlterIdEvent.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 9 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...terns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Theme/PageAttachmentsEvent.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: ...Users/interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Theme/PageTopEvent.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: ...Users/interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Theme/JsAlterEvent.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 13 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...o-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Theme/AbstractThemeSuggestionsEvent.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 10 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...erns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Theme/LibraryInfoAlterEvent.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: ...ns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Theme/ThemeRegistryAlterEvent.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: ...terns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Theme/ThemesInstalledEvent.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: /Users/interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Theme/ThemeEvent.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 13 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...rs/interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Theme/PageBottomEvent.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: ...ns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Menu/MenuLocalTasksAlterEvent.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 13 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...s/interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Block/BlockAccessEvent.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\block\BlockInterface.
 18 | 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: ...terns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Block/BlockBuildAlterEvent.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 10 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Block/BlockViewBuilderAlterEventBase.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: ...nterns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Block/BlockViewAlterEvent.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 10 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...rs/interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Block/BlockAlterEvent.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: ...upal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/jsonapi_event_dispatcher/tests/src/Kernel/JsonApiEntityFilterAccessEventTest.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 10 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\jsonapi\JsonApiResource\Data.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/jsonapi_event_dispatcher/tests/src/Kernel/JsonApiEntityFieldFilterAccessEventTest.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 8 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\jsonapi_event_dispatcher\Event\JsonApiEntityFieldFilterAccessEvent.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...ite/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/jsonapi_event_dispatcher/src/Event/JsonApiEntityFieldFilterAccessEvent.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 17 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...ers/interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/user_event_dispatcher/tests/src/Kernel/UserEventTest.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 19 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...ns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/user_event_dispatcher/src/Event/User/UserFormatNameAlterEvent.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 13 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...ers/interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/user_event_dispatcher/src/Event/User/UserLogoutEvent.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 13 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/user_event_dispatcher/src/Event/User/UserCancelMethodsAlterEvent.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: ...ers/interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/user_event_dispatcher/src/Event/User/UserCancelEvent.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 13 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: ...sers/interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/modules/user_event_dispatcher/src/Event/User/UserLoginEvent.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 13 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: /Users/interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/src/HookEventDispatcherInterface.php
------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------
 7 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: /Users/interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/src/Generators/EventGenerator.php
---------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------------------------------------------------
 10 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
---------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: /Users/interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/src/Drush/Generators/EventGenerator.php
---------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------------------------------------------------------
 16 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
---------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: /Users/interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/src/Event/AccessEventInterface.php
----------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------------------------------------------
 10 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
----------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: /Users/interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/src/Event/PluginDefinitionAlterEventBase.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: /Users/interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/src/Event/EventInterface.php
----------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------------------------------------
 7 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
----------------------------------------------------------------------------------------------------------------------------------------------------


FILE: /Users/interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/src/Event/AccessEventTrait.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: /Users/interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/src/Event/EventFactoryTrait.php
-------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------
 7 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: /Users/interns/Demo-site/drupal_11_test/install-dir/drupal_11_test_site/web/modules/contrib/hook_event_dispatcher/src/HookEventPluginManagerInterface.php
---------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------------------------------------------------------
 7 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
---------------------------------------------------------------------------------------------------------------------------------------------------------------

Time: 3.79 secs; Memory: 18MB

➜  contrib git:(main) ✗

Please note that there are still many issues that were not shown since it is too long.

Please check and advise.
Thank you.

gaurav_manerkar’s picture

Hi @cleavinjosh,
We should also update phpcs.xml.dist file from the module for gitlab-ci to log warninings,

cleavinjosh’s picture

Assigned: Unassigned » cleavinjosh
cleavinjosh’s picture

Hi @gaurav_manerkar,

I will try. Thank you.

cleavinjosh changed the visibility of the branch 3486944-phpcs-issues to hidden.

cleavinjosh’s picture

Assigned: cleavinjosh » Unassigned

Hi @gaurav_manerkar,

My apologies, I am not sure on how to proceed.

cleavinjosh changed the visibility of the branch 3486944-phpcodesniffer-issues to hidden.

gaurav_manerkar’s picture

Hi @cleavinjosh / @lavanyatalwar,

I have updated phpcs rules to highlight code standard errors on gitlab-ci.
https://git.drupalcode.org/issue/hook_event_dispatcher-3486944/-/jobs/34...

Let me know if any of you are going to fix the remaining issues.

Thanks.

gaurav_manerkar’s picture

Issue tags: +Coding standards
lavanyatalwar’s picture

Assigned: Unassigned » lavanyatalwar

Sure, Working on it

gaurav_manerkar’s picture

Assigned: lavanyatalwar » Unassigned
Status: Needs work » Needs review

Pls review.

el7cosmos’s picture

Status: Needs review » Postponed
Related issues: +#3483028: Remove use-statement order sniff

lets wait for #3483028: Remove use-statement order sniff, and no need to change the phpcs config

el7cosmos’s picture

Status: Postponed » Closed (outdated)
gaurav_manerkar’s picture

Assigned: Unassigned » gaurav_manerkar
Status: Closed (outdated) » Needs work

@el7cosmos
There are other PHPcs issues that need to be fixed.

el7cosmos’s picture

gaurav_manerkar’s picture

Assigned: gaurav_manerkar » Unassigned
Status: Needs work » Needs review

Pls review.

avpaderno’s picture

Status: Needs review » Needs work
Issue tags: +Needs issue summary update

Since GitLab CI is enabled for every project, that should be used to get the list of the PHP_CodeSniffer errors/warnings.

lavanyatalwar’s picture

Issue summary: View changes
lavanyatalwar’s picture

Status: Needs work » Needs review

@avpaderno, Updated the issue summary
Kindly review :)

gaurav_manerkar’s picture

Issue summary: View changes
gaurav_manerkar’s picture

Issue summary: View changes

Updated issue summary.

el7cosmos’s picture

Status: Needs review » Closed (outdated)

This is no longer needed, HEAD is already green and there are no code sniffer issues.