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.
RoleAssign module needs to be converted to use short array syntax as per new coding standard.
Comment | File | Size | Author |
---|---|---|---|
#6 | roleassign-short_array_syntax-2882158-5-D8.patch | 10.55 KB | salvis |
| |||
#3 | short_array_syntax-2882158-3.png | 92.74 KB | amit.drupal |
#2 | short_array_syntax-2882158-2.patch | 10.46 KB | Munavijayalakshmi |
Comments
Comment #2
Munavijayalakshmi CreditAttribution: Munavijayalakshmi at Valuebound commentedComment #3
amit.drupal CreditAttribution: amit.drupal as a volunteer and at gai Technologies Pvt Ltd for gai Technologies Pvt Ltd commentedPatch applied cleanly. All the arrays converted to short array syntax. Checked it manually.
earlier there were 25 array declarations, after applying patch there are 4. Those 4 arrays are is_array and in_array.
Thanks for the patch, it is working fine. Moving to RTBC
Comment #4
amit.drupal CreditAttribution: amit.drupal as a volunteer and at gai Technologies Pvt Ltd for gai Technologies Pvt Ltd commentedComment #5
salvisThank you for your patch, Munavijayalakshmi, and thank you for reviewing amit.drupal!
After applying some other patches, this patch needs to be re-rolled.
Comment #6
salvisComment #8
salvis