Closed (fixed)
Project:
Sector Social Follow
Version:
1.0.x-dev
Component:
Code
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Sep 2024 at 07:27 UTC
Updated:
2 Oct 2025 at 22:14 UTC
Jump to comment: Most recent
GitLab CI reports PHP_CodeSniffer errors/warnings which should be fixed.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
avpadernoComment #5
avpadernoComment #6
avpadernoComment #7
avpadernoComment #8
cleavinjosh commentedHi @avpaderno,
I applied MR!2, it was applied smoothly and fixed most of the phpcs issues.
These are the remaining issues after I ran
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml:Additionally, GitLab CI also found some errors.
Please check and advise.
Thank you.
Comment #9
avpadernoThe only error reported by GitLab CI is the following one.
FILE: ...b/modules/custom/sector_social_follow-3472719/sector_social_follow.install ------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------- 13 | ERROR | [x] You must use "/**" style comments for a function comment | | (Drupal.Commenting.FunctionComment.WrongStyle) ------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------- Time: 100ms; Memory: 6MBI deleted that documentation comment and rewrote it.
Comment #10
avpadernoGiLab CI no longer reports PHP_CodeSniffer errors/warnings.
Comment #14
stewestLooking good. Thank you!
Comment #15
stewestReleasing a new version