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.
Calendar module needs to be converted to use short array syntax as per new coding standard.
Comment | File | Size | Author |
---|---|---|---|
#3 | calender_array_search_results.png | 112.87 KB | dhruveshdtripathi |
#2 | short_array_syntax-2875548-2.patch | 17.03 KB | Munavijayalakshmi |
Comments
Comment #2
Munavijayalakshmi CreditAttribution: Munavijayalakshmi at Valuebound commentedComment #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 60 array declarations, after applying patch there are 14. Those 14 arrays are is_array and in_array.
Good work!
Comment #4
benelori CreditAttribution: benelori commentedI can confirm that the patch does its job.
I don't know if there is a test bot for this module, so I think it's ok to leave the issue status on RTBC.
Comment #7
geertvd CreditAttribution: geertvd at Geert van Dort commentedHad to do a quick reroll but thanks for the work on this!