GitLab CI reports PHP_CodeSniffer warnings/errors which should be fixed.
| Comment | File | Size | Author |
|---|---|---|---|
| #26 | interdiff_21-26.txt | 69.14 KB | nitesh624 |
| #26 | 3043979-26.patch | 107.73 KB | nitesh624 |
| #19 | interdiff_18-19.txt | 64.72 KB | drupal.ninja03 |
| #18 | fix_conding_standard-3043979-18.patch | 1.79 KB | adeelnawaz |
| #15 | 3043979-15.patch | 51.74 KB | bharath-kondeti |
Issue fork react_comments-3043979
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:
- 3043979-gitlab-ci-reports
changes, plain diff MR !2
- 3043979-fix-the-issues
compare
Comments
Comment #2
jyoti.singh commentedPatch for fixing the coding standards issue with code sniffer.
Comment #3
elaman@jyoti.singh
Thank you for providing this patch, however there are still some errors. Attaching the output.
Comment #4
jyoti.singh commented@elaman : Thank you for reviewing the patch.Uploading the new patch. I have ignore README file issues as I think we should not follow 80 characters limit for the readme file.Please let me your feedback on this.
Comment #5
Akanksha92 commented@jyoti.singh the patch applies successfully. Please find the attached screenshot for the same.
Comment #6
jyoti.singh commentedThank you @Akanksha92 for confirmation
Comment #7
Swapnil_Kotwal commented@Jyoti Singh (jyoti.singh)... I found some coding standards in your patch. I have hereby fixed those except those with character limit. Kindly review.
Comment #8
Swapnil_Kotwal commentedComment #9
jyoti.singh commentedCan you please provide an interdiff @Swapnil_Kotwal.That would really help me
Comment #10
Swapnil_Kotwal commented@Jyoti Singh (jyoti.singh). I have attached the txt file
Comment #11
elaman@jyoti.singh, @Swapnil_Kotwal If we exclude README.md file (which I think we shouldn't), there still issues popping up:
Also, before we commit this, I think we need to write some tests.
Comment #12
anisha.challa commentedComment #13
anisha.challa commentedI am getting the below error when I am trying to apply the patch react_comments-coding-standards-3043979-7.patch:
$ git apply react_comments-coding-standards-3043979-7.patch
warning: js/src/build.php has type 100644, expected 100755
error: patch failed: js/src/src/components/Comment.css:1
error: js/src/src/components/Comment.css: patch does not apply
error: patch failed: js/src/src/components/CommentBox.css:1
error: js/src/src/components/CommentBox.css: patch does not apply
react_comments-coding-standards-3043979-7.patch:569: new blank line at EOF.
+
error: patch failed: react_comments.module:18
error: react_comments.module: patch does not apply
error: patch failed: src/Model/Comment.php:59
error: src/Model/Comment.php: patch does not apply
error: patch failed: src/Model/CommentBase.php:4
error: src/Model/CommentBase.php: patch does not apply
error: patch failed: src/Model/User.php:40
error: src/Model/User.php: patch does not apply
error: patch failed: src/Model/UserBase.php:12
error: src/Model/UserBase.php: patch does not apply
error: patch failed: src/Plugin/rest/resource/Comment.php:104
error: src/Plugin/rest/resource/Comment.php: patch does not apply
Comment #14
anisha.challa commentedComment #15
bharath-kondeti commentedHi,
I could not apply the existing patch. I have worked on my own patch. Please review the same.
Comment #16
bharath-kondeti commentedComment #17
bharath-kondeti commentedComment #18
adeelnawaz commentedI have fixed some error waring according to a coding standard.
Comment #19
drupal.ninja03 commentedHi,
Found some more warnings on running code sniffer against the files.
Comment #20
nitesh624Comment #21
nitesh624Last patch #19 didnot apply, needs reroll
Comment #22
nikitagupta commentedmade the changes for coding standards.
Comment #23
nitesh624I will review the last patch
Comment #24
nitesh624Still having warning after applying patch #22
Comment #25
nitesh624Comment #26
nitesh624Comment #27
nitesh624Comment #28
nmatja commentedComment #29
nmatja commentedThe coding standards are looking great. A minor comment is only on the short comments, which should describe what the class should do.
Comment #30
nmatja commentedComment #31
avpadernoComment #32
avpadernoComment #33
minnur commentedLatest release needs more work.
Comment #36
avpadernoComment #37
avpadernoComment #38
avpadernoComment #39
minnur commentedThanks for working on this. I had to refactor and redo phpcs/phpstan warning fixes.