Drupal Coding Standard is not matched

Created on 23 April 2024, 7 months ago
Updated 8 May 2024, 7 months ago

Problem/Motivation

FILE: token_url_query\token_url_query.module
-----------------------------------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 6 LINES
-----------------------------------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line
3 | ERROR | [x] The second line in the file doc comment must be "@file"
20 | ERROR | [x] There must be one blank line after the last USE statement; 2 found;
26 | ERROR | [x] Expected 1 blank line before function; 2 found
52 | ERROR | [x] Expected newline after closing brace
57 | ERROR | [x] Expected newline after closing brace
-----------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY

Steps to reproduce

Run phpcs command to get the drupal coding standard issues

Proposed resolution

Many of them will fix by running phpcbf command and rest we need to manually fix & then commit these changes & push it

๐Ÿ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia aadeshvermaster@gmail.com

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024