Fix the issues reported by phpcs

Created on 10 August 2023, over 1 year ago

Problem/Motivation

After execution of PHPCS getting below warnings
./vendor/bin/phpcs --standard="Drupal,DrupalPractice" --extensions="php,module,inc,install,test,profile,theme" web/modules/contrib/user_logout_confirm

FILE: /var/www/html/my-drupal10-site/web/modules/contrib/user_logout_confirm/README.md
--------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------
 30 | ERROR | [x] Expected 1 newline at end of file; 2 found
--------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------

Time: 100ms; Memory: 10MB

Steps to reproduce

execute phpcs

Proposed resolution

resolve the issue by phpcbs and if required manually.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇳India Rajan Kumar

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

Comments & Activities

Production build 0.71.5 2024