Making the code inline with Drupal coding standards.

Comments

dishabhadra created an issue. See original summary.

dishabhadra’s picture

Status: Active » Needs review
StatusFileSize
new4.78 KB

Review my patch.

dishabhadra’s picture

StatusFileSize
new1.38 KB

Please ignore above one.

Added the new patch.

neerajsingh’s picture

Title: Error in composer.json » Drupal Coding standards fixes
Issue summary: View changes
Status: Needs review » Needs work

@dishabhadra, not only the composer.json file; but other files also requires few coding standard fixes. Lets fix them here..

Reference from pareview : https://pareview.sh/node/1425

prajaankit’s picture

Assigned: dishabhadra » prajaankit
prajaankit’s picture

StatusFileSize
new7.8 KB

Hi,

Fixed all the drupalcs errors, only two warnings are left please have look into that

[vagrant@localhost html]$ drupalcs first_time_login/

FILE: /var/www/html/first_time_login/first_time_login.module
----------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
----------------------------------------------------------------------
107 | WARNING | Only string literals should be passed to t() where
| | possible
116 | WARNING | Only string literals should be passed to t() where
| | possible
----------------------------------------------------------------------

All other fixes is done, please review it.

prajaankit’s picture

Assigned: prajaankit » Unassigned
Status: Needs work » Needs review

neerajsingh’s picture

Status: Needs review » Fixed

Thanks dishabhadra and prajaankit..!!
Committed the patch to 8.x-1.x branch.

Status: Fixed » Closed (fixed)

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