- Issue created by @roshni27
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 8:38am 6 July 2023 - Status changed to Needs work
3 months ago 9:14am 21 August 2024 - šµšPhilippines cleavinjosh
Hi @roshni27,
I applied MR!2, it was applied smoothly and fixed most of the phpcs issues.
These are the remaining issues After I ran
</code>. <code>ā hidden_language git:(2.0.0-beta3) curl https://git.drupalcode.org/project/hidden_language/-/merge_requests/2.diff | patch -p1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 12954 0 12954 0 0 28826 0 --:--:-- --:--:-- --:--:-- 28786 patching file Form/HiddenLanguageForm.php patching file hidden_language.links.menu.yml patching file hidden_language.module patching file src/EventSubscriber/HiddenLanguageSubscriber.php patching file src/Form/HiddenLanguageForm.php patching file src/HiddenLanguageManager.php patching file src/HiddenLanguagePermissions.php ā hidden_language git:(2.0.0-beta3) ā .. ā contrib phpcs --standard="Drupal,DrupalPractice" --extensions=php,module,inc,install,test,profile,theme,info,txt,md,yml,css,js hidden_language FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/hidden_language/hidden_language.module ----------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ----------------------------------------------------------------------------------------------------------- 3 | ERROR | Missing short description in doc comment ----------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/hidden_language/src/HiddenLanguagePermissions.php ---------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ---------------------------------------------------------------------------------------------------------------------- 45 | ERROR | Description for the @return value is missing ---------------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/hidden_language/src/HiddenLanguageManager.php ------------------------------------------------------------------------------------------------------------------ FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------ 39 | ERROR | Missing @var tag in member variable comment ------------------------------------------------------------------------------------------------------------------ FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/hidden_language/src/EventSubscriber/HiddenLanguageSubscriber.php ------------------------------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES ------------------------------------------------------------------------------------------------------------------------------------- 101 | WARNING | Line exceeds 80 characters; contains 84 characters 108 | WARNING | ConfigurableLanguage::load calls should be avoided in classes, use dependency injection instead ------------------------------------------------------------------------------------------------------------------------------------- Time: 194ms; Memory: 10MB ā contrib
Thank you.
- š®š¹Italy apaderno Brescia, š®š¹
- Status changed to Needs review
3 months ago 12:37pm 21 August 2024