$ phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml guidelines/
FILE: C:\Users\SI-001\Downloads\guidelines\src\Controller\GuidelineJsonController.php
-------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
-------------------------------------------------------------------------------------
22 | ERROR | [ ] Parameter tags must be grouped together in a doc comment
36 | ERROR | [x] list(...) is forbidden, use [...] instead.
-------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------
FILE: C:\Users\SI-001\Downloads\guidelines\src\Plugin\Field\FieldWidget\GuidelineFieldTargetWidget.php
------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------
113 | ERROR | [x] list(...) is forbidden, use [...] instead.
------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------
Time: 650ms; Memory: 10MB
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | coding-standard-fixes-3296028-7.patch | 3.75 KB | kunal_sahu |
| #2 | drupal-coding-standard-issue-3296028-2.patch | 1.71 KB | rakhi soni |
Issue fork guidelines-3296028
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
Comment #2
rakhi soni commentedKindly review patch,,
Comment #4
kunal_sahu commentedHey @rakhi-soni , i reviewed your patch. I found some error which i am listing it below. I will also work to fix the issue.
Comment #5
kunal_sahu commentedI am working on fixing those errors. I will upload a patch shortly.
Comment #6
attiks commentedI just merged a lot to the 1.0.x branch, some CS issues are resoved as parts of another issue
Comment #7
kunal_sahu commentedHey @ Rakhi Soni ,
I have solved the issues of coding standards but i still face some dependency injection issues for which i believe you have generated another issue.
Please review. Thanks,
Comment #9
kunal_sahu commentedComment #11
attiks commentedThanks