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.
We should convert the module to short array as per new coding standard
Comment | File | Size | Author |
---|---|---|---|
#3 | registration_validation_array_search_results.png | 51.05 KB | dhruveshdtripathi |
#2 | 2878993-2.patch | 7.25 KB | Pavan B S |
Comments
Comment #2
Pavan B S CreditAttribution: Pavan B S at Valuebound commentedApplying the patch, please review
Comment #3
dhruveshdtripathi CreditAttribution: dhruveshdtripathi at DevsAdda commentedPatch applied cleanly. All the arrays converted to short array syntax. Checked it manually. As you can see in the attached png file, earlier there were 10 array declarations, after applying patch there is 1. That 1 remaining array declaration is in_array.
Good work!
Comment #5
Richard Buchanan CreditAttribution: Richard Buchanan commentedThanks for catching this! Committed to dev and will publish new release soon.