- Issue created by @sidharth_soman
- š®š³India sidharth_soman Bangalore
I've solved all the issues except for the array exceeding column 80 in EntityAbuseReportLinkLazyBuilder.php. I'm keeping it that way due to readability.
Please review the patch.
- Issue was unassigned.
- Status changed to Needs review
almost 2 years ago 3:48pm 10 July 2023 - Status changed to Needs work
over 1 year ago 5:43am 15 December 2023 - šµšPhilippines clarkssquared
Hi
I applied your patch #2 and it fixes most of the PHPCS issues that has been reported but there is one PHPCS error that my terminal flagged, for your reference this is the output from my terminal after I applied your patch
ā entity_abuse git:(1.1.x) curl https://www.drupal.org/files/issues/2023-07-10/3373668-2.patch | patch -p1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 2211 100 2211 0 0 4559 0 --:--:-- --:--:-- --:--:-- 4654 patching file 'src/Controller/EntityAbuseNoAccess.php' patching file 'src/Form/EntityAbuseReportDeleteForm.php' patching file 'src/Form/EntityAbuseSettingsForm.php' ā entity_abuse git:(1.1.x) ā .. ā contrib git:(master) ā phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml entity_abuse FILE: .../web/modules/contrib/entity_abuse/src/EntityAbuseReportLinkLazyBuilder.php -------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE -------------------------------------------------------------------------------- 94 | ERROR | The array declaration extends to column 86 (the limit is 80). The | | array content should be split up over multiple lines -------------------------------------------------------------------------------- Time: 419ms; Memory: 10MB ā contrib git:(master) ā
- Status changed to Needs review
over 1 year ago 6:00pm 15 December 2023 - Status changed to RTBC
over 1 year ago 9:10am 18 December 2023 - šµšPhilippines clarkssquared
Hi
I applied patch #5 and I confirmed that it fixes all the PHPCS issues
ā entity_abuse git:(1.1.x) curl https://www.drupal.org/files/issues/2023-12-15/3373668-5.patch | patch -p1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 2909 100 2909 0 0 15609 0 --:--:-- --:--:-- --:--:-- 16071 patching file 'src/Controller/EntityAbuseNoAccess.php' patching file 'src/EntityAbuseReportLinkLazyBuilder.php' patching file 'src/Form/EntityAbuseReportDeleteForm.php' patching file 'src/Form/EntityAbuseSettingsForm.php' ā entity_abuse git:(1.1.x) ā .. ā contrib git:(master) ā phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml entity_abuse ā contrib git:(master) ā
- 2520c3c4 committed on 1.1.x
Issue #3373668 by sidharth_soman, sakthi_dev, clarkssquared: Fix the...
- 2520c3c4 committed on 1.1.x
Automatically closed - issue fixed for 2 weeks with no activity.