Drupal Coding standard issue

Created on 2 March 2023, over 1 year ago

Problem/Motivation

Resolve following minor Drupal coding standard and Practice issues.

FILE: /var/www/html/web/modules/custom/password_eye/css/password_eye.css
-------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
-------------------------------------------------------------------------------------
 19 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
 25 | ERROR | [x] Expected 1 newline at end of file; 0 found
-------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------


FILE: /var/www/html/web/modules/custom/password_eye/README.md
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
 3 | WARNING | Line exceeds 80 characters; contains 82 characters
----------------------------------------------------------------------


FILE: /var/www/html/web/modules/custom/password_eye/password_eye.module
-----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
-----------------------------------------------------------------------
 24 | ERROR | [x] Expected 1 blank line after function; 2 found
 44 | ERROR | [x] Expected 1 newline at end of file; 0 found
-----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------

Steps to reproduce

Proposed resolution

Run the phpcs --standard="DrupalPractice,DrupalStandard" password_eye

Remaining tasks

Fix all the valid Drupal coding standard issues.

User interface changes

API changes

Data model changes

📌 Task
Status

RTBC

Version

2.0

Component

Miscellaneous

Created by

🇮🇳India arunkumark Coimbatore

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.69.0 2024