Problem/Motivation
FILE: /maxlength/tests/src/FunctionalJavascript/MaxLengthJavascriptTest.php
---------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------
80 | WARNING | Line exceeds 80 characters; contains 88 characters
---------------------------------------------------------------------------------------------------------------
FILE: /maxlength/tests/src/FunctionalJavascript/MaxLengthCkeditorTest.php
---------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AND 2 WARNINGS AFFECTING 4 LINES
---------------------------------------------------------------------------------------------------------------
6 | ERROR | [x] Non-namespaced classes/interfaces/traits should not be referenced with use statements
138 | WARNING | [ ] Line exceeds 80 characters; contains 88 characters
242 | WARNING | [ ] Line exceeds 80 characters; contains 88 characters
396 | ERROR | [ ] Protected method name "MaxLengthCkeditorTest::getCKEditor4" is not in lowerCamel format
---------------------------------------------------------------------------------------------------------------Steps to reproduce
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml maxlength
Proposed resolution
Fix the errors and warnings.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | after-patch.png | 784.17 KB | sourabhjain |
| #5 | before-patch.png | 206.19 KB | sourabhjain |
Issue fork maxlength-3355530
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 #3
binoli lalani commentedHello,
I have fixed PHPCS errors and warnings. Please review MR.
Thank you!
Comment #4
sourabhjainLet me review it.
Comment #5
sourabhjainI have reviewed the changes and its looks fine to me. Attaching Screenshots for reference.
Moving to RTBC.
Comment #6
avpadernoComment #7
hipp2bsquare commentedI've confirmed the patch resolves the coding standards issues reported in phpcs, and visually reviewed the changes as well. This seems good to me, but cedewey and I would like for joevagyok to give it a final review prior to merging as the testing expert among the maintainers.
Comment #10
joevagyok commentedComment #11
joevagyok commentedThank you for the work on this!
Comment #12
joevagyok commented