CI reposrt the following issues

FILE: ...5575/web/modules/custom/paragraph_control-3485575/paragraph_control.module
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
 1 | ERROR | [x] Missing file doc comment
   |       |     (Drupal.Commenting.FileComment.Missing)
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: ...575/web/modules/custom/paragraph_control-3485575/paragraph_control.install
--------------------------------------------------------------------------------
FOUND 4 ERRORS AND 3 WARNINGS AFFECTING 6 LINES
--------------------------------------------------------------------------------
  1 | ERROR   | [x] Missing file doc comment
    |         |     (Drupal.Commenting.FileComment.Missing)
  4 | ERROR   | [x] Use statements should be sorted alphabetically. The first
    |         |     wrong one is Drupal\field\Entity\FieldConfig.
    |         |     (SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses)
  8 | WARNING | [ ] Format should be "* Implements hook_foo().", "* Implements
    |         |     hook_foo_BAR_ID_bar() for xyz_bar().",, "* Implements
    |         |     hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", "*
    |         |     Implements hook_foo_BAR_ID_bar() for xyz-bar.tpl.php.", or
    |         |     "* Implements hook_foo_BAR_ID_bar() for block templates."
    |         |     (Drupal.Commenting.HookComment.HookCommentFormat)
  9 | WARNING | [ ] Line exceeds 80 characters; contains 86 characters
    |         |     (Drupal.Files.LineLength.TooLong)
  9 | ERROR   | [ ] Doc comment short description must be on a single line,
    |         |     further text should be a separate paragraph
    |         |     (Drupal.Commenting.DocComment.ShortSingleLine)
 47 | WARNING | [ ] Format should be "* Implements hook_foo().", "* Implements
    |         |     hook_foo_BAR_ID_bar() for xyz_bar().",, "* Implements
    |         |     hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", "*
    |         |     Implements hook_foo_BAR_ID_bar() for xyz-bar.tpl.php.", or
    |         |     "* Implements hook_foo_BAR_ID_bar() for block templates."
    |         |     (Drupal.Commenting.HookComment.HookCommentFormat)
 48 | ERROR   | [ ] Doc comment short description must be on a single line,
    |         |     further text should be a separate paragraph
    |         |     (Drupal.Commenting.DocComment.ShortSingleLine)
Command icon Show commands

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

vladimiraus created an issue. See original summary.

arunsahijpal’s picture

Assigned: Unassigned » arunsahijpal

Working on it.

arunsahijpal’s picture

Assigned: arunsahijpal » Unassigned
Status: Active » Needs review

Hi @vladimiraus,
Fixed all the phpcs errors, Kindly check it.

a.aaronjake’s picture

Assigned: Unassigned » a.aaronjake
a.aaronjake’s picture

Assigned: a.aaronjake » Unassigned
Status: Needs review » Reviewed & tested by the community

Hi @arunsahijpal,

I have applied the commits you made on MR!3, it was applied successfully and confirmed no issues are reported anymore. Please see:

paragraph_control git:(1.0.x) curl https://git.drupalcode.org/project/paragraph_control/-/merge_requests/3.diff | patch -p1
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1401    0  1401    0     0   4826      0 --:--:-- --:--:-- --:--:--  5021
patching file paragraph_control.install
patching file paragraph_control.module
➜  paragraph_control git:(1.0.x) ✗ ..
➜  contrib git:(main) ✗ phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig paragraph_control

➜  contrib git:(main) ✗

Will now move this to RTBC

Thanks,
Jake