Closed (fixed)
Project:
Add To Calendar Button (AddEvent.com)
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
13 Apr 2017 at 07:03 UTC
Updated:
22 May 2017 at 15:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
Pavan B S commentedApplying the patch, please review.
Comment #3
dhruveshdtripathi commentedPatch applied cleanly. All the arrays converted to short array syntax. Checked it manually. Results attached.
Good work!
Comment #4
gg24 commentedPatch failed on 8.x-1.x-dev branch. Hence re-rolling patch.
Comment #6
gg24 commentedComment #8
yanniboi commentedI think this change should be reverted.
Short array syntax is a new standard for Drupal 8 modules only! It was introduced in PHP 5.4, so any Drupal site running on PHP 5.2.5+ which is supported by Drupal 7 will not be able to use this module.
- #2135291: [Policy, no patch] PHP 5.4 short array syntax coding standards for Drupal 8
Do you agree? I can provide a patch to achieve this...
Comment #9
gg24 commented@yannibol FYI this patch is against 8.x version only. So, don't worry :).
Marking this issue as fixed, feel free to re-open if issue still persists.
Thanks and Regards
Comment #10
gg24 commentedComment #11
yanniboi commentedAh, sorry, that's the wrong issue then.
I will start a related issue to fix this in the Drupal 7 branch.
#2876640: Remove short array syntax in Drupal 7