- Issue created by @roshni27
- @roshni27 opened merge request.
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 7:44am 7 July 2023 - š®š³India roshni27
Some issues which are better know to maintainer are pending, for reading purpose character limits issues remain and all remaining issues solve by me. Please review the MR.
- Status changed to Needs work
4 months ago 7:51am 21 August 2024 - šµšPhilippines cleavinjosh
Hi @roshni27,
I applied MR!3, it was applied smoothly and fixed most of the 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
:ā keyboard_shortcuts git:(1.1.0) curl https://git.drupalcode.org/project/keyboard_shortcuts/-/merge_requests/3.diff | patch -p1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 13956 0 13956 0 0 32694 0 --:--:-- --:--:-- --:--:-- 32760 patching file keyboard_shortcuts.module patching file keyboard_shortcuts.services.yml patching file src/Form/KeyboardShortcutsSettingsForm.php ā keyboard_shortcuts git:(1.1.0) ā .. ā contrib phpcs --standard="Drupal,DrupalPractice" --extensions=php,module,inc,install,test,profile,theme,info,txt,md,yml,css,js keyboard_shortcuts FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/keyboard_shortcuts/keyboard_shortcuts.info.yml ------------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------- 8 | WARNING | All dependencies must be prefixed with the project name, for example "drupal:" ------------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/keyboard_shortcuts/js/keyboard_shortcuts.js ---------------------------------------------------------------------------------------------------------------- FOUND 13 ERRORS AFFECTING 10 LINES ---------------------------------------------------------------------------------------------------------------- 1 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 16 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 27 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 46 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 57 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 57 | ERROR | [x] Expected 1 space before opening brace; found 0 59 | ERROR | [x] Expected 1 space after "&" operator; 0 found 59 | ERROR | [x] Expected 1 space before "="; 0 found 69 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 72 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 79 | ERROR | [x] Expected 1 space before "==="; 0 found 79 | ERROR | [x] Expected 1 space after "==="; 0 found 80 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" ---------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 13 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/keyboard_shortcuts/README.md ------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES ------------------------------------------------------------------------------------------------- 3 | WARNING | Line exceeds 80 characters; contains 107 characters 17 | WARNING | Line exceeds 80 characters; contains 94 characters ------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/keyboard_shortcuts/keyboard_shortcuts.module ----------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES ----------------------------------------------------------------------------------------------------------------- 7 | ERROR | Parameter tags must be defined first in a doc comment 45 | WARNING | Only string literals should be passed to t() where possible ----------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/keyboard_shortcuts/src/Form/KeyboardShortcutsSettingsForm.php ---------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES ---------------------------------------------------------------------------------------------------------------------------------- 65 | ERROR | Description for the @return value is missing 280 | WARNING | Only string literals should be passed to t() where possible ---------------------------------------------------------------------------------------------------------------------------------- Time: 182ms; Memory: 12MB ā contrib
Thank you.