- Issue created by @dineshkumarbollu
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 5:33am 9 May 2023 - š®š³India dineshkumarbollu
HI
I fix the phpcs issues except Unused variable $delta. and also change the file READ.md to README.md
Please Review
Thanks
- Status changed to Needs work
over 1 year ago 12:55pm 9 May 2023 - šµšPhilippines clarkssquared
Hi dineshkumarbollu,
I applied your patch #2 to List Formatter module against version 8.x-2.x-dev and confirmed that most of the PHPCS errors were fixed except for the Unused variable $delta. However, I cannot see the README.md after applying the patch, instead it only removes the READ.md file.
Kindly check please the screenshots attached for your reference.
Thank you.
- š®š³India dineshkumarbollu
Hi
It my mistake while creating patch git doesn't track the new file i will provide new patch
- Status changed to Needs review
over 1 year ago 1:47pm 9 May 2023 - š®š³India dineshkumarbollu
Created MR for this issue please review.
Thanks
- Status changed to Needs work
over 1 year ago 2:03pm 9 May 2023 - šµšPhilippines clarkssquared
Hi dineshkumarbollu
I applied your patch #5 and confirmed that README.md replaced READ.md, but moving the status to needs work for the remaining PHPCS error regarding the Unused variable $delta for the maintainer's assessment if the remaining issue must be fixed or not.
Thank you.
- Status changed to Needs review
over 1 year ago 3:26am 10 May 2023 - š®š³India dineshkumarbollu
Hi clarkssquared
Please review the MR!12, patch creating some issues.
Thanks
- Status changed to Needs work
9 months ago 6:43am 7 March 2024 - š®š³India pray_12
Hi ,
Applied the MR!12 and found few errors and warning. - š®š³India Yashaswi18
Hello, I cloned the repository, checked out to the branch '3358999-phpcs-issues' and ran the command "phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig",found no phpcs issues or warnings left. Attaching the screenshot.
- Status changed to Needs review
8 months ago 5:34am 21 March 2024 - Status changed to Needs work
8 months ago 2:47pm 22 March 2024 - šµšPhilippines clarkssquared
Hi
I applied the MR !12 and there are two files that the patch fails to apply, and there are two PHPCS issue that were flagged. I will also move this to needs work because the MR was blocked maybe fix the merge conflict issues.
ā list_formatter git:(ade7e9f) curl https://git.drupalcode.org/project/list_formatter/-/merge_requests/12.diff | patch -p1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 11654 0 11654 0 0 23425 0 --:--:-- --:--:-- --:--:-- 23686 patching file READ.md patching file 'src/Plugin/Field/FieldFormatter/ListFormatter.php' patching file 'src/Plugin/ListFormatterPluginManager.php' 1 out of 2 hunks failed--saving rejects to 'src/Plugin/ListFormatterPluginManager.php.rej' patching file 'src/Plugin/list_formatter/EntityReferenceList.php' patching file 'src/Plugin/list_formatter/LinkList.php' patching file 'src/Plugin/list_formatter/OptionsList.php' patching file 'src/Plugin/list_formatter/TaxonomyList.php' patching file 'src/Plugin/list_formatter/TextList.php' patching file 'src/Tests/OutputTest.php' 1 out of 1 hunks failed--saving rejects to 'src/Tests/OutputTest.php.rej' ā list_formatter git:(ade7e9f) ā .. ā contrib git:(master) ā phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml list_formatter FILE: /Users/clarksubing-subing/Projects/d9/d9-local/web/modules/contrib/list_formatter/src/Tests/OutputTest.php ---------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ---------------------------------------------------------------------------------------------------------------- 45 | WARNING | Unused variable $delta. ---------------------------------------------------------------------------------------------------------------- FILE: /Users/clarksubing-subing/Projects/d9/d9-local/web/modules/contrib/list_formatter/src/Plugin/ListFormatterPluginManager.php --------------------------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE --------------------------------------------------------------------------------------------------------------------------------- 51 | WARNING | Unused variable $id. --------------------------------------------------------------------------------------------------------------------------------- Time: 414ms; Memory: 12MB ā contrib git:(master) ā