Problem/Motivation
PHPCS reports the following errors that should be fixed:
FILE: /home/aleks/Projects/printemps/docroot/modules/custom/back_to_top/back_to_top.module
------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 3 WARNINGS AFFECTING 4 LINES
------------------------------------------------------------------------------------------
12 | ERROR | Doc comment is empty
75 | WARNING | Line exceeds 80 characters; contains 87 characters
104 | WARNING | Line exceeds 80 characters; contains 94 characters
205 | WARNING | Line exceeds 80 characters; contains 126 characters
------------------------------------------------------------------------------------------
FILE: /home/aleks/Projects/printemps/docroot/modules/custom/back_to_top/src/Form/BackToTopSettingsForm.php
----------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
----------------------------------------------------------------------------------------------------------
16 | ERROR | Public method name "BackToTopSettingsForm::getFormID" is not in lowerCamel format
149 | WARNING | Possible useless method overriding detected
----------------------------------------------------------------------------------------------------------Proposed resolution
Fix codding standarts.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | back_to_top-codingStandardFix-3107868-4-D8.patch | 2.59 KB | yugro |
Comments
Comment #2
yugro commentedComment #3
yugro commentedComment #4
yugro commentedFixed coding standards in the mentioned files and tested
Comment #5
yugro commentedfixed coding standards in the described files and tested them
Comment #6
yugro commentedfixed coding standards in the described files and tested them
Comment #7
yugro commentedfixed and tested coding Standards in listed files
Comment #8
yugro commentedComment #9
id.aleks commentedback_to_top-codingStandardFix-3107868-4-D8.patch lloks good for me.
Comment #10
avpadernoComment #12
acke commentedFixed in the 2.0.0 release. Thanks for help and patch!