Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106685 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 48412 invoked from network); 21 Aug 2019 11:08:19 -0000 Received: from unknown (HELO mail-io1-f54.google.com) (209.85.166.54) by pb1.pair.com with SMTP; 21 Aug 2019 11:08:19 -0000 Received: by mail-io1-f54.google.com with SMTP id s21so3010193ioa.1 for ; Wed, 21 Aug 2019 01:38:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cyd1pvWtRxA8SLlYo2LTgba8rPq5Kz/HGZMtmbZvy7U=; b=uNxAx4SwN9W5cQsz0WcxJyY2b8fxrGxWxYZ3/TZDAVkhQ+hzMut5FOOcRatVjA+uWm y1KdN9eRkXAiWU5zyevpUDwM3pIOea8gKmQlYbYcdCHExPT0YZrvCBEwp8mg4wNH7uPY DbjsageLGlrSAJiyD6mBg6k3vla9bK5KUZCT3DNRCkmribZIeLy8TDtajeapv8XEehyd dUuZX0wXZMohjj6Cyd3hacITMT30rEcgutTroz4b4xRmsd/S9jC6Ivc23QTLbewUK+lu FdNU87xSOCeY8o7wu9945aXbGFubIRWIY+UWSkn5RFo/X5fU0B0Qx64YJHd+HhfYILrt i+0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cyd1pvWtRxA8SLlYo2LTgba8rPq5Kz/HGZMtmbZvy7U=; b=Ut53qGbB5uGoL+7KtdjUq0PSqPmHOfg87+OmJy4Ew9dGGf13p8taG4b+w8yx8osZqg bD1H5tt+lolzWcAS4R7TNbjFsmI+uYUjyAYTFyS8jTKaaNqxxUaJeaSvviqCF+X+ov/E 5wskPv6umEW2UUlUF6X3bK6r6JpZjE1yhndkd91jcpXt1S6ja0E42OkDDj1c849uNMrR vbxe5fge+1KZlbmsPPAVoJbr5YqliHoO3AyWe7u0BPL7kvQiqtppb3DffhVImj0n9dvt at/75lcpey4/Z0e4uSuGS1J/OPzizlXDnoH0K/mU+e0NJACuI7ciwDT3F8avYz2CNU5o 9C/Q== X-Gm-Message-State: APjAAAVsxmRhX0fC8MM7R1iS9VSQ6YYAE9AfgF42JqRDoBV6E0o5AYYc VBThihAtig46GfJK5QpIPg7IAimDjpFlxHOGGKE= X-Google-Smtp-Source: APXvYqyBWcy/jALYG8aKwJ4L+8L6WKpMRNQLcQPQXT7HxQKxBhmdlywHtLgIRlGcieSf3dl6i4a3FWtjL9ues/4v5cM= X-Received: by 2002:a02:bb13:: with SMTP id y19mr6865918jan.86.1566376720684; Wed, 21 Aug 2019 01:38:40 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Wed, 21 Aug 2019 10:38:14 +0200 Message-ID: To: Andreas Hennings Cc: =?UTF-8?B?0JLQu9Cw0LQg0JzQsNC60LjQvQ==?= , Sara Golemon , PHP internals Content-Type: multipart/alternative; boundary="0000000000000559d805909c8057" Subject: Re: [PHP-DEV] RFC: var_export - short syntax for array From: kjarli@gmail.com (Lynn) --0000000000000559d805909c8057 Content-Type: text/plain; charset="UTF-8" On Wed, Aug 21, 2019 at 10:25 AM Andreas Hennings wrote: > Avoiding disruption is indeed a concern. > As an example, Drupal 7 features module uses a custom variation of > var_export() to write configuration to code, which is then typically > tracked in git. > Hi Andreas, If the output is being tracked in git, it could follow the same rules as all other code by using a code formatting fixer such as phpcbf. I don't think the responsibility here is the output format of var_export, as it's the developer having control over what's being committed to git. I don't see this as an issue that PHP should solve. Regards, Lynn van der Berg --0000000000000559d805909c8057--