{"action":"created","comment":{"url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/pulls/comments/24911772","id":24911772,"diff_hunk":"@@ -0,0 +1,88 @@\n+<?php\n+\n+/**\n+ * Generic_Sniffs_Formatting_DisallowLongArraySyntaxSniff.\n+ *\n+ * PHP version 5\n+ *\n+ * @category  PHP\n+ * @package   PHP_CodeSniffer\n+ * @author    Xaver Loppenstedt <xaver@loppenstedt.de>\n+ * @copyright 2013-2015 Xaver Loppenstedt","path":"CodeSniffer/Standards/Generic/Sniffs/Formatting/DisallowLongArraySyntaxSniff.php","position":11,"original_position":11,"commit_id":"124ad5d5d26c367e6a9587f685eda2d093afaf66","original_commit_id":"124ad5d5d26c367e6a9587f685eda2d093afaf66","user":{"login":"aik099","id":1277526,"avatar_url":"https://avatars.githubusercontent.com/u/1277526?v=3","gravatar_id":"","url":"https://api.github.com/users/aik099","html_url":"https://github.com/aik099","followers_url":"https://api.github.com/users/aik099/followers","following_url":"https://api.github.com/users/aik099/following{/other_user}","gists_url":"https://api.github.com/users/aik099/gists{/gist_id}","starred_url":"https://api.github.com/users/aik099/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aik099/subscriptions","organizations_url":"https://api.github.com/users/aik099/orgs","repos_url":"https://api.github.com/users/aik099/repos","events_url":"https://api.github.com/users/aik099/events{/privacy}","received_events_url":"https://api.github.com/users/aik099/received_events","type":"User","site_admin":false},"body":"I think copyright note should be one, that is used in existing sniffs.","created_at":"2015-02-18T15:56:08Z","updated_at":"2015-02-18T15:56:08Z","html_url":"https://github.com/squizlabs/PHP_CodeSniffer/pull/495#discussion_r24911772","pull_request_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/pulls/495","_links":{"self":{"href":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/pulls/comments/24911772"},"html":{"href":"https://github.com/squizlabs/PHP_CodeSniffer/pull/495#discussion_r24911772"},"pull_request":{"href":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/pulls/495"}}},"pull_request":{"url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/pulls/495","id":29533770,"html_url":"https://github.com/squizlabs/PHP_CodeSniffer/pull/495","diff_url":"https://github.com/squizlabs/PHP_CodeSniffer/pull/495.diff","patch_url":"https://github.com/squizlabs/PHP_CodeSniffer/pull/495.patch","issue_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/495","number":495,"state":"open","locked":false,"title":"Disallow Long Array Syntax Sniff & Disallow Short Array Syntax Sniff ","user":{"login":"xalopp","id":1674529,"avatar_url":"https://avatars.githubusercontent.com/u/1674529?v=3","gravatar_id":"","url":"https://api.github.com/users/xalopp","html_url":"https://github.com/xalopp","followers_url":"https://api.github.com/users/xalopp/followers","following_url":"https://api.github.com/users/xalopp/following{/other_user}","gists_url":"https://api.github.com/users/xalopp/gists{/gist_id}","starred_url":"https://api.github.com/users/xalopp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xalopp/subscriptions","organizations_url":"https://api.github.com/users/xalopp/orgs","repos_url":"https://api.github.com/users/xalopp/repos","events_url":"https://api.github.com/users/xalopp/events{/privacy}","received_events_url":"https://api.github.com/users/xalopp/received_events","type":"User","site_admin":false},"body":"Based on the discussion regarding Short array syntax sniffer #483  this PR adds  \r\n- DisallowLongArraySyntaxSniff\r\n- DisallowShortArraySyntaxSniff\r\n\r\n","created_at":"2015-02-18T15:26:14Z","updated_at":"2015-02-18T15:56:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a4e6248a778094e67a80a71c1bed24447b890713","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/pulls/495/commits","review_comments_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/pulls/495/comments","review_comment_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/pulls/comments/{number}","comments_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/495/comments","statuses_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/statuses/124ad5d5d26c367e6a9587f685eda2d093afaf66","head":{"label":"xalopp:array_notation","ref":"array_notation","sha":"124ad5d5d26c367e6a9587f685eda2d093afaf66","user":{"login":"xalopp","id":1674529,"avatar_url":"https://avatars.githubusercontent.com/u/1674529?v=3","gravatar_id":"","url":"https://api.github.com/users/xalopp","html_url":"https://github.com/xalopp","followers_url":"https://api.github.com/users/xalopp/followers","following_url":"https://api.github.com/users/xalopp/following{/other_user}","gists_url":"https://api.github.com/users/xalopp/gists{/gist_id}","starred_url":"https://api.github.com/users/xalopp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xalopp/subscriptions","organizations_url":"https://api.github.com/users/xalopp/orgs","repos_url":"https://api.github.com/users/xalopp/repos","events_url":"https://api.github.com/users/xalopp/events{/privacy}","received_events_url":"https://api.github.com/users/xalopp/received_events","type":"User","site_admin":false},"repo":{"id":30882301,"name":"PHP_CodeSniffer","full_name":"xalopp/PHP_CodeSniffer","owner":{"login":"xalopp","id":1674529,"avatar_url":"https://avatars.githubusercontent.com/u/1674529?v=3","gravatar_id":"","url":"https://api.github.com/users/xalopp","html_url":"https://github.com/xalopp","followers_url":"https://api.github.com/users/xalopp/followers","following_url":"https://api.github.com/users/xalopp/following{/other_user}","gists_url":"https://api.github.com/users/xalopp/gists{/gist_id}","starred_url":"https://api.github.com/users/xalopp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xalopp/subscriptions","organizations_url":"https://api.github.com/users/xalopp/orgs","repos_url":"https://api.github.com/users/xalopp/repos","events_url":"https://api.github.com/users/xalopp/events{/privacy}","received_events_url":"https://api.github.com/users/xalopp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xalopp/PHP_CodeSniffer","description":"PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.","fork":true,"url":"https://api.github.com/repos/xalopp/PHP_CodeSniffer","forks_url":"https://api.github.com/repos/xalopp/PHP_CodeSniffer/forks","keys_url":"https://api.github.com/repos/xalopp/PHP_CodeSniffer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xalopp/PHP_CodeSniffer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xalopp/PHP_CodeSniffer/teams","hooks_url":"https://api.github.com/repos/xalopp/PHP_CodeSniffer/hooks","issue_events_url":"https://api.github.com/repos/xalopp/PHP_CodeSniffer/issues/events{/number}","events_url":"https://api.github.com/repos/xalopp/PHP_CodeSniffer/events","assignees_url":"https://api.github.com/repos/xalopp/PHP_CodeSniffer/assignees{/user}","branches_url":"https://api.github.com/repos/xalopp/PHP_CodeSniffer/branches{/branch}","tags_url":"https://api.github.com/repos/xalopp/PHP_CodeSniffer/tags","blobs_url":"https://api.github.com/repos/xalopp/PHP_CodeSniffer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xalopp/PHP_CodeSniffer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xalopp/PHP_CodeSniffer/git/refs{/sha}","trees_url":"https://api.github.com/repos/xalopp/PHP_CodeSniffer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xalopp/PHP_CodeSniffer/statuses/{sha}","languages_url":"https://api.github.com/repos/xalopp/PHP_CodeSniffer/languages","stargazers_url":"https://api.github.com/repos/xalopp/PHP_CodeSniffer/stargazers","contributors_url":"https://api.github.com/repos/xalopp/PHP_CodeSniffer/contributors","subscribers_url":"https://api.github.com/repos/xalopp/PHP_CodeSniffer/subscribers","subscription_url":"https://api.github.com/repos/xalopp/PHP_CodeSniffer/subscription","commits_url":"https://api.github.com/repos/xalopp/PHP_CodeSniffer/commits{/sha}","git_commits_url":"https://api.github.com/repos/xalopp/PHP_CodeSniffer/git/commits{/sha}","comments_url":"https://api.github.com/repos/xalopp/PHP_CodeSniffer/comments{/number}","issue_comment_url":"https://api.github.com/repos/xalopp/PHP_CodeSniffer/issues/comments/{number}","contents_url":"https://api.github.com/repos/xalopp/PHP_CodeSniffer/contents/{+path}","compare_url":"https://api.github.com/repos/xalopp/PHP_CodeSniffer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xalopp/PHP_CodeSniffer/merges","archive_url":"https://api.github.com/repos/xalopp/PHP_CodeSniffer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xalopp/PHP_CodeSniffer/downloads","issues_url":"https://api.github.com/repos/xalopp/PHP_CodeSniffer/issues{/number}","pulls_url":"https://api.github.com/repos/xalopp/PHP_CodeSniffer/pulls{/number}","milestones_url":"https://api.github.com/repos/xalopp/PHP_CodeSniffer/milestones{/number}","notifications_url":"https://api.github.com/repos/xalopp/PHP_CodeSniffer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xalopp/PHP_CodeSniffer/labels{/name}","releases_url":"https://api.github.com/repos/xalopp/PHP_CodeSniffer/releases{/id}","created_at":"2015-02-16T18:38:24Z","updated_at":"2015-02-16T18:38:28Z","pushed_at":"2015-02-18T15:15:10Z","git_url":"git://github.com/xalopp/PHP_CodeSniffer.git","ssh_url":"git@github.com:xalopp/PHP_CodeSniffer.git","clone_url":"https://github.com/xalopp/PHP_CodeSniffer.git","svn_url":"https://github.com/xalopp/PHP_CodeSniffer","homepage":"http://pear.php.net/package/PHP_CodeSniffer","size":99664,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"squizlabs:master","ref":"master","sha":"ee286884c203bd618fccc3354aa703352fb0a0fb","user":{"login":"squizlabs","id":997547,"avatar_url":"https://avatars.githubusercontent.com/u/997547?v=3","gravatar_id":"","url":"https://api.github.com/users/squizlabs","html_url":"https://github.com/squizlabs","followers_url":"https://api.github.com/users/squizlabs/followers","following_url":"https://api.github.com/users/squizlabs/following{/other_user}","gists_url":"https://api.github.com/users/squizlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/squizlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/squizlabs/subscriptions","organizations_url":"https://api.github.com/users/squizlabs/orgs","repos_url":"https://api.github.com/users/squizlabs/repos","events_url":"https://api.github.com/users/squizlabs/events{/privacy}","received_events_url":"https://api.github.com/users/squizlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":2699935,"name":"PHP_CodeSniffer","full_name":"squizlabs/PHP_CodeSniffer","owner":{"login":"squizlabs","id":997547,"avatar_url":"https://avatars.githubusercontent.com/u/997547?v=3","gravatar_id":"","url":"https://api.github.com/users/squizlabs","html_url":"https://github.com/squizlabs","followers_url":"https://api.github.com/users/squizlabs/followers","following_url":"https://api.github.com/users/squizlabs/following{/other_user}","gists_url":"https://api.github.com/users/squizlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/squizlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/squizlabs/subscriptions","organizations_url":"https://api.github.com/users/squizlabs/orgs","repos_url":"https://api.github.com/users/squizlabs/repos","events_url":"https://api.github.com/users/squizlabs/events{/privacy}","received_events_url":"https://api.github.com/users/squizlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/squizlabs/PHP_CodeSniffer","description":"PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.","fork":false,"url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer","forks_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/forks","keys_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/teams","hooks_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/hooks","issue_events_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/events{/number}","events_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/events","assignees_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/assignees{/user}","branches_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/branches{/branch}","tags_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/tags","blobs_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/git/refs{/sha}","trees_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/statuses/{sha}","languages_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/languages","stargazers_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/stargazers","contributors_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/contributors","subscribers_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/subscribers","subscription_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/subscription","commits_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/commits{/sha}","git_commits_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/git/commits{/sha}","comments_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/comments{/number}","issue_comment_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/comments/{number}","contents_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/contents/{+path}","compare_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/merges","archive_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/downloads","issues_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues{/number}","pulls_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/pulls{/number}","milestones_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/milestones{/number}","notifications_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/labels{/name}","releases_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/releases{/id}","created_at":"2011-11-03T04:06:24Z","updated_at":"2015-02-18T15:23:46Z","pushed_at":"2015-02-16T23:28:31Z","git_url":"git://github.com/squizlabs/PHP_CodeSniffer.git","ssh_url":"git@github.com:squizlabs/PHP_CodeSniffer.git","clone_url":"https://github.com/squizlabs/PHP_CodeSniffer.git","svn_url":"https://github.com/squizlabs/PHP_CodeSniffer","homepage":"http://pear.php.net/package/PHP_CodeSniffer","size":99664,"stargazers_count":1225,"watchers_count":1225,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":342,"mirror_url":null,"open_issues_count":36,"forks":342,"open_issues":36,"watchers":1225,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/pulls/495"},"html":{"href":"https://github.com/squizlabs/PHP_CodeSniffer/pull/495"},"issue":{"href":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/495"},"comments":{"href":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/495/comments"},"review_comments":{"href":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/pulls/495/comments"},"review_comment":{"href":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/pulls/495/commits"},"statuses":{"href":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/statuses/124ad5d5d26c367e6a9587f685eda2d093afaf66"}}}}