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.
Unix Time Conversion module needs to be converted to use short array syntax as per new coding standard.
Comment | File | Size | Author |
---|---|---|---|
#8 | short_array_syntax-2874780-8.patch | 13.75 KB | dhruveshdtripathi |
#4 | short_array_syntax-2874780-4.png | 110.75 KB | amit.drupal |
#3 | short_array_syntax-2874780-3.patch | 12.61 KB | dhruveshdtripathi |
#2 | short_array_syntax-2874780-2.patch | 11.24 KB | Munavijayalakshmi |
Comments
Comment #2
Munavijayalakshmi CreditAttribution: Munavijayalakshmi at Valuebound commentedComment #3
dhruveshdtripathi CreditAttribution: dhruveshdtripathi at DevsAdda commentedFixed whitespace warnings.
Comment #4
amit.drupal CreditAttribution: amit.drupal as a volunteer and at gai Technologies Pvt Ltd for gai Technologies Pvt Ltd commentedThanks @dhruveshdtripathi for patch
Patch applied cleanly. All the arrays converted to short array syntax. Checked it manually.
it is working fine. Moving to RTBC
Comment #5
kunalkursija CreditAttribution: kunalkursija at Axelerant commentedHi @Munavijayalakshmi @dhruveshdtripathi
I have created a new branch called 8.x-2.x, Where few other patches are applied as well and this branch will be used to create a 8.x-2.0 release.
So i tried to apply the patch there, But it failed.
Changing Status to `Needs Work`.
Comment #6
kunalkursija CreditAttribution: kunalkursija at Axelerant commentedJust an update: Both #2 & #3 did not work for me on 8.x-2.x.
Comment #7
dhruveshdtripathi CreditAttribution: dhruveshdtripathi at DevsAdda commentedComment #8
dhruveshdtripathi CreditAttribution: dhruveshdtripathi at DevsAdda commentedHi Kunal
I clone 8.x-2.x branch and created following patch based on that. Please apply the following patch on 8.x-2.x branch. I made following changes:
Comment #10
kunalkursija CreditAttribution: kunalkursija at Axelerant commentedHave committed to 8.x-2.x branch.
Thanks for #8 @dhruveshdtripathi.
Comment #11
kunalkursija CreditAttribution: kunalkursija at Axelerant commentedChanging Status.