Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:89086 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61966 invoked from network); 5 Nov 2015 19:29:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Nov 2015 19:29:38 -0000 Authentication-Results: pb1.pair.com smtp.mail=marcio.web2@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=marcio.web2@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.170 as permitted sender) X-PHP-List-Original-Sender: marcio.web2@gmail.com X-Host-Fingerprint: 209.85.160.170 mail-yk0-f170.google.com Received: from [209.85.160.170] ([209.85.160.170:34576] helo=mail-yk0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B6/65-24765-E1EAB365 for ; Thu, 05 Nov 2015 14:29:34 -0500 Received: by ykdr3 with SMTP id r3so149510296ykd.1 for ; Thu, 05 Nov 2015 11:29:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=2uTi6e4td4l4ijwrxTrSxvOd3LNAQ5in7PTugpMkWYY=; b=A+NAPQZDppkoyKyPXZ45/uqHGwXWzPRPs/suBERimOiMiKx+XPDh+10cfCMpeyAxx0 IX7lxJLryQO+ANzpt8jSkY/hb4y7lny/OkbTmPbdtuS9YmJtx9gnKJ6Sk5lV5RCcdrl9 bQa9dAVAgZ/GhBydfHob8WztK76djuGfzQtIV76Yd/3O/OIaFBF0MGKZUVdmsgIj6aus rRdKYJP3KtuK1HXDnFjfd+A/hX0E9GXgqSaNRva3uTtqW2lZmbIMJArtteJE+mj/x9lT hROLERf/KUGiusO8Ykv6x4ZhOHw6QZ+G9CRbVYG0QOn8cDNKQxA1nbL/SrWQcdfakJmz m5TQ== X-Received: by 10.129.145.83 with SMTP id i80mr7623748ywg.77.1446751769290; Thu, 05 Nov 2015 11:29:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.13.222.7 with HTTP; Thu, 5 Nov 2015 11:29:09 -0800 (PST) In-Reply-To: References: Date: Thu, 5 Nov 2015 16:29:09 -0300 Message-ID: To: Sammy Kaye Powers Cc: PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC][DISCUSSION] Trailing commas in all list syntax From: marcio.web2@gmail.com (Marcio Almada) Hi, 2015-11-03 16:22 GMT-03:00 Sammy Kaye Powers : > Hey internals! > > The RFC to allow trailing commas to function calls & declarations has been > withdrawn in favor of the a RFC that broadens the scope to all list syntax. > > https://wiki.php.net/rfc/list-syntax-trailing-commas > > The RFC to allow trailing commas for all lists is now open for discussion. > :) > > Thanks, > Sammy Kaye Powers > sammyk.me I'm on the +1 side. This brings a little improvement for anyone managing pull requests on a daily basis. And we'll end the trailing commas debate forever. Anyone that feels the necessity for cleaner diffs will be able to pick where to use trailing commas consistently, and the ones who don't care won't be hurt, as it's opt in. PS: I've been asked about trailing commas on `use Foo\{ A, B, C, };` many times, thanks for adding this bit too. Marcio.