Problem/Motivation

The module have some arrays definitions that need to be updated.

Proposed resolution

Use short array syntax as per new coding standard. Read more at PHP 5.4 short array syntax coding standards for Drupal 8.

See this tool: https://github.com/adrian-cid/php-short-array-syntax-converter

Remaining tasks

None.

User interface changes

None.

API changes

None.

Data model changes

None.

Comments

Munavijayalakshmi created an issue. See original summary.

Munavijayalakshmi’s picture

Assigned: Munavijayalakshmi » Unassigned
Status: Active » Needs review
StatusFileSize
new3.82 KB
dhruveshdtripathi’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new9.29 KB

Patch applied cleanly. All the arrays are converted to short array syntax.

Good work!

adriancid’s picture

Title: Convert module to use short array syntax (new coding standard). » Update the arrays definitions to the short syntax
Issue summary: View changes

Adding the Issue Template

  • adriancid committed 3039408 on 8.x-1.x
    Issue #2868922 by Munavijayalakshmi, dhruveshdtripathi, adriancid:...
adriancid’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for the patch and the review, please consider for the next time the use of the Issue Summary Template.

Status: Fixed » Closed (fixed)

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