hi @Marcus_Johansson
when I run the command
phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml
for you module
I have the following errors
FILE: /var/www/html/web/modules/contrib/did/src/Did.php
-----------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AND 1 WARNING AFFECTING 4 LINES
-----------------------------------------------------------------------------------------------------------------------------
5 | WARNING | [x] Unused use statement
7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Config\ConfigFactory.
36 | ERROR | [ ] Parameter $fileSystem is not described in comment
59 | ERROR | [x] Expected "int" but found "integer" for parameter type
-----------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/web/modules/contrib/did/modules/ai_interpolator_did/src/Plugin/AiInterpolatorFieldRules/AudioToDidAvatar.php
--------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------------------------------------------------------
184 | ERROR | [x] Space found before square bracket; expected "$form[" but found "$form ["
293 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
--------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------------
I have created a patch for the above error.
Hope you value my time and efforts.
Thank You !!