{"action":"created","issue":{"url":"https://api.github.com/repos/textmate/html.tmbundle/issues/35","labels_url":"https://api.github.com/repos/textmate/html.tmbundle/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/textmate/html.tmbundle/issues/35/comments","events_url":"https://api.github.com/repos/textmate/html.tmbundle/issues/35/events","html_url":"https://github.com/textmate/html.tmbundle/pull/35","id":41166263,"number":35,"title":"Folding support for PHP 5.4 short array syntax","user":{"login":"ebynum","id":33896,"avatar_url":"https://avatars.githubusercontent.com/u/33896?v=3","gravatar_id":"","url":"https://api.github.com/users/ebynum","html_url":"https://github.com/ebynum","followers_url":"https://api.github.com/users/ebynum/followers","following_url":"https://api.github.com/users/ebynum/following{/other_user}","gists_url":"https://api.github.com/users/ebynum/gists{/gist_id}","starred_url":"https://api.github.com/users/ebynum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebynum/subscriptions","organizations_url":"https://api.github.com/users/ebynum/orgs","repos_url":"https://api.github.com/users/ebynum/repos","events_url":"https://api.github.com/users/ebynum/events{/privacy}","received_events_url":"https://api.github.com/users/ebynum/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-08-26T12:25:53Z","updated_at":"2015-05-13T02:02:07Z","closed_at":"2015-05-09T05:41:58Z","pull_request":{"url":"https://api.github.com/repos/textmate/html.tmbundle/pulls/35","html_url":"https://github.com/textmate/html.tmbundle/pull/35","diff_url":"https://github.com/textmate/html.tmbundle/pull/35.diff","patch_url":"https://github.com/textmate/html.tmbundle/pull/35.patch"},"body":"See http://php.net/manual/en/migration54.new-features.php for information.\r\n\r\n- Identical syntax to existing folding for **array( ... )[,;]**"},"comment":{"url":"https://api.github.com/repos/textmate/html.tmbundle/issues/comments/101482106","html_url":"https://github.com/textmate/html.tmbundle/pull/35#issuecomment-101482106","issue_url":"https://api.github.com/repos/textmate/html.tmbundle/issues/35","id":101482106,"user":{"login":"ebynum","id":33896,"avatar_url":"https://avatars.githubusercontent.com/u/33896?v=3","gravatar_id":"","url":"https://api.github.com/users/ebynum","html_url":"https://github.com/ebynum","followers_url":"https://api.github.com/users/ebynum/followers","following_url":"https://api.github.com/users/ebynum/following{/other_user}","gists_url":"https://api.github.com/users/ebynum/gists{/gist_id}","starred_url":"https://api.github.com/users/ebynum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebynum/subscriptions","organizations_url":"https://api.github.com/users/ebynum/orgs","repos_url":"https://api.github.com/users/ebynum/repos","events_url":"https://api.github.com/users/ebynum/events{/privacy}","received_events_url":"https://api.github.com/users/ebynum/received_events","type":"User","site_admin":false},"created_at":"2015-05-13T02:02:07Z","updated_at":"2015-05-13T02:02:07Z","body":"So I'm just now coming back to this, because this update broke something that had been working for me. And I'm not sure how I didn't include it in my patch. I (personally) would prefer that the [,;] at the end become optional (or just be left off). It's a pretty common use-case for me to have an array as the single argument to a function call. If there is a second argument, it has the trailing comma and becomes foldable, but if there isn't, my function that looks like:\r\n\r\n    call_me([\r\n        'field1' => 'Something awesome',\r\n        'field2' => 'Another awesome thing',\r\n        'field3' => 'More awesomeness',\r\n    ]);\r\n\r\ndoesn't get folded, because neither the parentheses nor the array (in the old or the new syntax) give me a fold.\r\n"}}