Fix coding pattern in src/Controller/WeMegaMenuAdminController.php

Created on 5 November 2021, over 2 years ago
Updated 6 June 2023, about 1 year ago

Problem/Motivation

Running PHPCS in the module I figured out that there are several sniff violations that needs to be fixed in order to achieve Drupal's best practices in code standards.

Steps to reproduce

1. Run phpcs in the file src/Controller/WeMegaMenuAdminController.php:

phpcs --standard=Drupal,DrupalPractice --extensions=php [name of the file]

Proposed resolution

Fix the indicated errors in the command output.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇧🇷Brazil gabrielda

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024