- Issue created by @sidharth_soman
- Issue was unassigned.
- ๐ฎ๐นItaly apaderno Brescia, ๐ฎ๐น
The issue summary should always describe what the issue is trying to fix and, in the case, of coding standards issues, show which command has been used, which arguments have been used, and which report that command shown.
- Status changed to Needs review
over 1 year ago 8:52am 4 May 2023 - Open on Drupal.org โCore: 9.5.x + Environment: PHP 7.4 & MySQL 8last update
over 1 year ago Waiting for branch to pass - Status changed to Needs work
over 1 year ago 9:39am 4 May 2023 - ๐ต๐ญPhilippines clarkssquared
Hi Rajan Kumar,
I applied your patch #3 to Label Help module version 2.0.x-dev and confirmed that the PHPCS errors relating to label_help.module were fixed. However, I noticed a warning as I applied your patch, I ran the PHPCS command to the entire label_help module and an error below has been flagged.
FILE: /Users/studenttrainees/Projects/drupalorgissues/docroot/modules/contrib/label_help/config/schema/label_help.schema.yml
----------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------------
7 | ERROR | [x] Expected 1 newline at end of file; 2 found
----------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------------------FILE: /Users/studenttrainees/Projects/drupalorgissues/docroot/modules/contrib/label_help/README.txt
---------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------
62 | ERROR | [x] Expected 1 newline at end of file; 2 found
---------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------Time: 247ms; Memory: 12MB
Please also look at the screenshots attached for your reference.
Thank you
- Status changed to Needs review
over 1 year ago 1:33pm 4 May 2023 - Open on Drupal.org โCore: 9.5.x + Environment: PHP 7.4 & MySQL 8last update
over 1 year ago Waiting for branch to pass - ๐ฎ๐ณIndia Rajan Kumar
Attached another patch for fix above phpcs errors.
- Status changed to RTBC
over 1 year ago 1:58pm 4 May 2023 - ๐ต๐ญPhilippines clarkssquared
Hi @Rajan Kumar,
I applied your patch #6 and confirmed that it applies cleanly and fixed all the PHPCS errors.
Please look at the screenshots attached for your reference
Thank you
- Status changed to Needs work
over 1 year ago 3:46pm 4 May 2023 - ๐ฎ๐นItaly apaderno Brescia, ๐ฎ๐น
The status is also for the issue summary that needs to be updated.
- Open on Drupal.org โCore: 9.5.x + Environment: PHP 7.4 & MySQL 8last update
over 1 year ago Waiting for branch to pass - @rajan-kumar opened merge request.
- Merge request !4Issue #3358092: Fix the issues reported by phpcs โ (Merged) created by Rajan Kumar
- Open on Drupal.org โCore: 9.5.x + Environment: PHP 7.4 & MySQL 8last update
over 1 year ago Waiting for branch to pass - Status changed to Needs review
over 1 year ago 7:49am 5 May 2023 - First commit to issue fork.
- Open on Drupal.org โCore: 9.5.x + Environment: PHP 7.4 & MySQL 8last update
8 months ago Waiting for branch to pass - ๐ฎ๐ณIndia Yashaswi18
Hello, checked out to the branch '2.0.x' and ran the command phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml label_help/. Found no errors or warnings remaining.
- Status changed to Needs work
8 months ago 1:09pm 13 March 2024 - First commit to issue fork.
- Open on Drupal.org โCore: 9.5.x + Environment: PHP 7.4 & MySQL 8last update
8 months ago Waiting for branch to pass - Status changed to Needs review
8 months ago 3:30pm 20 March 2024 - ๐ฎ๐ณIndia Shank115
I ran phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml and found no issues.
- Status changed to Needs work
8 months ago 12:05am 21 March 2024 - First commit to issue fork.
- Merge request !6Issue #3358092: Fix the issues reported by phpcs โ (Closed) created by shivamsen_12579
- Status changed to Needs review
8 months ago 6:27am 21 March 2024 - ๐ฎ๐นItaly apaderno Brescia, ๐ฎ๐น
It should be better to keep using MR!4, instead of creating a new merge request.
- Status changed to Needs work
8 months ago 12:10pm 21 March 2024 - ๐ช๐จEcuador jwilson3
I agree with @apaderno. Once someone opens an MR, work must continue there.
- Open on Drupal.org โCore: 9.5.x + Environment: PHP 7.4 & MySQL 8last update
8 months ago Waiting for branch to pass - Open on Drupal.org โCore: 9.5.x + Environment: PHP 7.4 & MySQL 8last update
8 months ago Waiting for branch to pass - ๐ฎ๐นItaly apaderno Brescia, ๐ฎ๐น
apaderno โ changed the visibility of the branch 3358092-fix-the-issues to hidden.
- Open on Drupal.org โCore: 9.5.x + Environment: PHP 7.4 & MySQL 8last update
8 months ago Waiting for branch to pass - Open on Drupal.org โCore: 9.5.x + Environment: PHP 7.4 & MySQL 8last update
6 months ago Waiting for branch to pass - Open on Drupal.org โCore: 9.5.x + Environment: PHP 7.4 & MySQL 8last update
6 months ago Waiting for branch to pass - Open on Drupal.org โCore: 9.5.x + Environment: PHP 7.4 & MySQL 8last update
6 months ago Waiting for branch to pass - Open on Drupal.org โCore: 9.5.x + Environment: PHP 7.4 & MySQL 8last update
6 months ago Waiting for branch to pass -
jwilson3 โ
committed 952492ef on 2.0.x authored by
Rajan Kumar โ
Issue #3358092: Fix the issues reported by phpcs
-
jwilson3 โ
committed 952492ef on 2.0.x authored by
Rajan Kumar โ
- ๐ช๐จEcuador jwilson3
Thanks to everyone who has contributed, working on fixes and running the tests manually. Also thank you for expanding scope to start using the .gitlab-ci.yaml file. I will be expanding upon that in a follow-up issue to included tests on older versions as well as newer versions of Drupal.
Finally, I've added a .ddev folder to the codebase to make setting up and running analysis tools like phpcs, and phpstan, as well as automated fix tools like phpcbf a no-brainer. See ๐ Add Ddev Drupal Contrib for ease-of-maintenance Fixed for details.
My apologies that I messed up the merge and forgot to get everyone's name into the commit message. I've credited everyone who's participated here via issue credit system.
Onward and upward.
Thanks again!
- Status changed to Fixed
6 months ago 1:59am 26 May 2024 Automatically closed - issue fixed for 2 weeks with no activity.