Fix the issues reported by Gitlab

Created on 18 April 2023, over 1 year ago
Updated 14 September 2023, over 1 year ago

Problem/Motivation

FILE: ...odules/contrib/telephone_formatter/tests/src/Functional/FieldFormatterTest.php
------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------
43 | ERROR | The array declaration extends to column 93 (the limit is 80). The
| | array content should be split up over multiple lines
------------------------------------------------------------------------------------

FILE: ...ontribution/drupal10/web/modules/contrib/telephone_formatter/src/Formatter.php
------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
------------------------------------------------------------------------------------
12 | WARNING | The class short comment should describe what the class does and not
| | simply repeat the class name
------------------------------------------------------------------------------------

Time: 591ms; Memory: 10MB

Steps to reproduce

Execute the command: phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,js,info,txt,md,yml,twig telephone_formatter/

Proposed resolution

Fix the issues for Drupal and DrupalPractice standards

Remaining tasks

Patch Review

📌 Task
Status

Needs review

Version

1.0

Component

Code

Created by

🇮🇳India urvashi_vora Madhya Pradesh, India

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