{"action":"created","comment":{"url":"https://api.github.com/repos/yiisoft/yii2/pulls/comments/46604653","id":46604653,"diff_hunk":"@@ -526,7 +526,7 @@ protected function initColumns()\n                 $column = $this->createDataColumn($column);\n             } else {\n                 $column = Yii::createObject(array_merge([\n-                    'class' => $this->dataColumnClass ? : DataColumn::className(),\n+                    'class' => $this->dataColumnClass ? : DataColumn::class,","path":"framework/grid/GridView.php","position":23,"original_position":23,"commit_id":"ab861bf0e98e8ee8b863912f08ce0fc4c63d1074","original_commit_id":"ab861bf0e98e8ee8b863912f08ce0fc4c63d1074","user":{"login":"Faryshta","id":2029247,"avatar_url":"https://avatars.githubusercontent.com/u/2029247?v=3","gravatar_id":"","url":"https://api.github.com/users/Faryshta","html_url":"https://github.com/Faryshta","followers_url":"https://api.github.com/users/Faryshta/followers","following_url":"https://api.github.com/users/Faryshta/following{/other_user}","gists_url":"https://api.github.com/users/Faryshta/gists{/gist_id}","starred_url":"https://api.github.com/users/Faryshta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Faryshta/subscriptions","organizations_url":"https://api.github.com/users/Faryshta/orgs","repos_url":"https://api.github.com/users/Faryshta/repos","events_url":"https://api.github.com/users/Faryshta/events{/privacy}","received_events_url":"https://api.github.com/users/Faryshta/received_events","type":"User","site_admin":false},"body":"why not set\r\n\r\n```php\r\npublic $dataColumnClass = DataColumn::class;\r\n```\r\n\r\nand then change this line to \r\n\r\n```php\r\n'class' => $this->dataColumnClass,\r\n```","created_at":"2015-12-03T20:11:37Z","updated_at":"2015-12-03T20:11:37Z","html_url":"https://github.com/yiisoft/yii2/pull/8693#discussion_r46604653","pull_request_url":"https://api.github.com/repos/yiisoft/yii2/pulls/8693","_links":{"self":{"href":"https://api.github.com/repos/yiisoft/yii2/pulls/comments/46604653"},"html":{"href":"https://github.com/yiisoft/yii2/pull/8693#discussion_r46604653"},"pull_request":{"href":"https://api.github.com/repos/yiisoft/yii2/pulls/8693"}}},"pull_request":{"url":"https://api.github.com/repos/yiisoft/yii2/pulls/8693","id":37121395,"html_url":"https://github.com/yiisoft/yii2/pull/8693","diff_url":"https://github.com/yiisoft/yii2/pull/8693.diff","patch_url":"https://github.com/yiisoft/yii2/pull/8693.patch","issue_url":"https://api.github.com/repos/yiisoft/yii2/issues/8693","number":8693,"state":"open","locked":false,"title":"Use PHP 5.5 ::class property to replace Object::className()","user":{"login":"su-xiaolin","id":4076198,"avatar_url":"https://avatars.githubusercontent.com/u/4076198?v=3","gravatar_id":"","url":"https://api.github.com/users/su-xiaolin","html_url":"https://github.com/su-xiaolin","followers_url":"https://api.github.com/users/su-xiaolin/followers","following_url":"https://api.github.com/users/su-xiaolin/following{/other_user}","gists_url":"https://api.github.com/users/su-xiaolin/gists{/gist_id}","starred_url":"https://api.github.com/users/su-xiaolin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/su-xiaolin/subscriptions","organizations_url":"https://api.github.com/users/su-xiaolin/orgs","repos_url":"https://api.github.com/users/su-xiaolin/repos","events_url":"https://api.github.com/users/su-xiaolin/events{/privacy}","received_events_url":"https://api.github.com/users/su-xiaolin/received_events","type":"User","site_admin":false},"body":"rt\r\nhttp://php.net/manual/tr/migration55.new-features.php#migration55.new-features.class-name","created_at":"2015-06-08T04:16:24Z","updated_at":"2015-12-03T20:11:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dd5fd28bb561432fcae7b129d72b16cf66aa60d0","assignee":{"login":"samdark","id":47294,"avatar_url":"https://avatars.githubusercontent.com/u/47294?v=3","gravatar_id":"","url":"https://api.github.com/users/samdark","html_url":"https://github.com/samdark","followers_url":"https://api.github.com/users/samdark/followers","following_url":"https://api.github.com/users/samdark/following{/other_user}","gists_url":"https://api.github.com/users/samdark/gists{/gist_id}","starred_url":"https://api.github.com/users/samdark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samdark/subscriptions","organizations_url":"https://api.github.com/users/samdark/orgs","repos_url":"https://api.github.com/users/samdark/repos","events_url":"https://api.github.com/users/samdark/events{/privacy}","received_events_url":"https://api.github.com/users/samdark/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/yiisoft/yii2/milestones/6","html_url":"https://github.com/yiisoft/yii2/milestones/2.1.x","labels_url":"https://api.github.com/repos/yiisoft/yii2/milestones/6/labels","id":458001,"number":6,"title":"2.1.x","description":"","creator":{"login":"qiangxue","id":993322,"avatar_url":"https://avatars.githubusercontent.com/u/993322?v=3","gravatar_id":"","url":"https://api.github.com/users/qiangxue","html_url":"https://github.com/qiangxue","followers_url":"https://api.github.com/users/qiangxue/followers","following_url":"https://api.github.com/users/qiangxue/following{/other_user}","gists_url":"https://api.github.com/users/qiangxue/gists{/gist_id}","starred_url":"https://api.github.com/users/qiangxue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qiangxue/subscriptions","organizations_url":"https://api.github.com/users/qiangxue/orgs","repos_url":"https://api.github.com/users/qiangxue/repos","events_url":"https://api.github.com/users/qiangxue/events{/privacy}","received_events_url":"https://api.github.com/users/qiangxue/received_events","type":"User","site_admin":false},"open_issues":124,"closed_issues":0,"state":"open","created_at":"2013-10-17T21:06:09Z","updated_at":"2015-11-25T23:04:35Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/yiisoft/yii2/pulls/8693/commits","review_comments_url":"https://api.github.com/repos/yiisoft/yii2/pulls/8693/comments","review_comment_url":"https://api.github.com/repos/yiisoft/yii2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/8693/comments","statuses_url":"https://api.github.com/repos/yiisoft/yii2/statuses/ab861bf0e98e8ee8b863912f08ce0fc4c63d1074","head":{"label":"su-xiaolin:master","ref":"master","sha":"ab861bf0e98e8ee8b863912f08ce0fc4c63d1074","user":{"login":"su-xiaolin","id":4076198,"avatar_url":"https://avatars.githubusercontent.com/u/4076198?v=3","gravatar_id":"","url":"https://api.github.com/users/su-xiaolin","html_url":"https://github.com/su-xiaolin","followers_url":"https://api.github.com/users/su-xiaolin/followers","following_url":"https://api.github.com/users/su-xiaolin/following{/other_user}","gists_url":"https://api.github.com/users/su-xiaolin/gists{/gist_id}","starred_url":"https://api.github.com/users/su-xiaolin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/su-xiaolin/subscriptions","organizations_url":"https://api.github.com/users/su-xiaolin/orgs","repos_url":"https://api.github.com/users/su-xiaolin/repos","events_url":"https://api.github.com/users/su-xiaolin/events{/privacy}","received_events_url":"https://api.github.com/users/su-xiaolin/received_events","type":"User","site_admin":false},"repo":{"id":37042993,"name":"yii2","full_name":"su-xiaolin/yii2","owner":{"login":"su-xiaolin","id":4076198,"avatar_url":"https://avatars.githubusercontent.com/u/4076198?v=3","gravatar_id":"","url":"https://api.github.com/users/su-xiaolin","html_url":"https://github.com/su-xiaolin","followers_url":"https://api.github.com/users/su-xiaolin/followers","following_url":"https://api.github.com/users/su-xiaolin/following{/other_user}","gists_url":"https://api.github.com/users/su-xiaolin/gists{/gist_id}","starred_url":"https://api.github.com/users/su-xiaolin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/su-xiaolin/subscriptions","organizations_url":"https://api.github.com/users/su-xiaolin/orgs","repos_url":"https://api.github.com/users/su-xiaolin/repos","events_url":"https://api.github.com/users/su-xiaolin/events{/privacy}","received_events_url":"https://api.github.com/users/su-xiaolin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/su-xiaolin/yii2","description":"Yii 2 framework main development repo","fork":true,"url":"https://api.github.com/repos/su-xiaolin/yii2","forks_url":"https://api.github.com/repos/su-xiaolin/yii2/forks","keys_url":"https://api.github.com/repos/su-xiaolin/yii2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/su-xiaolin/yii2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/su-xiaolin/yii2/teams","hooks_url":"https://api.github.com/repos/su-xiaolin/yii2/hooks","issue_events_url":"https://api.github.com/repos/su-xiaolin/yii2/issues/events{/number}","events_url":"https://api.github.com/repos/su-xiaolin/yii2/events","assignees_url":"https://api.github.com/repos/su-xiaolin/yii2/assignees{/user}","branches_url":"https://api.github.com/repos/su-xiaolin/yii2/branches{/branch}","tags_url":"https://api.github.com/repos/su-xiaolin/yii2/tags","blobs_url":"https://api.github.com/repos/su-xiaolin/yii2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/su-xiaolin/yii2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/su-xiaolin/yii2/git/refs{/sha}","trees_url":"https://api.github.com/repos/su-xiaolin/yii2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/su-xiaolin/yii2/statuses/{sha}","languages_url":"https://api.github.com/repos/su-xiaolin/yii2/languages","stargazers_url":"https://api.github.com/repos/su-xiaolin/yii2/stargazers","contributors_url":"https://api.github.com/repos/su-xiaolin/yii2/contributors","subscribers_url":"https://api.github.com/repos/su-xiaolin/yii2/subscribers","subscription_url":"https://api.github.com/repos/su-xiaolin/yii2/subscription","commits_url":"https://api.github.com/repos/su-xiaolin/yii2/commits{/sha}","git_commits_url":"https://api.github.com/repos/su-xiaolin/yii2/git/commits{/sha}","comments_url":"https://api.github.com/repos/su-xiaolin/yii2/comments{/number}","issue_comment_url":"https://api.github.com/repos/su-xiaolin/yii2/issues/comments{/number}","contents_url":"https://api.github.com/repos/su-xiaolin/yii2/contents/{+path}","compare_url":"https://api.github.com/repos/su-xiaolin/yii2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/su-xiaolin/yii2/merges","archive_url":"https://api.github.com/repos/su-xiaolin/yii2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/su-xiaolin/yii2/downloads","issues_url":"https://api.github.com/repos/su-xiaolin/yii2/issues{/number}","pulls_url":"https://api.github.com/repos/su-xiaolin/yii2/pulls{/number}","milestones_url":"https://api.github.com/repos/su-xiaolin/yii2/milestones{/number}","notifications_url":"https://api.github.com/repos/su-xiaolin/yii2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/su-xiaolin/yii2/labels{/name}","releases_url":"https://api.github.com/repos/su-xiaolin/yii2/releases{/id}","created_at":"2015-06-08T03:00:12Z","updated_at":"2015-06-08T03:00:16Z","pushed_at":"2015-07-25T06:52:01Z","git_url":"git://github.com/su-xiaolin/yii2.git","ssh_url":"git@github.com:su-xiaolin/yii2.git","clone_url":"https://github.com/su-xiaolin/yii2.git","svn_url":"https://github.com/su-xiaolin/yii2","homepage":"http://www.yiiframework.com","size":38486,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"yiisoft:master","ref":"master","sha":"69e7c356bb4ec60da55f525efacbe09f20a489ed","user":{"login":"yiisoft","id":993323,"avatar_url":"https://avatars.githubusercontent.com/u/993323?v=3","gravatar_id":"","url":"https://api.github.com/users/yiisoft","html_url":"https://github.com/yiisoft","followers_url":"https://api.github.com/users/yiisoft/followers","following_url":"https://api.github.com/users/yiisoft/following{/other_user}","gists_url":"https://api.github.com/users/yiisoft/gists{/gist_id}","starred_url":"https://api.github.com/users/yiisoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yiisoft/subscriptions","organizations_url":"https://api.github.com/users/yiisoft/orgs","repos_url":"https://api.github.com/users/yiisoft/repos","events_url":"https://api.github.com/users/yiisoft/events{/privacy}","received_events_url":"https://api.github.com/users/yiisoft/received_events","type":"Organization","site_admin":false},"repo":{"id":3431193,"name":"yii2","full_name":"yiisoft/yii2","owner":{"login":"yiisoft","id":993323,"avatar_url":"https://avatars.githubusercontent.com/u/993323?v=3","gravatar_id":"","url":"https://api.github.com/users/yiisoft","html_url":"https://github.com/yiisoft","followers_url":"https://api.github.com/users/yiisoft/followers","following_url":"https://api.github.com/users/yiisoft/following{/other_user}","gists_url":"https://api.github.com/users/yiisoft/gists{/gist_id}","starred_url":"https://api.github.com/users/yiisoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yiisoft/subscriptions","organizations_url":"https://api.github.com/users/yiisoft/orgs","repos_url":"https://api.github.com/users/yiisoft/repos","events_url":"https://api.github.com/users/yiisoft/events{/privacy}","received_events_url":"https://api.github.com/users/yiisoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yiisoft/yii2","description":"Yii 2 framework main development repo","fork":false,"url":"https://api.github.com/repos/yiisoft/yii2","forks_url":"https://api.github.com/repos/yiisoft/yii2/forks","keys_url":"https://api.github.com/repos/yiisoft/yii2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yiisoft/yii2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yiisoft/yii2/teams","hooks_url":"https://api.github.com/repos/yiisoft/yii2/hooks","issue_events_url":"https://api.github.com/repos/yiisoft/yii2/issues/events{/number}","events_url":"https://api.github.com/repos/yiisoft/yii2/events","assignees_url":"https://api.github.com/repos/yiisoft/yii2/assignees{/user}","branches_url":"https://api.github.com/repos/yiisoft/yii2/branches{/branch}","tags_url":"https://api.github.com/repos/yiisoft/yii2/tags","blobs_url":"https://api.github.com/repos/yiisoft/yii2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yiisoft/yii2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yiisoft/yii2/git/refs{/sha}","trees_url":"https://api.github.com/repos/yiisoft/yii2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yiisoft/yii2/statuses/{sha}","languages_url":"https://api.github.com/repos/yiisoft/yii2/languages","stargazers_url":"https://api.github.com/repos/yiisoft/yii2/stargazers","contributors_url":"https://api.github.com/repos/yiisoft/yii2/contributors","subscribers_url":"https://api.github.com/repos/yiisoft/yii2/subscribers","subscription_url":"https://api.github.com/repos/yiisoft/yii2/subscription","commits_url":"https://api.github.com/repos/yiisoft/yii2/commits{/sha}","git_commits_url":"https://api.github.com/repos/yiisoft/yii2/git/commits{/sha}","comments_url":"https://api.github.com/repos/yiisoft/yii2/comments{/number}","issue_comment_url":"https://api.github.com/repos/yiisoft/yii2/issues/comments{/number}","contents_url":"https://api.github.com/repos/yiisoft/yii2/contents/{+path}","compare_url":"https://api.github.com/repos/yiisoft/yii2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yiisoft/yii2/merges","archive_url":"https://api.github.com/repos/yiisoft/yii2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yiisoft/yii2/downloads","issues_url":"https://api.github.com/repos/yiisoft/yii2/issues{/number}","pulls_url":"https://api.github.com/repos/yiisoft/yii2/pulls{/number}","milestones_url":"https://api.github.com/repos/yiisoft/yii2/milestones{/number}","notifications_url":"https://api.github.com/repos/yiisoft/yii2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yiisoft/yii2/labels{/name}","releases_url":"https://api.github.com/repos/yiisoft/yii2/releases{/id}","created_at":"2012-02-13T15:32:36Z","updated_at":"2015-12-03T19:53:35Z","pushed_at":"2015-12-03T16:02:40Z","git_url":"git://github.com/yiisoft/yii2.git","ssh_url":"git@github.com:yiisoft/yii2.git","clone_url":"https://github.com/yiisoft/yii2.git","svn_url":"https://github.com/yiisoft/yii2","homepage":"http://www.yiiframework.com","size":52413,"stargazers_count":7087,"watchers_count":7087,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4178,"mirror_url":null,"open_issues_count":1063,"forks":4178,"open_issues":1063,"watchers":7087,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yiisoft/yii2/pulls/8693"},"html":{"href":"https://github.com/yiisoft/yii2/pull/8693"},"issue":{"href":"https://api.github.com/repos/yiisoft/yii2/issues/8693"},"comments":{"href":"https://api.github.com/repos/yiisoft/yii2/issues/8693/comments"},"review_comments":{"href":"https://api.github.com/repos/yiisoft/yii2/pulls/8693/comments"},"review_comment":{"href":"https://api.github.com/repos/yiisoft/yii2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yiisoft/yii2/pulls/8693/commits"},"statuses":{"href":"https://api.github.com/repos/yiisoft/yii2/statuses/ab861bf0e98e8ee8b863912f08ce0fc4c63d1074"}}}}