{"action":"created","comment":{"url":"https://api.github.com/repos/josegonzalez/cakephp-upload/pulls/comments/65829791","id":65829791,"diff_hunk":"@@ -5,12 +5,22 @@\n use Cake\\Event\\Event;\n use Cake\\ORM\\Entity;\n use Cake\\ORM\\Table;\n+use Cake\\ORM\\TableRegistry;\n use Cake\\TestSuite\\TestCase;\n use Josegonzalez\\Upload\\Model\\Behavior\\UploadBehavior;\n use ReflectionClass;\n \n+class ChildBehavior extends UploadBehavior","path":"tests/TestCase/Model/Behavior/UploadBehaviorTest.php","position":9,"original_position":9,"commit_id":"d40e0beeca71cba3b10a35f5818442e381797152","original_commit_id":"d40e0beeca71cba3b10a35f5818442e381797152","user":{"login":"josegonzalez","id":65675,"avatar_url":"https://avatars.githubusercontent.com/u/65675?v=3","gravatar_id":"","url":"https://api.github.com/users/josegonzalez","html_url":"https://github.com/josegonzalez","followers_url":"https://api.github.com/users/josegonzalez/followers","following_url":"https://api.github.com/users/josegonzalez/following{/other_user}","gists_url":"https://api.github.com/users/josegonzalez/gists{/gist_id}","starred_url":"https://api.github.com/users/josegonzalez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josegonzalez/subscriptions","organizations_url":"https://api.github.com/users/josegonzalez/orgs","repos_url":"https://api.github.com/users/josegonzalez/repos","events_url":"https://api.github.com/users/josegonzalez/events{/privacy}","received_events_url":"https://api.github.com/users/josegonzalez/received_events","type":"User","site_admin":false},"body":"Move this to a new file.","created_at":"2016-06-06T01:28:40Z","updated_at":"2016-06-06T01:28:40Z","html_url":"https://github.com/josegonzalez/cakephp-upload/pull/389#discussion_r65829791","pull_request_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/pulls/389","_links":{"self":{"href":"https://api.github.com/repos/josegonzalez/cakephp-upload/pulls/comments/65829791"},"html":{"href":"https://github.com/josegonzalez/cakephp-upload/pull/389#discussion_r65829791"},"pull_request":{"href":"https://api.github.com/repos/josegonzalez/cakephp-upload/pulls/389"}}},"pull_request":{"url":"https://api.github.com/repos/josegonzalez/cakephp-upload/pulls/389","id":72641071,"html_url":"https://github.com/josegonzalez/cakephp-upload/pull/389","diff_url":"https://github.com/josegonzalez/cakephp-upload/pull/389.diff","patch_url":"https://github.com/josegonzalez/cakephp-upload/pull/389.patch","issue_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/issues/389","number":389,"state":"open","locked":false,"title":"Prevent erasing _config that's been set in the constructor","user":{"login":"Phillaf","id":1533572,"avatar_url":"https://avatars.githubusercontent.com/u/1533572?v=3","gravatar_id":"","url":"https://api.github.com/users/Phillaf","html_url":"https://github.com/Phillaf","followers_url":"https://api.github.com/users/Phillaf/followers","following_url":"https://api.github.com/users/Phillaf/following{/other_user}","gists_url":"https://api.github.com/users/Phillaf/gists{/gist_id}","starred_url":"https://api.github.com/users/Phillaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Phillaf/subscriptions","organizations_url":"https://api.github.com/users/Phillaf/orgs","repos_url":"https://api.github.com/users/Phillaf/repos","events_url":"https://api.github.com/users/Phillaf/events{/privacy}","received_events_url":"https://api.github.com/users/Phillaf/received_events","type":"User","site_admin":false},"body":"I made this change in PR #335 but it got dropped in issue #368 because I didnt write a test for it.\r\n\r\nI added a test case for an inherited behavior. This doesn't break the test added for indexed config.","created_at":"2016-06-05T21:29:16Z","updated_at":"2016-06-06T01:28:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"da8b07f1884de38f1210f84dbeeb0e878058feb7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/pulls/389/commits","review_comments_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/pulls/389/comments","review_comment_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/pulls/comments{/number}","comments_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/issues/389/comments","statuses_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/statuses/d40e0beeca71cba3b10a35f5818442e381797152","head":{"label":"Phillaf:master","ref":"master","sha":"d40e0beeca71cba3b10a35f5818442e381797152","user":{"login":"Phillaf","id":1533572,"avatar_url":"https://avatars.githubusercontent.com/u/1533572?v=3","gravatar_id":"","url":"https://api.github.com/users/Phillaf","html_url":"https://github.com/Phillaf","followers_url":"https://api.github.com/users/Phillaf/followers","following_url":"https://api.github.com/users/Phillaf/following{/other_user}","gists_url":"https://api.github.com/users/Phillaf/gists{/gist_id}","starred_url":"https://api.github.com/users/Phillaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Phillaf/subscriptions","organizations_url":"https://api.github.com/users/Phillaf/orgs","repos_url":"https://api.github.com/users/Phillaf/repos","events_url":"https://api.github.com/users/Phillaf/events{/privacy}","received_events_url":"https://api.github.com/users/Phillaf/received_events","type":"User","site_admin":false},"repo":{"id":46626542,"name":"cakephp-upload","full_name":"Phillaf/cakephp-upload","owner":{"login":"Phillaf","id":1533572,"avatar_url":"https://avatars.githubusercontent.com/u/1533572?v=3","gravatar_id":"","url":"https://api.github.com/users/Phillaf","html_url":"https://github.com/Phillaf","followers_url":"https://api.github.com/users/Phillaf/followers","following_url":"https://api.github.com/users/Phillaf/following{/other_user}","gists_url":"https://api.github.com/users/Phillaf/gists{/gist_id}","starred_url":"https://api.github.com/users/Phillaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Phillaf/subscriptions","organizations_url":"https://api.github.com/users/Phillaf/orgs","repos_url":"https://api.github.com/users/Phillaf/repos","events_url":"https://api.github.com/users/Phillaf/events{/privacy}","received_events_url":"https://api.github.com/users/Phillaf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Phillaf/cakephp-upload","description":"CakePHP2: handle file uploading sans ridiculous automagic","fork":true,"url":"https://api.github.com/repos/Phillaf/cakephp-upload","forks_url":"https://api.github.com/repos/Phillaf/cakephp-upload/forks","keys_url":"https://api.github.com/repos/Phillaf/cakephp-upload/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Phillaf/cakephp-upload/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Phillaf/cakephp-upload/teams","hooks_url":"https://api.github.com/repos/Phillaf/cakephp-upload/hooks","issue_events_url":"https://api.github.com/repos/Phillaf/cakephp-upload/issues/events{/number}","events_url":"https://api.github.com/repos/Phillaf/cakephp-upload/events","assignees_url":"https://api.github.com/repos/Phillaf/cakephp-upload/assignees{/user}","branches_url":"https://api.github.com/repos/Phillaf/cakephp-upload/branches{/branch}","tags_url":"https://api.github.com/repos/Phillaf/cakephp-upload/tags","blobs_url":"https://api.github.com/repos/Phillaf/cakephp-upload/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Phillaf/cakephp-upload/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Phillaf/cakephp-upload/git/refs{/sha}","trees_url":"https://api.github.com/repos/Phillaf/cakephp-upload/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Phillaf/cakephp-upload/statuses/{sha}","languages_url":"https://api.github.com/repos/Phillaf/cakephp-upload/languages","stargazers_url":"https://api.github.com/repos/Phillaf/cakephp-upload/stargazers","contributors_url":"https://api.github.com/repos/Phillaf/cakephp-upload/contributors","subscribers_url":"https://api.github.com/repos/Phillaf/cakephp-upload/subscribers","subscription_url":"https://api.github.com/repos/Phillaf/cakephp-upload/subscription","commits_url":"https://api.github.com/repos/Phillaf/cakephp-upload/commits{/sha}","git_commits_url":"https://api.github.com/repos/Phillaf/cakephp-upload/git/commits{/sha}","comments_url":"https://api.github.com/repos/Phillaf/cakephp-upload/comments{/number}","issue_comment_url":"https://api.github.com/repos/Phillaf/cakephp-upload/issues/comments{/number}","contents_url":"https://api.github.com/repos/Phillaf/cakephp-upload/contents/{+path}","compare_url":"https://api.github.com/repos/Phillaf/cakephp-upload/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Phillaf/cakephp-upload/merges","archive_url":"https://api.github.com/repos/Phillaf/cakephp-upload/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Phillaf/cakephp-upload/downloads","issues_url":"https://api.github.com/repos/Phillaf/cakephp-upload/issues{/number}","pulls_url":"https://api.github.com/repos/Phillaf/cakephp-upload/pulls{/number}","milestones_url":"https://api.github.com/repos/Phillaf/cakephp-upload/milestones{/number}","notifications_url":"https://api.github.com/repos/Phillaf/cakephp-upload/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Phillaf/cakephp-upload/labels{/name}","releases_url":"https://api.github.com/repos/Phillaf/cakephp-upload/releases{/id}","deployments_url":"https://api.github.com/repos/Phillaf/cakephp-upload/deployments","created_at":"2015-11-21T17:52:23Z","updated_at":"2016-06-05T21:14:37Z","pushed_at":"2016-06-05T21:14:33Z","git_url":"git://github.com/Phillaf/cakephp-upload.git","ssh_url":"git@github.com:Phillaf/cakephp-upload.git","clone_url":"https://github.com/Phillaf/cakephp-upload.git","svn_url":"https://github.com/Phillaf/cakephp-upload","homepage":"http://cakephp-upload.readthedocs.org/","size":682,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"josegonzalez:master","ref":"master","sha":"b2b9ff680897230341d3117fb013ad309f0e5bd1","user":{"login":"josegonzalez","id":65675,"avatar_url":"https://avatars.githubusercontent.com/u/65675?v=3","gravatar_id":"","url":"https://api.github.com/users/josegonzalez","html_url":"https://github.com/josegonzalez","followers_url":"https://api.github.com/users/josegonzalez/followers","following_url":"https://api.github.com/users/josegonzalez/following{/other_user}","gists_url":"https://api.github.com/users/josegonzalez/gists{/gist_id}","starred_url":"https://api.github.com/users/josegonzalez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josegonzalez/subscriptions","organizations_url":"https://api.github.com/users/josegonzalez/orgs","repos_url":"https://api.github.com/users/josegonzalez/repos","events_url":"https://api.github.com/users/josegonzalez/events{/privacy}","received_events_url":"https://api.github.com/users/josegonzalez/received_events","type":"User","site_admin":false},"repo":{"id":825261,"name":"cakephp-upload","full_name":"josegonzalez/cakephp-upload","owner":{"login":"josegonzalez","id":65675,"avatar_url":"https://avatars.githubusercontent.com/u/65675?v=3","gravatar_id":"","url":"https://api.github.com/users/josegonzalez","html_url":"https://github.com/josegonzalez","followers_url":"https://api.github.com/users/josegonzalez/followers","following_url":"https://api.github.com/users/josegonzalez/following{/other_user}","gists_url":"https://api.github.com/users/josegonzalez/gists{/gist_id}","starred_url":"https://api.github.com/users/josegonzalez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josegonzalez/subscriptions","organizations_url":"https://api.github.com/users/josegonzalez/orgs","repos_url":"https://api.github.com/users/josegonzalez/repos","events_url":"https://api.github.com/users/josegonzalez/events{/privacy}","received_events_url":"https://api.github.com/users/josegonzalez/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/josegonzalez/cakephp-upload","description":"CakePHP3: handle file uploading sans ridiculous automagic","fork":false,"url":"https://api.github.com/repos/josegonzalez/cakephp-upload","forks_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/forks","keys_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/keys{/key_id}","collaborators_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/teams","hooks_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/hooks","issue_events_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/issues/events{/number}","events_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/events","assignees_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/assignees{/user}","branches_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/branches{/branch}","tags_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/tags","blobs_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/git/refs{/sha}","trees_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/git/trees{/sha}","statuses_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/statuses/{sha}","languages_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/languages","stargazers_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/stargazers","contributors_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/contributors","subscribers_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/subscribers","subscription_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/subscription","commits_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/commits{/sha}","git_commits_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/git/commits{/sha}","comments_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/comments{/number}","issue_comment_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/issues/comments{/number}","contents_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/contents/{+path}","compare_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/compare/{base}...{head}","merges_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/merges","archive_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/downloads","issues_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/issues{/number}","pulls_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/pulls{/number}","milestones_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/milestones{/number}","notifications_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/labels{/name}","releases_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/releases{/id}","deployments_url":"https://api.github.com/repos/josegonzalez/cakephp-upload/deployments","created_at":"2010-08-08T21:33:30Z","updated_at":"2016-06-05T02:57:22Z","pushed_at":"2016-06-05T21:29:16Z","git_url":"git://github.com/josegonzalez/cakephp-upload.git","ssh_url":"git@github.com:josegonzalez/cakephp-upload.git","clone_url":"https://github.com/josegonzalez/cakephp-upload.git","svn_url":"https://github.com/josegonzalez/cakephp-upload","homepage":"http://cakephp-upload.readthedocs.org/","size":1221,"stargazers_count":465,"watchers_count":465,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":223,"mirror_url":null,"open_issues_count":5,"forks":223,"open_issues":5,"watchers":465,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/josegonzalez/cakephp-upload/pulls/389"},"html":{"href":"https://github.com/josegonzalez/cakephp-upload/pull/389"},"issue":{"href":"https://api.github.com/repos/josegonzalez/cakephp-upload/issues/389"},"comments":{"href":"https://api.github.com/repos/josegonzalez/cakephp-upload/issues/389/comments"},"review_comments":{"href":"https://api.github.com/repos/josegonzalez/cakephp-upload/pulls/389/comments"},"review_comment":{"href":"https://api.github.com/repos/josegonzalez/cakephp-upload/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/josegonzalez/cakephp-upload/pulls/389/commits"},"statuses":{"href":"https://api.github.com/repos/josegonzalez/cakephp-upload/statuses/d40e0beeca71cba3b10a35f5818442e381797152"}}}}
{"actor":{"display_login":"josegonzalez"}}