Fix code pattern in src/Plugin/Block/WeMegaMenuBlock.php

Created on 5 November 2021, about 3 years ago
Updated 21 March 2023, almost 2 years 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/Plugin/Block/WeMegaMenuBlock.php:

phpcs --standard=Drupal,DrupalPractice --extensions=php

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.71.5 2024