- Issue created by @samit.310@gmail.com
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 9:47am 19 June 2023 - š®š³India Ashutosh Ahirwal India
Hi I have test your patch it get apply cleanly but having some other issue too.
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,info,txt,md,yml web/modules/custom/textarea_limit
FILE: /Users/ashutoshahirwal/Sites/lando/contribution/web/modules/custom/textarea_limit/textarea_limit.module
------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------
10 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Form\FormStateInterface.
------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------Time: 122ms; Memory: 10MB
Providing patch with remaining issue fixes with #2.
- last update
over 1 year ago Patch Failed to Apply - š®š³India Anjali Mehta
Hello @Ashutosh Ahirwal
Tested #3355065-3.patch on Drupal 9.5 and php version 8.1. Patch applied cleanly. But getting a warning and error on running the phpcs. Adding screenshot for Your references. Please have a look.
Thank You for your support. - last update
over 1 year ago Patch Failed to Apply - šµšPhilippines clarkssquared
Hi
I applied patch #3 into the module and I noticed it fixes all the PHPCS issues.
ā textarea_limit git:(3.x) curl https://www.drupal.org/files/issues/2023-06-19/3355065-3_0.patch | patch -p1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 3662 100 3662 0 0 7981 0 --:--:-- --:--:-- --:--:-- 8083 patching file README.md patching file 'css/textarea_limit.css' patching file 'src/Form/LimitTextSettingsForm.php' patching file 'src/TextareaLimitCallbacks.php' patching file 'src/TextareaLimitConstants.php' patching file textarea_limit.module ā textarea_limit git:(3.x) ā .. ā contrib git:(main) ā phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml textarea_limit ā contrib git:(main) ā
RTBC +1 from me