Advanced help module needs to be converted to use short array syntax as per new coding standard.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Munavijayalakshmi created an issue. See original summary.

Munavijayalakshmi’s picture

Assigned: Munavijayalakshmi » Unassigned
Status: Active » Needs review
FileSize
1.07 KB
gnuget’s picture

Status: Needs review » Needs work

Thanks for your patch!

But accord with this command you are still are missing few arrays:

grep -rn "array("  .   | wc -l
      17

In your patch you only replace 2 arrays and are 17.

This might help:

https://github.com/Lendude/php-short-array-syntax-converter

Thanks!

amit.drupal’s picture

amit.drupal’s picture

Status: Needs work » Needs review
dhruveshdtripathi’s picture

Status: Needs review » Reviewed & tested by the community
FileSize
8.41 KB

Patch applied cleanly. Only one array( left that is from html file. Good work.

  • gnuget committed ed80f44 on 8.x-1.x authored by amit.drupal
    Issue #2864651 by amit.drupal, Munavijayalakshmi, dhruveshdtripathi:...
gnuget’s picture

Status: Reviewed & tested by the community » Fixed

Thanks!

Status: Fixed » Closed (fixed)

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