Problem/Motivation

There are some Few Drupal coding standard errors which needs to to be fixed.

Steps to reproduce

Run phpcs --standard=Drupal ./ from the CLI


 21 | ERROR   | [x] Spaces must be used to indent lines; tabs are not allowed
 21 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 3
 22 | ERROR   | [x] Case breaking statement indented incorrectly; expected 5
   |         |     spaces, found 6
 28 | ERROR   | [x] There must be no blank lines after the function comment
 31 | ERROR   | [x] Spaces must be used to indent lines; tabs are not allowed
 31 | ERROR   | [x] Line indented incorrectly; expected 2 spaces, found 1

 
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

ishfaqafridi85 created an issue. See original summary.

ishfaqafridi85’s picture

Status: Active » Needs review
StatusFileSize
new24.04 KB

Here's the patch.

riazsaid15 made their first commit to this issue’s fork.

sajideen’s picture

Status: Needs review » Fixed

Patch merge thanks for your help.

ishfaqafridi85’s picture

Issue summary: View changes
ishfaqafridi85’s picture

Issue summary: View changes

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.