{"action":"created","issue":{"url":"https://api.github.com/repos/sublimehq/Packages/issues/97","labels_url":"https://api.github.com/repos/sublimehq/Packages/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/sublimehq/Packages/issues/97/comments","events_url":"https://api.github.com/repos/sublimehq/Packages/issues/97/events","html_url":"https://github.com/sublimehq/Packages/pull/97","id":104435561,"number":97,"title":"Fixes regex parse fail of bracket array syntax.","user":{"login":"MarianoGappa","id":1078546,"avatar_url":"https://avatars.githubusercontent.com/u/1078546?v=3","gravatar_id":"","url":"https://api.github.com/users/MarianoGappa","html_url":"https://github.com/MarianoGappa","followers_url":"https://api.github.com/users/MarianoGappa/followers","following_url":"https://api.github.com/users/MarianoGappa/following{/other_user}","gists_url":"https://api.github.com/users/MarianoGappa/gists{/gist_id}","starred_url":"https://api.github.com/users/MarianoGappa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarianoGappa/subscriptions","organizations_url":"https://api.github.com/users/MarianoGappa/orgs","repos_url":"https://api.github.com/users/MarianoGappa/repos","events_url":"https://api.github.com/users/MarianoGappa/events{/privacy}","received_events_url":"https://api.github.com/users/MarianoGappa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-02T09:18:40Z","updated_at":"2015-12-14T05:34:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sublimehq/Packages/pulls/97","html_url":"https://github.com/sublimehq/Packages/pull/97","diff_url":"https://github.com/sublimehq/Packages/pull/97.diff","patch_url":"https://github.com/sublimehq/Packages/pull/97.patch"},"body":"The language file for PHP doesn't seem to support the \"new\" bracket syntax for arrays introduced on PHP 5.4 (http://php.net/manual/en/migration54.new-features.php).\r\n\r\nFortunately, the colouring still mostly works anyway; except when a function argument is typehinted.\r\n\r\nThis regex change appears to be successful in fixing it on my tests.\r\n\r\n##### Before\r\n![Before](http://i.imgur.com/sDcLkkv.png)\r\n\r\n##### After\r\n![After](http://i.imgur.com/JxmIIm4.png)\r\n\r\nNote that I've tried the changes on the tm version; not the sublime one, but the regexes are the same."},"comment":{"url":"https://api.github.com/repos/sublimehq/Packages/issues/comments/164346606","html_url":"https://github.com/sublimehq/Packages/pull/97#issuecomment-164346606","issue_url":"https://api.github.com/repos/sublimehq/Packages/issues/97","id":164346606,"user":{"login":"james2doyle","id":1425304,"avatar_url":"https://avatars.githubusercontent.com/u/1425304?v=3","gravatar_id":"","url":"https://api.github.com/users/james2doyle","html_url":"https://github.com/james2doyle","followers_url":"https://api.github.com/users/james2doyle/followers","following_url":"https://api.github.com/users/james2doyle/following{/other_user}","gists_url":"https://api.github.com/users/james2doyle/gists{/gist_id}","starred_url":"https://api.github.com/users/james2doyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/james2doyle/subscriptions","organizations_url":"https://api.github.com/users/james2doyle/orgs","repos_url":"https://api.github.com/users/james2doyle/repos","events_url":"https://api.github.com/users/james2doyle/events{/privacy}","received_events_url":"https://api.github.com/users/james2doyle/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T05:34:12Z","updated_at":"2015-12-14T05:34:12Z","body":"+1"}}