{"action":"created","comment":{"url":"https://api.github.com/repos/idevelopment/Hcrm/pulls/comments/72518970","id":72518970,"diff_hunk":"@@ -33,16 +56,93 @@\n         'phone'   => $faker->phoneNumber,\n         'mobile'  => $faker->phoneNumber,\n         'company' => $faker->company,\n-        'vat'     => $faker->vat,\n+        'vat'     => 'vat number',\n+    ];\n+});\n+\n+$factory->define(App\\Status::class, function (Faker\\Generator $faker) {\n+    return [\n+        'name'        => 'Status nname',\n+        'description' => 'Status description'\n     ];\n });\n \n $factory->define(App\\Departments::class, function (Faker\\Generator $faker) {\n     return [\n         'name'        => $faker->name,\n         'description' => $faker->text(200),\n-        'manager_id'  => function () {\n-            return factory(App\\User::class)->create()->id;\n-        }\n     ];\n });\n+\n+$factory->define(App\\Knowledge::class, function (Faker\\Generator $faker) {\n+    return [\n+        'question' => 'Is this a question?',\n+        'answer'   => $faker->text(200),\n+    ];\n+});\n+\n+$factory->define(App\\Tickets::class, function (Faker\\Generator $faker) {\n+    return [\n+        'customer_id' => 1, \n+        'assigned_id' => 1,\n+        'status_id'   => 1,\n+        'type'        => 'Technical',\n+        'priority'    => 'High',\n+        'subject'     => 'Support ticket',\n+        'description' => 'This is a description',\n+        'deleted_at'  => '',\n+        'is_closed'   => '1'\n+    ];\n+});\n+\n+$factory->define(App\\TicketAttachments::class, function (Faker\\Generator $faker) {\n+    return [\n+        'comment_id' => 4,\n+        'file_name'  => 'File name',\n+        'file_path'  => 'path/to/file/filename'\n+    ];\n+});\n+\n+$factory->define(App\\FileMessages::class, function (Faker\\Generator $faker) {\n+    return [\n+        'ticket_id' => 4,\n+        'user_id'   => 1,\n+        'message'   => 'This is a comment message'\n+    ];\n+});\n+\n+$factory->define(App\\productsCategories::class, function (Faker\\Generator $faker) {\n+    return [\n+        'category'    => $faker->word,\n+        'description' => $faker->text(200)\n+    ];\n+});\n+\n+$factory->define(App\\products::class, function (Faker\\Generator $faker) {\n+    return [\n+        'name'             => $faker->word,\n+        'category'         => 1,\n+        'disk_space'       => '200 MB',\n+        'data_traffic'     => '200 MB',\n+        'memory'           => '4 GB',\n+        'Operating_System' => 'Windows'\n+    ];\n+});\n+\n+$factory->define(App\\Servers::class, function(Faker\\Generator $faker) {\n+    return [\n+        'name'       => $faker->name,\n+        'public_ip'  => $faker->ipv4,\n+        'location'   => $faker->locale,\n+        'status'     => $faker->name\n+    ];\n+});\n+\n+$factory->define(App\\Comments::class, function(Faker\\Generator $faker) {","path":"database/factories/ModelFactory.php","position":120,"original_position":120,"commit_id":"182173ecfdeabf4978fd25310052494d370567af","original_commit_id":"182173ecfdeabf4978fd25310052494d370567af","user":{"login":"ghermans","id":1594411,"avatar_url":"https://avatars.githubusercontent.com/u/1594411?v=3","gravatar_id":"","url":"https://api.github.com/users/ghermans","html_url":"https://github.com/ghermans","followers_url":"https://api.github.com/users/ghermans/followers","following_url":"https://api.github.com/users/ghermans/following{/other_user}","gists_url":"https://api.github.com/users/ghermans/gists{/gist_id}","starred_url":"https://api.github.com/users/ghermans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghermans/subscriptions","organizations_url":"https://api.github.com/users/ghermans/orgs","repos_url":"https://api.github.com/users/ghermans/repos","events_url":"https://api.github.com/users/ghermans/events{/privacy}","received_events_url":"https://api.github.com/users/ghermans/received_events","type":"User","site_admin":false},"body":"__[code_sniffer]__\n* Expected 1 space after FUNCTION keyword; 0 found\n\n<!-- Comment by [SideCI](https://sideci.com) -->","created_at":"2016-07-27T20:40:33Z","updated_at":"2016-07-27T20:40:33Z","html_url":"https://github.com/idevelopment/Hcrm/pull/33#discussion_r72518970","pull_request_url":"https://api.github.com/repos/idevelopment/Hcrm/pulls/33","_links":{"self":{"href":"https://api.github.com/repos/idevelopment/Hcrm/pulls/comments/72518970"},"html":{"href":"https://github.com/idevelopment/Hcrm/pull/33#discussion_r72518970"},"pull_request":{"href":"https://api.github.com/repos/idevelopment/Hcrm/pulls/33"}}},"pull_request":{"url":"https://api.github.com/repos/idevelopment/Hcrm/pulls/33","id":74376203,"html_url":"https://github.com/idevelopment/Hcrm/pull/33","diff_url":"https://github.com/idevelopment/Hcrm/pull/33.diff","patch_url":"https://github.com/idevelopment/Hcrm/pull/33.patch","issue_url":"https://api.github.com/repos/idevelopment/Hcrm/issues/33","number":33,"state":"open","locked":false,"title":"Development","user":{"login":"ghermans","id":1594411,"avatar_url":"https://avatars.githubusercontent.com/u/1594411?v=3","gravatar_id":"","url":"https://api.github.com/users/ghermans","html_url":"https://github.com/ghermans","followers_url":"https://api.github.com/users/ghermans/followers","following_url":"https://api.github.com/users/ghermans/following{/other_user}","gists_url":"https://api.github.com/users/ghermans/gists{/gist_id}","starred_url":"https://api.github.com/users/ghermans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghermans/subscriptions","organizations_url":"https://api.github.com/users/ghermans/orgs","repos_url":"https://api.github.com/users/ghermans/repos","events_url":"https://api.github.com/users/ghermans/events{/privacy}","received_events_url":"https://api.github.com/users/ghermans/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-19T22:41:35Z","updated_at":"2016-07-27T20:40:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"74bd4e3b2aa3c66fc7ffa41320c2c6cf7b5b1eb7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/idevelopment/Hcrm/pulls/33/commits","review_comments_url":"https://api.github.com/repos/idevelopment/Hcrm/pulls/33/comments","review_comment_url":"https://api.github.com/repos/idevelopment/Hcrm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/idevelopment/Hcrm/issues/33/comments","statuses_url":"https://api.github.com/repos/idevelopment/Hcrm/statuses/182173ecfdeabf4978fd25310052494d370567af","head":{"label":"idevelopment:development","ref":"development","sha":"182173ecfdeabf4978fd25310052494d370567af","user":{"login":"idevelopment","id":14967398,"avatar_url":"https://avatars.githubusercontent.com/u/14967398?v=3","gravatar_id":"","url":"https://api.github.com/users/idevelopment","html_url":"https://github.com/idevelopment","followers_url":"https://api.github.com/users/idevelopment/followers","following_url":"https://api.github.com/users/idevelopment/following{/other_user}","gists_url":"https://api.github.com/users/idevelopment/gists{/gist_id}","starred_url":"https://api.github.com/users/idevelopment/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idevelopment/subscriptions","organizations_url":"https://api.github.com/users/idevelopment/orgs","repos_url":"https://api.github.com/users/idevelopment/repos","events_url":"https://api.github.com/users/idevelopment/events{/privacy}","received_events_url":"https://api.github.com/users/idevelopment/received_events","type":"Organization","site_admin":false},"repo":{"id":61381083,"name":"Hcrm","full_name":"idevelopment/Hcrm","owner":{"login":"idevelopment","id":14967398,"avatar_url":"https://avatars.githubusercontent.com/u/14967398?v=3","gravatar_id":"","url":"https://api.github.com/users/idevelopment","html_url":"https://github.com/idevelopment","followers_url":"https://api.github.com/users/idevelopment/followers","following_url":"https://api.github.com/users/idevelopment/following{/other_user}","gists_url":"https://api.github.com/users/idevelopment/gists{/gist_id}","starred_url":"https://api.github.com/users/idevelopment/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idevelopment/subscriptions","organizations_url":"https://api.github.com/users/idevelopment/orgs","repos_url":"https://api.github.com/users/idevelopment/repos","events_url":"https://api.github.com/users/idevelopment/events{/privacy}","received_events_url":"https://api.github.com/users/idevelopment/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/idevelopment/Hcrm","description":"Open-source CRM for hosting companies ","fork":false,"url":"https://api.github.com/repos/idevelopment/Hcrm","forks_url":"https://api.github.com/repos/idevelopment/Hcrm/forks","keys_url":"https://api.github.com/repos/idevelopment/Hcrm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/idevelopment/Hcrm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/idevelopment/Hcrm/teams","hooks_url":"https://api.github.com/repos/idevelopment/Hcrm/hooks","issue_events_url":"https://api.github.com/repos/idevelopment/Hcrm/issues/events{/number}","events_url":"https://api.github.com/repos/idevelopment/Hcrm/events","assignees_url":"https://api.github.com/repos/idevelopment/Hcrm/assignees{/user}","branches_url":"https://api.github.com/repos/idevelopment/Hcrm/branches{/branch}","tags_url":"https://api.github.com/repos/idevelopment/Hcrm/tags","blobs_url":"https://api.github.com/repos/idevelopment/Hcrm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/idevelopment/Hcrm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/idevelopment/Hcrm/git/refs{/sha}","trees_url":"https://api.github.com/repos/idevelopment/Hcrm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/idevelopment/Hcrm/statuses/{sha}","languages_url":"https://api.github.com/repos/idevelopment/Hcrm/languages","stargazers_url":"https://api.github.com/repos/idevelopment/Hcrm/stargazers","contributors_url":"https://api.github.com/repos/idevelopment/Hcrm/contributors","subscribers_url":"https://api.github.com/repos/idevelopment/Hcrm/subscribers","subscription_url":"https://api.github.com/repos/idevelopment/Hcrm/subscription","commits_url":"https://api.github.com/repos/idevelopment/Hcrm/commits{/sha}","git_commits_url":"https://api.github.com/repos/idevelopment/Hcrm/git/commits{/sha}","comments_url":"https://api.github.com/repos/idevelopment/Hcrm/comments{/number}","issue_comment_url":"https://api.github.com/repos/idevelopment/Hcrm/issues/comments{/number}","contents_url":"https://api.github.com/repos/idevelopment/Hcrm/contents/{+path}","compare_url":"https://api.github.com/repos/idevelopment/Hcrm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/idevelopment/Hcrm/merges","archive_url":"https://api.github.com/repos/idevelopment/Hcrm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/idevelopment/Hcrm/downloads","issues_url":"https://api.github.com/repos/idevelopment/Hcrm/issues{/number}","pulls_url":"https://api.github.com/repos/idevelopment/Hcrm/pulls{/number}","milestones_url":"https://api.github.com/repos/idevelopment/Hcrm/milestones{/number}","notifications_url":"https://api.github.com/repos/idevelopment/Hcrm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/idevelopment/Hcrm/labels{/name}","releases_url":"https://api.github.com/repos/idevelopment/Hcrm/releases{/id}","deployments_url":"https://api.github.com/repos/idevelopment/Hcrm/deployments","created_at":"2016-06-17T14:49:28Z","updated_at":"2016-06-28T21:02:26Z","pushed_at":"2016-07-27T20:37:59Z","git_url":"git://github.com/idevelopment/Hcrm.git","ssh_url":"git@github.com:idevelopment/Hcrm.git","clone_url":"https://github.com/idevelopment/Hcrm.git","svn_url":"https://github.com/idevelopment/Hcrm","homepage":null,"size":889,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":32,"forks":1,"open_issues":32,"watchers":1,"default_branch":"master"}},"base":{"label":"idevelopment:master","ref":"master","sha":"c6a7e6acefb625714805bde80a41d873237149e6","user":{"login":"idevelopment","id":14967398,"avatar_url":"https://avatars.githubusercontent.com/u/14967398?v=3","gravatar_id":"","url":"https://api.github.com/users/idevelopment","html_url":"https://github.com/idevelopment","followers_url":"https://api.github.com/users/idevelopment/followers","following_url":"https://api.github.com/users/idevelopment/following{/other_user}","gists_url":"https://api.github.com/users/idevelopment/gists{/gist_id}","starred_url":"https://api.github.com/users/idevelopment/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idevelopment/subscriptions","organizations_url":"https://api.github.com/users/idevelopment/orgs","repos_url":"https://api.github.com/users/idevelopment/repos","events_url":"https://api.github.com/users/idevelopment/events{/privacy}","received_events_url":"https://api.github.com/users/idevelopment/received_events","type":"Organization","site_admin":false},"repo":{"id":61381083,"name":"Hcrm","full_name":"idevelopment/Hcrm","owner":{"login":"idevelopment","id":14967398,"avatar_url":"https://avatars.githubusercontent.com/u/14967398?v=3","gravatar_id":"","url":"https://api.github.com/users/idevelopment","html_url":"https://github.com/idevelopment","followers_url":"https://api.github.com/users/idevelopment/followers","following_url":"https://api.github.com/users/idevelopment/following{/other_user}","gists_url":"https://api.github.com/users/idevelopment/gists{/gist_id}","starred_url":"https://api.github.com/users/idevelopment/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idevelopment/subscriptions","organizations_url":"https://api.github.com/users/idevelopment/orgs","repos_url":"https://api.github.com/users/idevelopment/repos","events_url":"https://api.github.com/users/idevelopment/events{/privacy}","received_events_url":"https://api.github.com/users/idevelopment/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/idevelopment/Hcrm","description":"Open-source CRM for hosting companies ","fork":false,"url":"https://api.github.com/repos/idevelopment/Hcrm","forks_url":"https://api.github.com/repos/idevelopment/Hcrm/forks","keys_url":"https://api.github.com/repos/idevelopment/Hcrm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/idevelopment/Hcrm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/idevelopment/Hcrm/teams","hooks_url":"https://api.github.com/repos/idevelopment/Hcrm/hooks","issue_events_url":"https://api.github.com/repos/idevelopment/Hcrm/issues/events{/number}","events_url":"https://api.github.com/repos/idevelopment/Hcrm/events","assignees_url":"https://api.github.com/repos/idevelopment/Hcrm/assignees{/user}","branches_url":"https://api.github.com/repos/idevelopment/Hcrm/branches{/branch}","tags_url":"https://api.github.com/repos/idevelopment/Hcrm/tags","blobs_url":"https://api.github.com/repos/idevelopment/Hcrm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/idevelopment/Hcrm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/idevelopment/Hcrm/git/refs{/sha}","trees_url":"https://api.github.com/repos/idevelopment/Hcrm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/idevelopment/Hcrm/statuses/{sha}","languages_url":"https://api.github.com/repos/idevelopment/Hcrm/languages","stargazers_url":"https://api.github.com/repos/idevelopment/Hcrm/stargazers","contributors_url":"https://api.github.com/repos/idevelopment/Hcrm/contributors","subscribers_url":"https://api.github.com/repos/idevelopment/Hcrm/subscribers","subscription_url":"https://api.github.com/repos/idevelopment/Hcrm/subscription","commits_url":"https://api.github.com/repos/idevelopment/Hcrm/commits{/sha}","git_commits_url":"https://api.github.com/repos/idevelopment/Hcrm/git/commits{/sha}","comments_url":"https://api.github.com/repos/idevelopment/Hcrm/comments{/number}","issue_comment_url":"https://api.github.com/repos/idevelopment/Hcrm/issues/comments{/number}","contents_url":"https://api.github.com/repos/idevelopment/Hcrm/contents/{+path}","compare_url":"https://api.github.com/repos/idevelopment/Hcrm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/idevelopment/Hcrm/merges","archive_url":"https://api.github.com/repos/idevelopment/Hcrm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/idevelopment/Hcrm/downloads","issues_url":"https://api.github.com/repos/idevelopment/Hcrm/issues{/number}","pulls_url":"https://api.github.com/repos/idevelopment/Hcrm/pulls{/number}","milestones_url":"https://api.github.com/repos/idevelopment/Hcrm/milestones{/number}","notifications_url":"https://api.github.com/repos/idevelopment/Hcrm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/idevelopment/Hcrm/labels{/name}","releases_url":"https://api.github.com/repos/idevelopment/Hcrm/releases{/id}","deployments_url":"https://api.github.com/repos/idevelopment/Hcrm/deployments","created_at":"2016-06-17T14:49:28Z","updated_at":"2016-06-28T21:02:26Z","pushed_at":"2016-07-27T20:37:59Z","git_url":"git://github.com/idevelopment/Hcrm.git","ssh_url":"git@github.com:idevelopment/Hcrm.git","clone_url":"https://github.com/idevelopment/Hcrm.git","svn_url":"https://github.com/idevelopment/Hcrm","homepage":null,"size":889,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":32,"forks":1,"open_issues":32,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/idevelopment/Hcrm/pulls/33"},"html":{"href":"https://github.com/idevelopment/Hcrm/pull/33"},"issue":{"href":"https://api.github.com/repos/idevelopment/Hcrm/issues/33"},"comments":{"href":"https://api.github.com/repos/idevelopment/Hcrm/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/idevelopment/Hcrm/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/idevelopment/Hcrm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/idevelopment/Hcrm/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/idevelopment/Hcrm/statuses/182173ecfdeabf4978fd25310052494d370567af"}}}}
{"actor":{"display_login":"ghermans"}}