Fix the issues reported by phpcs

Created on 26 February 2024, 9 months ago
Updated 28 February 2024, 9 months ago

Problem/Motivation

There is a files need to fixed with coding standards.
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,info,txt,md,yml,twig modules/contrib/created_date_views_filters/

Result : -
FILE: /home/prem/Documents/drupal11/modules/custom/created_date_views_filters/created_date_views_filters.info.yml
-----------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------
7 | WARNING | [ ] All dependencies must be prefixed with the project name, for example "drupal:"
7 | ERROR | [x] Expected 1 newline at end of file; 0 found
-----------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------

Time: 68ms; Memory: 10MB

Steps to reproduce

Run PHPCS on acreated_date_views_filters module.

Proposed resolution

Fixed the coding standards.

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇳India prem suthar Ahemdabad- Gujrat , Jodhpur - Rajsthan

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