Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Advanced help module needs to be converted to use short array syntax as per new coding standard.
Comment | File | Size | Author |
---|---|---|---|
#6 | find_array.png | 8.41 KB | dhruveshdtripathi |
#4 | short_array_syntax-2864651-4.patch | 4.07 KB | amit.drupal |
#4 | find-array.png | 6.64 KB | amit.drupal |
#2 | short_array_syntax-2864651-2.patch | 1.07 KB | Munavijayalakshmi |
Comments
Comment #2
Munavijayalakshmi CreditAttribution: Munavijayalakshmi at Valuebound commentedComment #3
gnugetThanks for your patch!
But accord with this command you are still are missing few arrays:
In your patch you only replace 2 arrays and are 17.
This might help:
https://github.com/Lendude/php-short-array-syntax-converter
Thanks!
Comment #4
amit.drupal CreditAttribution: amit.drupal as a volunteer and at gai Technologies Pvt Ltd for gai Technologies Pvt Ltd commented@gnuget
Thanks For suggestion for use : https://github.com/Lendude/php-short-array-syntax-converter
Comment #5
amit.drupal CreditAttribution: amit.drupal as a volunteer and at gai Technologies Pvt Ltd for gai Technologies Pvt Ltd commentedComment #6
dhruveshdtripathi CreditAttribution: dhruveshdtripathi at DevsAdda for OpenSense Labs commentedPatch applied cleanly. Only one array( left that is from html file. Good work.
Comment #8
gnugetThanks!