Drupal Coding standard issues.

FILE: ...www/html/Contribution/clean_maintenance/clean_maintenance.module
----------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------
 43 | ERROR | [x] Expected 1 space after "="; 2 found
 48 | ERROR | [x] Short array syntax must be used to define arrays
 52 | ERROR | [x] Expected 1 newline at end of file; 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...w/html/Contribution/clean_maintenance/clean_maintenance.info.yml
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
 4 | ERROR | [x] Expected 1 newline at end of file; 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ...ww/html/Contribution/clean_maintenance/clean_maintenance.install
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
 18 | ERROR | [x] Expected 1 newline at end of file; 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------

Comments

Sivaprasad C created an issue. See original summary.

sivaprasadc’s picture

Assigned: sivaprasadc » Unassigned
Status: Active » Needs review
Issue tags: +Coding standards
StatusFileSize
new1.4 KB

I have created the Patch for the same. PFA.

erik de kamps’s picture

Thank you Sivaprasad for the patch, I've applied and pushed it.

sivaprasadc’s picture

@Erik de Kamps

You are welcome. Thank you. Could you please change the issue status?

erik de kamps’s picture

Status: Needs review » Fixed

Changing to fixed.

Status: Fixed » Closed (fixed)

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