Fix Drupal Coding Standards on the new version

Created on 22 March 2017, almost 8 years ago
Updated 16 January 2023, almost 2 years ago

Problem/Motivation

We need to fix the Drupal Coding Standards on this items:

FILE: empty_front_page/empty_front_page.install
-----------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 2 LINES
-----------------------------------------------------------------------------
 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line
 1 | ERROR | [x] Missing file doc comment
 5 | ERROR | [x] Expected 1 blank line before function; 0 found
-----------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------


FILE: empty_front_page/src/Controller/EmptyFrontPageController.php
----------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------
 9 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
----------------------------------------------------------------------------------------------------------------

Time: 71ms; Memory: 8MB

Steps to reproduce

Proposed resolution

Apply that following the Drupal Coding Standards and Drupal Best Practice items

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇳India Pavan B S

Live updates comments and jobs are added and updated live.
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.

  • Status changed to Needs review almost 2 years ago
  • Status changed to Fixed almost 2 years ago
  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024