Fix the errors reported by PHPCS

Created on 9 August 2023, over 1 year ago

Problem/Motivation

/vendor/bin/phpcs --standard="Drupal,DrupalPractice" --extensions="php,module,inc,install,test,profile,theme,md" web/modules/contrib/menu_markup/
FILE: /var/www/html/web/modules/contrib/menu_markup/menu_markup.install
-----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
-----------------------------------------------------------------------
11 | ERROR | [ ] Empty installation hooks are not necessary
12 | ERROR | [x] Expected 1 newline at end of file; 2 found
-----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------
FILE: /var/www/html/web/modules/contrib/menu_markup/README.md
----------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
----------------------------------------------------------------------
61 | WARNING | Line exceeds 80 characters; contains 105 characters
66 | WARNING | Line exceeds 80 characters; contains 85 characters
----------------------------------------------------------------------

Steps to reproduce

execute phpcs on module.
Proposed resolution

fix all warning reported by phpcs
Remaining tasks

resolve, review and merge.

📌 Task
Status

Fixed

Version

1.1

Component

Code

Created by

🇮🇳India kpoornima

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

Comments & Activities

Production build 0.71.5 2024