Re: com web/master: Refactor long array() syntax to short []: entry/event.php entry/subscribe.php entry/svn-account.php entry/user-note.php
entry/user-notes-vote.php fetch/allusers.php fetch/cvsauth.php fetch/events.php fetch/user-notes-rss.php fetch/user-notes.php fetch/user-profile.php
fetch/user.php forgot.php github-webhook.php include/functions.inc include/languages.inc include/login.inc include/note-reasons.inc
include/spam-lib.inc manage/chall
| From: | Peter Cowburn | Date: | Mon, 10 Dec 2018 07:58:45 +0000 |
| Subject: | Re: com web/master: Refactor long array() syntax to short []: entry/event.php entry/subscribe.php entry/svn-account.php entry/user-note.php entry/user-notes-vote.php fetch/allusers.php fetch/cvsauth.php fetch/events.php fetch/user-notes-rss.php fetch/user-notes.php fetch/user-profile.php fetch/user.php forgot.php github-webhook.php include/functions.inc include/languages.inc include/login.inc include/note-reasons.inc include/spam-lib.inc manage/chall |
||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-27524@lists.php.net to get a copy of this message | ||
On Mon, 10 Dec 2018 at 02:27, Peter Kokot <petk@php.net> wrote:
> Commit: 0e511803a5fdc430897d53e76d4eaeea407f1e1e
> Author: Peter Kokot <peterkokot@gmail.com> Mon, 10 Dec 2018
> 03:26:03 +0100
> Parents: bce0f6fa023edad1b61285bea51b554a00ab488b
> Branches: master
>
> Link:
>
> http://git.php.net/?p=web/master.git;a=commitdiff;h=0e511803a5fdc430897d53e76d4eaeea407f1e1e
>
> Log:
> Refactor long array() syntax to short []
>
Why? Please tell me it's not change for change's sake.
>
> Since app is using PHP 5.4+ already, the longer
array() syntax
> can be
> refactored to shorter [].
>
> Changed paths:
> M entry/event.php
> M entry/subscribe.php
> M entry/svn-account.php
> M entry/user-note.php
> M entry/user-notes-vote.php
> M fetch/allusers.php
> M fetch/cvsauth.php
> M fetch/events.php
> M fetch/user-notes-rss.php
> M fetch/user-notes.php
> M fetch/user-profile.php
> M fetch/user.php
> M forgot.php
> M github-webhook.php
> M include/functions.inc
> M include/languages.inc
> M include/login.inc
> M include/note-reasons.inc
> M include/spam-lib.inc
> M manage/challenge-response.php
> M manage/event.php
> M manage/github.php
> M manage/mirrors.php
> M manage/user-notes.php
> M manage/users.php
> M network/status/index.php
> M scripts/conference_teaser
> M scripts/countries.inc
> M scripts/event_listing
> M scripts/ip-to-country
> M scripts/mirror-summary
> M scripts/mirror-test
> M scripts/pregen_flickr
> M scripts/pregen_news
> M scripts/rss_parser
>
>
> --
> PHP Webmaster List Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php