Closed (fixed)
Project:
ONLYOFFICE
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
21 Jun 2022 at 13:30 UTC
Updated:
1 Mar 2023 at 12:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
ashutosh ahirwal commentedI have updated issue.
need some manual changes by maintainer in CHANGELOG.md file and readme file.
issue in CHANGELOG.md file and readme file is
phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml web/modules/contrib/onlyoffice/
FILE: C:\xampp\htdocs\contribute\web\modules\contrib\onlyoffice\CHANGELOG.md
----------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------
7 | WARNING | Line exceeds 80 characters; contains 242 characters
----------------------------------------------------------------------------
FILE: C:\xampp\htdocs\contribute\web\modules\contrib\onlyoffice\README.md
-----------------------------------------------------------------------------------------
FOUND 1 ERROR AND 20 WARNINGS AFFECTING 21 LINES
-----------------------------------------------------------------------------------------
1 | ERROR | File contains UTF-8 byte order mark, which may corrupt your application
21 | WARNING | Line exceeds 80 characters; contains 88 characters
26 | WARNING | Line exceeds 80 characters; contains 232 characters
45 | WARNING | Line exceeds 80 characters; contains 143 characters
46 | WARNING | Line exceeds 80 characters; contains 146 characters
47 | WARNING | Line exceeds 80 characters; contains 98 characters
50 | WARNING | Line exceeds 80 characters; contains 124 characters
63 | WARNING | Line exceeds 80 characters; contains 82 characters
77 | WARNING | Line exceeds 80 characters; contains 119 characters
84 | WARNING | Line exceeds 80 characters; contains 97 characters
86 | WARNING | Line exceeds 80 characters; contains 99 characters
88 | WARNING | Line exceeds 80 characters; contains 125 characters
96 | WARNING | Line exceeds 80 characters; contains 84 characters
98 | WARNING | Line exceeds 80 characters; contains 91 characters
105 | WARNING | Line exceeds 80 characters; contains 92 characters
108 | WARNING | Line exceeds 80 characters; contains 225 characters
114 | WARNING | Line exceeds 80 characters; contains 161 characters
116 | WARNING | Line exceeds 80 characters; contains 147 characters
122 | WARNING | Line exceeds 80 characters; contains 112 characters
126 | WARNING | Line exceeds 80 characters; contains 208 characters
128 | WARNING | Line exceeds 80 characters; contains 89 characters
-----------------------------------------------------------------------------------------
Time: 612ms; Memory: 10MB
Providing patch for other issue. Need review.
Comment #3
arunkumarkUnable to apply the patch. Seems all the coding standards are resolved without this patch.
Except there is a Drupal practice on the
/js/onlyoffice-preview.jsComment #4
nitin_lamaComment #5
nitin_lamaTrue !! the #2 patch cannot be applied. All the coding standards are fixed. As per #3 attaching a patch for the mentioned Drupal practice.
Comment #6
nitin_lamaComment #7
damiaosj commentedHello! I'll review!
Comment #9
damiaosj commentedI've made the review and all seems to be fine!
Also I've made a new Merge Request for this issue and added the patch before my push.
Hope to help!
Comment #10
damiaosj commentedComment #12
onlyoffice commentedCorrected
Thanks for your assistance