{"action":"created","comment":{"url":"https://api.github.com/repos/cakephp/cakephp/pulls/comments/64963349","id":64963349,"diff_hunk":"@@ -0,0 +1,78 @@\n+<?php\n+/**\n+ * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)\n+ * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)\n+ *\n+ * Licensed under The MIT License\n+ * For full copyright and license information, please see the LICENSE.txt\n+ * Redistributions of files must retain the above copyright notice.\n+ *\n+ * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)\n+ * @link          http://cakephp.org CakePHP(tm) Project\n+ * @since         3.2.11\n+ * @license       http://www.opensource.org/licenses/mit-license.php MIT License\n+ */\n+namespace Cake\\Test\\Fixture;\n+\n+use Cake\\TestSuite\\Fixture\\TestFixture;\n+\n+class SiteCategoriesFixture extends TestFixture\n+{\n+\n+    /**\n+     * fields property\n+     *\n+     * @var array\n+     */\n+    public $fields = [\n+        'id' => ['type' => 'integer'],\n+        'parent_id' => ['type' => 'integer', 'null' => true],\n+        'site_id' => ['type' => 'integer', 'null' => false],\n+        'name' => ['type' => 'string', 'null' => false],\n+        '_constraints' => ['primary' => ['type' => 'primary', 'columns' => ['site_id', 'id']]]","path":"tests/Fixture/SiteCategoriesFixture.php","position":32,"original_position":32,"commit_id":"795859a25cba0877e129502ccb78739af773b6c7","original_commit_id":"795859a25cba0877e129502ccb78739af773b6c7","user":{"login":"ADmad","id":142658,"avatar_url":"https://avatars.githubusercontent.com/u/142658?v=3","gravatar_id":"","url":"https://api.github.com/users/ADmad","html_url":"https://github.com/ADmad","followers_url":"https://api.github.com/users/ADmad/followers","following_url":"https://api.github.com/users/ADmad/following{/other_user}","gists_url":"https://api.github.com/users/ADmad/gists{/gist_id}","starred_url":"https://api.github.com/users/ADmad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ADmad/subscriptions","organizations_url":"https://api.github.com/users/ADmad/orgs","repos_url":"https://api.github.com/users/ADmad/repos","events_url":"https://api.github.com/users/ADmad/events{/privacy}","received_events_url":"https://api.github.com/users/ADmad/received_events","type":"User","site_admin":false},"body":"We already have a similar `SiteArticlesFixture` with composite key. You can just use that instead of creating a new fixture.","created_at":"2016-05-27T20:37:58Z","updated_at":"2016-05-27T20:37:58Z","html_url":"https://github.com/cakephp/cakephp/pull/8897#discussion_r64963349","pull_request_url":"https://api.github.com/repos/cakephp/cakephp/pulls/8897","_links":{"self":{"href":"https://api.github.com/repos/cakephp/cakephp/pulls/comments/64963349"},"html":{"href":"https://github.com/cakephp/cakephp/pull/8897#discussion_r64963349"},"pull_request":{"href":"https://api.github.com/repos/cakephp/cakephp/pulls/8897"}}},"pull_request":{"url":"https://api.github.com/repos/cakephp/cakephp/pulls/8897","id":71643376,"html_url":"https://github.com/cakephp/cakephp/pull/8897","diff_url":"https://github.com/cakephp/cakephp/pull/8897.diff","patch_url":"https://github.com/cakephp/cakephp/pull/8897.patch","issue_url":"https://api.github.com/repos/cakephp/cakephp/issues/8897","number":8897,"state":"open","locked":false,"title":"ExistsIn() should allow composite foreign keys having NULL allowed in the schema","user":{"login":"ionas","id":106845,"avatar_url":"https://avatars.githubusercontent.com/u/106845?v=3","gravatar_id":"","url":"https://api.github.com/users/ionas","html_url":"https://github.com/ionas","followers_url":"https://api.github.com/users/ionas/followers","following_url":"https://api.github.com/users/ionas/following{/other_user}","gists_url":"https://api.github.com/users/ionas/gists{/gist_id}","starred_url":"https://api.github.com/users/ionas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ionas/subscriptions","organizations_url":"https://api.github.com/users/ionas/orgs","repos_url":"https://api.github.com/users/ionas/repos","events_url":"https://api.github.com/users/ionas/events{/privacy}","received_events_url":"https://api.github.com/users/ionas/received_events","type":"User","site_admin":false},"body":"Ref: https://github.com/cakephp/cakephp/issues/8749#issuecomment-222028261","created_at":"2016-05-27T00:06:31Z","updated_at":"2016-05-27T20:37:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"643bb9f45480a8e7504d129b723c7e2c96f30ceb","assignee":null,"milestone":{"url":"https://api.github.com/repos/cakephp/cakephp/milestones/91","html_url":"https://github.com/cakephp/cakephp/milestones/3.2.11","labels_url":"https://api.github.com/repos/cakephp/cakephp/milestones/91/labels","id":1789192,"number":91,"title":"3.2.11","description":"Bugfixes and minor new features.","creator":{"login":"markstory","id":24086,"avatar_url":"https://avatars.githubusercontent.com/u/24086?v=3","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":8,"state":"open","created_at":"2016-05-26T08:23:21Z","updated_at":"2016-05-27T10:15:45Z","due_on":"2016-06-18T22:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/cakephp/cakephp/pulls/8897/commits","review_comments_url":"https://api.github.com/repos/cakephp/cakephp/pulls/8897/comments","review_comment_url":"https://api.github.com/repos/cakephp/cakephp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cakephp/cakephp/issues/8897/comments","statuses_url":"https://api.github.com/repos/cakephp/cakephp/statuses/795859a25cba0877e129502ccb78739af773b6c7","head":{"label":"ionas:fixExistsIn","ref":"fixExistsIn","sha":"795859a25cba0877e129502ccb78739af773b6c7","user":{"login":"ionas","id":106845,"avatar_url":"https://avatars.githubusercontent.com/u/106845?v=3","gravatar_id":"","url":"https://api.github.com/users/ionas","html_url":"https://github.com/ionas","followers_url":"https://api.github.com/users/ionas/followers","following_url":"https://api.github.com/users/ionas/following{/other_user}","gists_url":"https://api.github.com/users/ionas/gists{/gist_id}","starred_url":"https://api.github.com/users/ionas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ionas/subscriptions","organizations_url":"https://api.github.com/users/ionas/orgs","repos_url":"https://api.github.com/users/ionas/repos","events_url":"https://api.github.com/users/ionas/events{/privacy}","received_events_url":"https://api.github.com/users/ionas/received_events","type":"User","site_admin":false},"repo":{"id":48849573,"name":"cakephp","full_name":"ionas/cakephp","owner":{"login":"ionas","id":106845,"avatar_url":"https://avatars.githubusercontent.com/u/106845?v=3","gravatar_id":"","url":"https://api.github.com/users/ionas","html_url":"https://github.com/ionas","followers_url":"https://api.github.com/users/ionas/followers","following_url":"https://api.github.com/users/ionas/following{/other_user}","gists_url":"https://api.github.com/users/ionas/gists{/gist_id}","starred_url":"https://api.github.com/users/ionas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ionas/subscriptions","organizations_url":"https://api.github.com/users/ionas/orgs","repos_url":"https://api.github.com/users/ionas/repos","events_url":"https://api.github.com/users/ionas/events{/privacy}","received_events_url":"https://api.github.com/users/ionas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ionas/cakephp","description":"CakePHP: The Rapid Development Framework for PHP - Official Repository","fork":true,"url":"https://api.github.com/repos/ionas/cakephp","forks_url":"https://api.github.com/repos/ionas/cakephp/forks","keys_url":"https://api.github.com/repos/ionas/cakephp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ionas/cakephp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ionas/cakephp/teams","hooks_url":"https://api.github.com/repos/ionas/cakephp/hooks","issue_events_url":"https://api.github.com/repos/ionas/cakephp/issues/events{/number}","events_url":"https://api.github.com/repos/ionas/cakephp/events","assignees_url":"https://api.github.com/repos/ionas/cakephp/assignees{/user}","branches_url":"https://api.github.com/repos/ionas/cakephp/branches{/branch}","tags_url":"https://api.github.com/repos/ionas/cakephp/tags","blobs_url":"https://api.github.com/repos/ionas/cakephp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ionas/cakephp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ionas/cakephp/git/refs{/sha}","trees_url":"https://api.github.com/repos/ionas/cakephp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ionas/cakephp/statuses/{sha}","languages_url":"https://api.github.com/repos/ionas/cakephp/languages","stargazers_url":"https://api.github.com/repos/ionas/cakephp/stargazers","contributors_url":"https://api.github.com/repos/ionas/cakephp/contributors","subscribers_url":"https://api.github.com/repos/ionas/cakephp/subscribers","subscription_url":"https://api.github.com/repos/ionas/cakephp/subscription","commits_url":"https://api.github.com/repos/ionas/cakephp/commits{/sha}","git_commits_url":"https://api.github.com/repos/ionas/cakephp/git/commits{/sha}","comments_url":"https://api.github.com/repos/ionas/cakephp/comments{/number}","issue_comment_url":"https://api.github.com/repos/ionas/cakephp/issues/comments{/number}","contents_url":"https://api.github.com/repos/ionas/cakephp/contents/{+path}","compare_url":"https://api.github.com/repos/ionas/cakephp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ionas/cakephp/merges","archive_url":"https://api.github.com/repos/ionas/cakephp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ionas/cakephp/downloads","issues_url":"https://api.github.com/repos/ionas/cakephp/issues{/number}","pulls_url":"https://api.github.com/repos/ionas/cakephp/pulls{/number}","milestones_url":"https://api.github.com/repos/ionas/cakephp/milestones{/number}","notifications_url":"https://api.github.com/repos/ionas/cakephp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ionas/cakephp/labels{/name}","releases_url":"https://api.github.com/repos/ionas/cakephp/releases{/id}","deployments_url":"https://api.github.com/repos/ionas/cakephp/deployments","created_at":"2015-12-31T12:58:00Z","updated_at":"2016-01-16T15:13:13Z","pushed_at":"2016-05-27T19:59:51Z","git_url":"git://github.com/ionas/cakephp.git","ssh_url":"git@github.com:ionas/cakephp.git","clone_url":"https://github.com/ionas/cakephp.git","svn_url":"https://github.com/ionas/cakephp","homepage":"http://cakephp.org","size":62929,"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":"cakephp:master","ref":"master","sha":"8bba8276f27cf6134edff612bdeb5f37820ffad7","user":{"login":"cakephp","id":23666,"avatar_url":"https://avatars.githubusercontent.com/u/23666?v=3","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,"name":"cakephp","full_name":"cakephp/cakephp","owner":{"login":"cakephp","id":23666,"avatar_url":"https://avatars.githubusercontent.com/u/23666?v=3","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},"private":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":"2016-05-27T03:42:02Z","pushed_at":"2016-05-27T20:23:40Z","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":128452,"stargazers_count":6489,"watchers_count":6489,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2964,"mirror_url":null,"open_issues_count":191,"forks":2964,"open_issues":191,"watchers":6489,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cakephp/cakephp/pulls/8897"},"html":{"href":"https://github.com/cakephp/cakephp/pull/8897"},"issue":{"href":"https://api.github.com/repos/cakephp/cakephp/issues/8897"},"comments":{"href":"https://api.github.com/repos/cakephp/cakephp/issues/8897/comments"},"review_comments":{"href":"https://api.github.com/repos/cakephp/cakephp/pulls/8897/comments"},"review_comment":{"href":"https://api.github.com/repos/cakephp/cakephp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cakephp/cakephp/pulls/8897/commits"},"statuses":{"href":"https://api.github.com/repos/cakephp/cakephp/statuses/795859a25cba0877e129502ccb78739af773b6c7"}}}}
{"actor":{"display_login":"ADmad"}}