You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to PHP Framework Interoperability Group
Arrow functions are going to be part of PHP 7.4, and I think it's a good idea to add some guidance now.
Is it too late since PSR-12 is in review?
How can I help?
Alexander Makarov
unread,
May 9, 2019, 4:00:35 PM5/9/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to PHP Framework Interoperability Group
What rules would you like to propose for arrow functions?
Alessandro Lai
unread,
May 10, 2019, 5:37:36 AM5/10/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to PHP Framework Interoperability Group
We came up with a possible "soft" solution for this issue: we could add to the meta doc that short functions should follow operator + closure syntax requirements. Do you think this is feasible and without edge cases?
Joseph Levine
unread,
May 10, 2019, 10:49:51 AM5/10/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to PHP Framework Interoperability Group
I like this solution. I had imagined needing to say more, but that seems to provide enough guidance.