- Issue created by @roshni27
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 4:35pm 11 July 2023 - š®š³India roshni27
Some issues which are better know to maintainer are pending and all remaining issues solve by me. Please review the patch.
- šµšPhilippines clarkssquared
Hi roshni27
I applied your patch #2 and confirmed that it fixed most of the PHPCS issues, will retain this to needs review for maintainer's response about the remaining PHPCS issues, for convenience below are the remaining issues that is shown in my terminal.
FILE: /Users/studenttrainees/ckeditor_accordion/css/accordion.frontend.css
--------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------
126 | ERROR | Class definition is empty
--------------------------------------------------------------------------FILE: /Users/studenttrainees/ckeditor_accordion/src/Plugin/CKEditor4To5Upgrade/Accordion.php
--------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
--------------------------------------------------------------------------------------------------------------------------
12 | ERROR | Missing short description in doc comment
32 | ERROR | Public method name "Accordion::mapCKEditor4ToolbarButtonToCKEditor5ToolbarItem" is not in lowerCamel format
45 | ERROR | Public method name "Accordion::mapCKEditor4SettingsToCKEditor5Configuration" is not in lowerCamel format
52 | ERROR | Public method name "Accordion::computeCKEditor5PluginSubsetConfiguration" is not in lowerCamel format
--------------------------------------------------------------------------------------------------------------------------Time: 259ms; Memory: 10MB
Command I executed: phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml ckeditor_accordion
Please look at the attached file for your reference,
Thank you
- š®š³India roshni27
Hi clarkssquared,
Thanks to review.
I have mention on above comment some issues are remain which better know to maintainer. - š®š³India shyam_bhatt Gujarat
Added a new patch, to fix all warnings/errors reported by PHP_CodeSniffer. Please check and review.
+ Needs Review.
- Status changed to RTBC
about 1 year ago 4:29am 15 November 2023 - šµšPhilippines clarkssquared
Hi Shyam
I applied your patch #5 and I confirmed that it fixes all the PHPCS issues.
ā ckeditor_accordion git:(2.0.x) curl https://www.drupal.org/files/issues/2023-11-10/3373944-5.patch | patch -p1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 4698 100 4698 0 0 4772 0 --:--:-- --:--:-- --:--:-- 4798 patching file ckeditor_accordion.install patching file 'css/accordion.frontend.css' patching file 'src/Form/CkeditorAccordionSettingsForm.php' patching file 'src/Plugin/CKEditor4To5Upgrade/Accordion.php' patching file 'src/Plugin/CKEditorPlugin/CKEditorAccordion.php' ā ckeditor_accordion git:(2.0.x) ā .. ā contrib git:(master) ā phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml ckeditor_accordion ā contrib git:(master) ā
Thanks
- Status changed to Fixed
12 months ago 6:17am 1 December 2023 - š«š®Finland j-vee Turku, Finland
Fixed all but the function renaming, thanks!
Automatically closed - issue fixed for 2 weeks with no activity.