Fix the issues reported by phpcs

Created on 21 April 2023, over 1 year ago
Updated 18 July 2023, over 1 year ago

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.

📌 Task
Status

Fixed

Version

2.1

Component

Code

Created by

🇮🇳India Binoli Lalani Gujarat

Live updates comments and jobs are added and updated live.
  • Coding standards

    It involves compliance with, or the content of coding standards. Requires broad community agreement.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024