- Issue created by @sidharth_soman
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 10:58am 11 July 2023 - 🇮🇳India sidharth_soman Bangalore
All issues fixed except the mismatch of the class name with the filename for the plugin file Copylink.php. I'm leaving it as it is for now.
- Status changed to Needs work
over 1 year ago 1:07am 12 July 2023 - 🇵🇭Philippines clarkssquared
Hi sidharth_soman
I applied your patch #2 to my local and I noticed that there is still PHPCS error being flagged in my terminal, for convenience below is the error.
FILE: /Users/studenttrainees/imce_copylink/src/Plugin/ImcePlugin/Copylink.php
-----------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------
16 | ERROR | Class name doesn't match filename; expected "class Copylink"
-----------------------------------------------------------------------------Time: 177ms; Memory: 10MB
Please also look at the screenshot I attached,
Thank you. - Status changed to Needs review
over 1 year ago 2:28am 12 July 2023 - 🇮🇳India Soham Sengupta
Hi,
I have fixed the remaining phpcs error in this patch.
- Status changed to RTBC
over 1 year ago 10:33am 12 July 2023 - 🇵🇭Philippines roberttabigue
Hi,
I reviewed the changes and confirmed the Patch was applied cleanly to the IMCE Copy Link module against 8.x-1.x-dev on Drupal 9.5.10.
Checking patch imce_copylink.css... Checking patch src/Plugin/ImcePlugin/Copylink.php... Applied patch imce_copylink.css cleanly. Applied patch src/Plugin/ImcePlugin/Copylink.php cleanly.
And all PHPCS errors have been fixed.
I ran this command:
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig imce_copylink
Please see the attached file for reference.
I'm moving this now to RTBC.
Thank you!