{"action":"created","comment":{"url":"https://api.github.com/repos/cakephp/cakephp/pulls/comments/217927513","pull_request_review_id":155757820,"id":217927513,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNzkyNzUxMw==","diff_hunk":"@@ -61,6 +61,19 @@ class CsrfComponent extends Component\n         'field' => '_csrfToken',\n     ];\n \n+    /**\n+     * Warn if CsrfComponent is used together with CsrfProtectionMiddleware\n+     *\n+     * @param array $config The config data.\n+     * @return void\n+     */\n+    public function initialize(array $config)","path":"src/Controller/Component/CsrfComponent.php","position":10,"original_position":10,"commit_id":"698ad5d27beed9dd9c8fa6a1ec5ad2278dd5bf15","original_commit_id":"698ad5d27beed9dd9c8fa6a1ec5ad2278dd5bf15","user":{"login":"saeideng","id":8215801,"node_id":"MDQ6VXNlcjgyMTU4MDE=","avatar_url":"https://avatars3.githubusercontent.com/u/8215801?v=4","gravatar_id":"","url":"https://api.github.com/users/saeideng","html_url":"https://github.com/saeideng","followers_url":"https://api.github.com/users/saeideng/followers","following_url":"https://api.github.com/users/saeideng/following{/other_user}","gists_url":"https://api.github.com/users/saeideng/gists{/gist_id}","starred_url":"https://api.github.com/users/saeideng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saeideng/subscriptions","organizations_url":"https://api.github.com/users/saeideng/orgs","repos_url":"https://api.github.com/users/saeideng/repos","events_url":"https://api.github.com/users/saeideng/events{/privacy}","received_events_url":"https://api.github.com/users/saeideng/received_events","type":"User","site_admin":false},"body":"we have `startup` callback .  why new one ?","created_at":"2018-09-16T20:56:36Z","updated_at":"2018-09-16T20:56:43Z","html_url":"https://github.com/cakephp/cakephp/pull/12568#discussion_r217927513","pull_request_url":"https://api.github.com/repos/cakephp/cakephp/pulls/12568","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/cakephp/cakephp/pulls/comments/217927513"},"html":{"href":"https://github.com/cakephp/cakephp/pull/12568#discussion_r217927513"},"pull_request":{"href":"https://api.github.com/repos/cakephp/cakephp/pulls/12568"}}},"pull_request":{"url":"https://api.github.com/repos/cakephp/cakephp/pulls/12568","id":215815798,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1ODE1Nzk4","html_url":"https://github.com/cakephp/cakephp/pull/12568","diff_url":"https://github.com/cakephp/cakephp/pull/12568.diff","patch_url":"https://github.com/cakephp/cakephp/pull/12568.patch","issue_url":"https://api.github.com/repos/cakephp/cakephp/issues/12568","number":12568,"state":"open","locked":false,"title":"Warn if CsrfComponent is used together with CsrfProtectionMiddleware","user":{"login":"garas","id":2265694,"node_id":"MDQ6VXNlcjIyNjU2OTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2265694?v=4","gravatar_id":"","url":"https://api.github.com/users/garas","html_url":"https://github.com/garas","followers_url":"https://api.github.com/users/garas/followers","following_url":"https://api.github.com/users/garas/following{/other_user}","gists_url":"https://api.github.com/users/garas/gists{/gist_id}","starred_url":"https://api.github.com/users/garas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garas/subscriptions","organizations_url":"https://api.github.com/users/garas/orgs","repos_url":"https://api.github.com/users/garas/repos","events_url":"https://api.github.com/users/garas/events{/privacy}","received_events_url":"https://api.github.com/users/garas/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-16T10:34:27Z","updated_at":"2018-09-16T20:56:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2bac38cdb3ae170e8d3c66ff0affe82630e6576d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":60505171,"node_id":"MDU6TGFiZWw2MDUwNTE3MQ==","url":"https://api.github.com/repos/cakephp/cakephp/labels/behaviors","name":"behaviors","color":"FFFFFF","default":false}],"milestone":{"url":"https://api.github.com/repos/cakephp/cakephp/milestones/180","html_url":"https://github.com/cakephp/cakephp/milestone/180","labels_url":"https://api.github.com/repos/cakephp/cakephp/milestones/180/labels","id":3616392,"node_id":"MDk6TWlsZXN0b25lMzYxNjM5Mg==","number":180,"title":"3.6.12","description":"Bugfixes for 3.6","creator":{"login":"markstory","id":24086,"node_id":"MDQ6VXNlcjI0MDg2","avatar_url":"https://avatars3.githubusercontent.com/u/24086?v=4","gravatar_id":"","url":"https://api.github.com/users/markstory","html_url":"https://github.com/markstory","followers_url":"https://api.github.com/users/markstory/followers","following_url":"https://api.github.com/users/markstory/following{/other_user}","gists_url":"https://api.github.com/users/markstory/gists{/gist_id}","starred_url":"https://api.github.com/users/markstory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstory/subscriptions","organizations_url":"https://api.github.com/users/markstory/orgs","repos_url":"https://api.github.com/users/markstory/repos","events_url":"https://api.github.com/users/markstory/events{/privacy}","received_events_url":"https://api.github.com/users/markstory/received_events","type":"User","site_admin":false},"open_issues":31,"closed_issues":19,"state":"open","created_at":"2018-09-03T02:07:54Z","updated_at":"2018-09-16T20:46:59Z","due_on":"2018-09-28T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/cakephp/cakephp/pulls/12568/commits","review_comments_url":"https://api.github.com/repos/cakephp/cakephp/pulls/12568/comments","review_comment_url":"https://api.github.com/repos/cakephp/cakephp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cakephp/cakephp/issues/12568/comments","statuses_url":"https://api.github.com/repos/cakephp/cakephp/statuses/698ad5d27beed9dd9c8fa6a1ec5ad2278dd5bf15","head":{"label":"garas:csrf-warning","ref":"csrf-warning","sha":"698ad5d27beed9dd9c8fa6a1ec5ad2278dd5bf15","user":{"login":"garas","id":2265694,"node_id":"MDQ6VXNlcjIyNjU2OTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2265694?v=4","gravatar_id":"","url":"https://api.github.com/users/garas","html_url":"https://github.com/garas","followers_url":"https://api.github.com/users/garas/followers","following_url":"https://api.github.com/users/garas/following{/other_user}","gists_url":"https://api.github.com/users/garas/gists{/gist_id}","starred_url":"https://api.github.com/users/garas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garas/subscriptions","organizations_url":"https://api.github.com/users/garas/orgs","repos_url":"https://api.github.com/users/garas/repos","events_url":"https://api.github.com/users/garas/events{/privacy}","received_events_url":"https://api.github.com/users/garas/received_events","type":"User","site_admin":false},"repo":{"id":8201854,"node_id":"MDEwOlJlcG9zaXRvcnk4MjAxODU0","name":"cakephp","full_name":"garas/cakephp","private":false,"owner":{"login":"garas","id":2265694,"node_id":"MDQ6VXNlcjIyNjU2OTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2265694?v=4","gravatar_id":"","url":"https://api.github.com/users/garas","html_url":"https://github.com/garas","followers_url":"https://api.github.com/users/garas/followers","following_url":"https://api.github.com/users/garas/following{/other_user}","gists_url":"https://api.github.com/users/garas/gists{/gist_id}","starred_url":"https://api.github.com/users/garas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garas/subscriptions","organizations_url":"https://api.github.com/users/garas/orgs","repos_url":"https://api.github.com/users/garas/repos","events_url":"https://api.github.com/users/garas/events{/privacy}","received_events_url":"https://api.github.com/users/garas/received_events","type":"User","site_admin":false},"html_url":"https://github.com/garas/cakephp","description":"CakePHP: The Rapid Development Framework for PHP - Official Repository","fork":true,"url":"https://api.github.com/repos/garas/cakephp","forks_url":"https://api.github.com/repos/garas/cakephp/forks","keys_url":"https://api.github.com/repos/garas/cakephp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/garas/cakephp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/garas/cakephp/teams","hooks_url":"https://api.github.com/repos/garas/cakephp/hooks","issue_events_url":"https://api.github.com/repos/garas/cakephp/issues/events{/number}","events_url":"https://api.github.com/repos/garas/cakephp/events","assignees_url":"https://api.github.com/repos/garas/cakephp/assignees{/user}","branches_url":"https://api.github.com/repos/garas/cakephp/branches{/branch}","tags_url":"https://api.github.com/repos/garas/cakephp/tags","blobs_url":"https://api.github.com/repos/garas/cakephp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/garas/cakephp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/garas/cakephp/git/refs{/sha}","trees_url":"https://api.github.com/repos/garas/cakephp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/garas/cakephp/statuses/{sha}","languages_url":"https://api.github.com/repos/garas/cakephp/languages","stargazers_url":"https://api.github.com/repos/garas/cakephp/stargazers","contributors_url":"https://api.github.com/repos/garas/cakephp/contributors","subscribers_url":"https://api.github.com/repos/garas/cakephp/subscribers","subscription_url":"https://api.github.com/repos/garas/cakephp/subscription","commits_url":"https://api.github.com/repos/garas/cakephp/commits{/sha}","git_commits_url":"https://api.github.com/repos/garas/cakephp/git/commits{/sha}","comments_url":"https://api.github.com/repos/garas/cakephp/comments{/number}","issue_comment_url":"https://api.github.com/repos/garas/cakephp/issues/comments{/number}","contents_url":"https://api.github.com/repos/garas/cakephp/contents/{+path}","compare_url":"https://api.github.com/repos/garas/cakephp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/garas/cakephp/merges","archive_url":"https://api.github.com/repos/garas/cakephp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/garas/cakephp/downloads","issues_url":"https://api.github.com/repos/garas/cakephp/issues{/number}","pulls_url":"https://api.github.com/repos/garas/cakephp/pulls{/number}","milestones_url":"https://api.github.com/repos/garas/cakephp/milestones{/number}","notifications_url":"https://api.github.com/repos/garas/cakephp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/garas/cakephp/labels{/name}","releases_url":"https://api.github.com/repos/garas/cakephp/releases{/id}","deployments_url":"https://api.github.com/repos/garas/cakephp/deployments","created_at":"2013-02-14T15:25:32Z","updated_at":"2015-03-18T09:37:58Z","pushed_at":"2018-09-16T15:51:58Z","git_url":"git://github.com/garas/cakephp.git","ssh_url":"git@github.com:garas/cakephp.git","clone_url":"https://github.com/garas/cakephp.git","svn_url":"https://github.com/garas/cakephp","homepage":"http://cakephp.org","size":76697,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cakephp:master","ref":"master","sha":"bb9b3db8f2a14b77d62150494795b4e5e9f859ae","user":{"login":"cakephp","id":23666,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzNjY2","avatar_url":"https://avatars0.githubusercontent.com/u/23666?v=4","gravatar_id":"","url":"https://api.github.com/users/cakephp","html_url":"https://github.com/cakephp","followers_url":"https://api.github.com/users/cakephp/followers","following_url":"https://api.github.com/users/cakephp/following{/other_user}","gists_url":"https://api.github.com/users/cakephp/gists{/gist_id}","starred_url":"https://api.github.com/users/cakephp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cakephp/subscriptions","organizations_url":"https://api.github.com/users/cakephp/orgs","repos_url":"https://api.github.com/users/cakephp/repos","events_url":"https://api.github.com/users/cakephp/events{/privacy}","received_events_url":"https://api.github.com/users/cakephp/received_events","type":"Organization","site_admin":false},"repo":{"id":656494,"node_id":"MDEwOlJlcG9zaXRvcnk2NTY0OTQ=","name":"cakephp","full_name":"cakephp/cakephp","private":false,"owner":{"login":"cakephp","id":23666,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzNjY2","avatar_url":"https://avatars0.githubusercontent.com/u/23666?v=4","gravatar_id":"","url":"https://api.github.com/users/cakephp","html_url":"https://github.com/cakephp","followers_url":"https://api.github.com/users/cakephp/followers","following_url":"https://api.github.com/users/cakephp/following{/other_user}","gists_url":"https://api.github.com/users/cakephp/gists{/gist_id}","starred_url":"https://api.github.com/users/cakephp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cakephp/subscriptions","organizations_url":"https://api.github.com/users/cakephp/orgs","repos_url":"https://api.github.com/users/cakephp/repos","events_url":"https://api.github.com/users/cakephp/events{/privacy}","received_events_url":"https://api.github.com/users/cakephp/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/cakephp/cakephp","description":"CakePHP: The Rapid Development Framework for PHP - Official Repository","fork":false,"url":"https://api.github.com/repos/cakephp/cakephp","forks_url":"https://api.github.com/repos/cakephp/cakephp/forks","keys_url":"https://api.github.com/repos/cakephp/cakephp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cakephp/cakephp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cakephp/cakephp/teams","hooks_url":"https://api.github.com/repos/cakephp/cakephp/hooks","issue_events_url":"https://api.github.com/repos/cakephp/cakephp/issues/events{/number}","events_url":"https://api.github.com/repos/cakephp/cakephp/events","assignees_url":"https://api.github.com/repos/cakephp/cakephp/assignees{/user}","branches_url":"https://api.github.com/repos/cakephp/cakephp/branches{/branch}","tags_url":"https://api.github.com/repos/cakephp/cakephp/tags","blobs_url":"https://api.github.com/repos/cakephp/cakephp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cakephp/cakephp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cakephp/cakephp/git/refs{/sha}","trees_url":"https://api.github.com/repos/cakephp/cakephp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cakephp/cakephp/statuses/{sha}","languages_url":"https://api.github.com/repos/cakephp/cakephp/languages","stargazers_url":"https://api.github.com/repos/cakephp/cakephp/stargazers","contributors_url":"https://api.github.com/repos/cakephp/cakephp/contributors","subscribers_url":"https://api.github.com/repos/cakephp/cakephp/subscribers","subscription_url":"https://api.github.com/repos/cakephp/cakephp/subscription","commits_url":"https://api.github.com/repos/cakephp/cakephp/commits{/sha}","git_commits_url":"https://api.github.com/repos/cakephp/cakephp/git/commits{/sha}","comments_url":"https://api.github.com/repos/cakephp/cakephp/comments{/number}","issue_comment_url":"https://api.github.com/repos/cakephp/cakephp/issues/comments{/number}","contents_url":"https://api.github.com/repos/cakephp/cakephp/contents/{+path}","compare_url":"https://api.github.com/repos/cakephp/cakephp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cakephp/cakephp/merges","archive_url":"https://api.github.com/repos/cakephp/cakephp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cakephp/cakephp/downloads","issues_url":"https://api.github.com/repos/cakephp/cakephp/issues{/number}","pulls_url":"https://api.github.com/repos/cakephp/cakephp/pulls{/number}","milestones_url":"https://api.github.com/repos/cakephp/cakephp/milestones{/number}","notifications_url":"https://api.github.com/repos/cakephp/cakephp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cakephp/cakephp/labels{/name}","releases_url":"https://api.github.com/repos/cakephp/cakephp/releases{/id}","deployments_url":"https://api.github.com/repos/cakephp/cakephp/deployments","created_at":"2010-05-08T14:38:22Z","updated_at":"2018-09-15T20:22:41Z","pushed_at":"2018-09-16T20:44:03Z","git_url":"git://github.com/cakephp/cakephp.git","ssh_url":"git@github.com:cakephp/cakephp.git","clone_url":"https://github.com/cakephp/cakephp.git","svn_url":"https://github.com/cakephp/cakephp","homepage":"http://cakephp.org","size":81021,"stargazers_count":7630,"watchers_count":7630,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3346,"mirror_url":null,"archived":false,"open_issues_count":230,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3346,"open_issues":230,"watchers":7630,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cakephp/cakephp/pulls/12568"},"html":{"href":"https://github.com/cakephp/cakephp/pull/12568"},"issue":{"href":"https://api.github.com/repos/cakephp/cakephp/issues/12568"},"comments":{"href":"https://api.github.com/repos/cakephp/cakephp/issues/12568/comments"},"review_comments":{"href":"https://api.github.com/repos/cakephp/cakephp/pulls/12568/comments"},"review_comment":{"href":"https://api.github.com/repos/cakephp/cakephp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cakephp/cakephp/pulls/12568/commits"},"statuses":{"href":"https://api.github.com/repos/cakephp/cakephp/statuses/698ad5d27beed9dd9c8fa6a1ec5ad2278dd5bf15"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"saeideng"}}