{"action":"opened","number":14,"pull_request":{"url":"https://api.github.com/repos/ndlibersa/reports/pulls/14","id":50416947,"html_url":"https://github.com/ndlibersa/reports/pull/14","diff_url":"https://github.com/ndlibersa/reports/pull/14.diff","patch_url":"https://github.com/ndlibersa/reports/pull/14.patch","issue_url":"https://api.github.com/repos/ndlibersa/reports/issues/14","number":14,"state":"open","locked":false,"title":"Reports overhaul","user":{"login":"brandon-garcia","id":3475827,"avatar_url":"https://avatars.githubusercontent.com/u/3475827?v=3","gravatar_id":"","url":"https://api.github.com/users/brandon-garcia","html_url":"https://github.com/brandon-garcia","followers_url":"https://api.github.com/users/brandon-garcia/followers","following_url":"https://api.github.com/users/brandon-garcia/following{/other_user}","gists_url":"https://api.github.com/users/brandon-garcia/gists{/gist_id}","starred_url":"https://api.github.com/users/brandon-garcia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandon-garcia/subscriptions","organizations_url":"https://api.github.com/users/brandon-garcia/orgs","repos_url":"https://api.github.com/users/brandon-garcia/repos","events_url":"https://api.github.com/users/brandon-garcia/events{/privacy}","received_events_url":"https://api.github.com/users/brandon-garcia/received_events","type":"User","site_admin":false},"body":"Adds unit tests to reports module (run from project directory with 'phpunit').\r\n\r\nFixes some bugs, cleans up code.\r\n\r\nMore programmatic approach taken for Report and Param types, allowing for better control/tuning of program logic that would otherwise necessitate unmaintainable runtime checks. This also facilitates the development of Unit Tests for each report/param type.\r\n\r\nCleaned up install sql; dropping data that I made redundant with php code. Report entries in database are therefore much smaller.","created_at":"2015-11-11T18:19:29Z","updated_at":"2015-11-11T18:19:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ndlibersa/reports/pulls/14/commits","review_comments_url":"https://api.github.com/repos/ndlibersa/reports/pulls/14/comments","review_comment_url":"https://api.github.com/repos/ndlibersa/reports/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ndlibersa/reports/issues/14/comments","statuses_url":"https://api.github.com/repos/ndlibersa/reports/statuses/f86fdd6774961539272e0144f56164673c8bf521","head":{"label":"brandon-garcia:reports-overhaul","ref":"reports-overhaul","sha":"f86fdd6774961539272e0144f56164673c8bf521","user":{"login":"brandon-garcia","id":3475827,"avatar_url":"https://avatars.githubusercontent.com/u/3475827?v=3","gravatar_id":"","url":"https://api.github.com/users/brandon-garcia","html_url":"https://github.com/brandon-garcia","followers_url":"https://api.github.com/users/brandon-garcia/followers","following_url":"https://api.github.com/users/brandon-garcia/following{/other_user}","gists_url":"https://api.github.com/users/brandon-garcia/gists{/gist_id}","starred_url":"https://api.github.com/users/brandon-garcia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandon-garcia/subscriptions","organizations_url":"https://api.github.com/users/brandon-garcia/orgs","repos_url":"https://api.github.com/users/brandon-garcia/repos","events_url":"https://api.github.com/users/brandon-garcia/events{/privacy}","received_events_url":"https://api.github.com/users/brandon-garcia/received_events","type":"User","site_admin":false},"repo":{"id":27516622,"name":"reports","full_name":"brandon-garcia/reports","owner":{"login":"brandon-garcia","id":3475827,"avatar_url":"https://avatars.githubusercontent.com/u/3475827?v=3","gravatar_id":"","url":"https://api.github.com/users/brandon-garcia","html_url":"https://github.com/brandon-garcia","followers_url":"https://api.github.com/users/brandon-garcia/followers","following_url":"https://api.github.com/users/brandon-garcia/following{/other_user}","gists_url":"https://api.github.com/users/brandon-garcia/gists{/gist_id}","starred_url":"https://api.github.com/users/brandon-garcia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandon-garcia/subscriptions","organizations_url":"https://api.github.com/users/brandon-garcia/orgs","repos_url":"https://api.github.com/users/brandon-garcia/repos","events_url":"https://api.github.com/users/brandon-garcia/events{/privacy}","received_events_url":"https://api.github.com/users/brandon-garcia/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brandon-garcia/reports","description":"","fork":true,"url":"https://api.github.com/repos/brandon-garcia/reports","forks_url":"https://api.github.com/repos/brandon-garcia/reports/forks","keys_url":"https://api.github.com/repos/brandon-garcia/reports/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brandon-garcia/reports/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brandon-garcia/reports/teams","hooks_url":"https://api.github.com/repos/brandon-garcia/reports/hooks","issue_events_url":"https://api.github.com/repos/brandon-garcia/reports/issues/events{/number}","events_url":"https://api.github.com/repos/brandon-garcia/reports/events","assignees_url":"https://api.github.com/repos/brandon-garcia/reports/assignees{/user}","branches_url":"https://api.github.com/repos/brandon-garcia/reports/branches{/branch}","tags_url":"https://api.github.com/repos/brandon-garcia/reports/tags","blobs_url":"https://api.github.com/repos/brandon-garcia/reports/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brandon-garcia/reports/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brandon-garcia/reports/git/refs{/sha}","trees_url":"https://api.github.com/repos/brandon-garcia/reports/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brandon-garcia/reports/statuses/{sha}","languages_url":"https://api.github.com/repos/brandon-garcia/reports/languages","stargazers_url":"https://api.github.com/repos/brandon-garcia/reports/stargazers","contributors_url":"https://api.github.com/repos/brandon-garcia/reports/contributors","subscribers_url":"https://api.github.com/repos/brandon-garcia/reports/subscribers","subscription_url":"https://api.github.com/repos/brandon-garcia/reports/subscription","commits_url":"https://api.github.com/repos/brandon-garcia/reports/commits{/sha}","git_commits_url":"https://api.github.com/repos/brandon-garcia/reports/git/commits{/sha}","comments_url":"https://api.github.com/repos/brandon-garcia/reports/comments{/number}","issue_comment_url":"https://api.github.com/repos/brandon-garcia/reports/issues/comments{/number}","contents_url":"https://api.github.com/repos/brandon-garcia/reports/contents/{+path}","compare_url":"https://api.github.com/repos/brandon-garcia/reports/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brandon-garcia/reports/merges","archive_url":"https://api.github.com/repos/brandon-garcia/reports/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brandon-garcia/reports/downloads","issues_url":"https://api.github.com/repos/brandon-garcia/reports/issues{/number}","pulls_url":"https://api.github.com/repos/brandon-garcia/reports/pulls{/number}","milestones_url":"https://api.github.com/repos/brandon-garcia/reports/milestones{/number}","notifications_url":"https://api.github.com/repos/brandon-garcia/reports/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brandon-garcia/reports/labels{/name}","releases_url":"https://api.github.com/repos/brandon-garcia/reports/releases{/id}","created_at":"2014-12-04T01:19:43Z","updated_at":"2015-04-16T21:09:10Z","pushed_at":"2015-11-11T18:00:39Z","git_url":"git://github.com/brandon-garcia/reports.git","ssh_url":"git@github.com:brandon-garcia/reports.git","clone_url":"https://github.com/brandon-garcia/reports.git","svn_url":"https://github.com/brandon-garcia/reports","homepage":"","size":585,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"ndlibersa:master","ref":"master","sha":"448a82a625f3a4db20fd9fd4eaeabed9517530c5","user":{"login":"ndlibersa","id":1022837,"avatar_url":"https://avatars.githubusercontent.com/u/1022837?v=3","gravatar_id":"","url":"https://api.github.com/users/ndlibersa","html_url":"https://github.com/ndlibersa","followers_url":"https://api.github.com/users/ndlibersa/followers","following_url":"https://api.github.com/users/ndlibersa/following{/other_user}","gists_url":"https://api.github.com/users/ndlibersa/gists{/gist_id}","starred_url":"https://api.github.com/users/ndlibersa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndlibersa/subscriptions","organizations_url":"https://api.github.com/users/ndlibersa/orgs","repos_url":"https://api.github.com/users/ndlibersa/repos","events_url":"https://api.github.com/users/ndlibersa/events{/privacy}","received_events_url":"https://api.github.com/users/ndlibersa/received_events","type":"Organization","site_admin":false},"repo":{"id":2795028,"name":"reports","full_name":"ndlibersa/reports","owner":{"login":"ndlibersa","id":1022837,"avatar_url":"https://avatars.githubusercontent.com/u/1022837?v=3","gravatar_id":"","url":"https://api.github.com/users/ndlibersa","html_url":"https://github.com/ndlibersa","followers_url":"https://api.github.com/users/ndlibersa/followers","following_url":"https://api.github.com/users/ndlibersa/following{/other_user}","gists_url":"https://api.github.com/users/ndlibersa/gists{/gist_id}","starred_url":"https://api.github.com/users/ndlibersa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndlibersa/subscriptions","organizations_url":"https://api.github.com/users/ndlibersa/orgs","repos_url":"https://api.github.com/users/ndlibersa/repos","events_url":"https://api.github.com/users/ndlibersa/events{/privacy}","received_events_url":"https://api.github.com/users/ndlibersa/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ndlibersa/reports","description":"","fork":false,"url":"https://api.github.com/repos/ndlibersa/reports","forks_url":"https://api.github.com/repos/ndlibersa/reports/forks","keys_url":"https://api.github.com/repos/ndlibersa/reports/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ndlibersa/reports/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ndlibersa/reports/teams","hooks_url":"https://api.github.com/repos/ndlibersa/reports/hooks","issue_events_url":"https://api.github.com/repos/ndlibersa/reports/issues/events{/number}","events_url":"https://api.github.com/repos/ndlibersa/reports/events","assignees_url":"https://api.github.com/repos/ndlibersa/reports/assignees{/user}","branches_url":"https://api.github.com/repos/ndlibersa/reports/branches{/branch}","tags_url":"https://api.github.com/repos/ndlibersa/reports/tags","blobs_url":"https://api.github.com/repos/ndlibersa/reports/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ndlibersa/reports/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ndlibersa/reports/git/refs{/sha}","trees_url":"https://api.github.com/repos/ndlibersa/reports/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ndlibersa/reports/statuses/{sha}","languages_url":"https://api.github.com/repos/ndlibersa/reports/languages","stargazers_url":"https://api.github.com/repos/ndlibersa/reports/stargazers","contributors_url":"https://api.github.com/repos/ndlibersa/reports/contributors","subscribers_url":"https://api.github.com/repos/ndlibersa/reports/subscribers","subscription_url":"https://api.github.com/repos/ndlibersa/reports/subscription","commits_url":"https://api.github.com/repos/ndlibersa/reports/commits{/sha}","git_commits_url":"https://api.github.com/repos/ndlibersa/reports/git/commits{/sha}","comments_url":"https://api.github.com/repos/ndlibersa/reports/comments{/number}","issue_comment_url":"https://api.github.com/repos/ndlibersa/reports/issues/comments{/number}","contents_url":"https://api.github.com/repos/ndlibersa/reports/contents/{+path}","compare_url":"https://api.github.com/repos/ndlibersa/reports/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ndlibersa/reports/merges","archive_url":"https://api.github.com/repos/ndlibersa/reports/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ndlibersa/reports/downloads","issues_url":"https://api.github.com/repos/ndlibersa/reports/issues{/number}","pulls_url":"https://api.github.com/repos/ndlibersa/reports/pulls{/number}","milestones_url":"https://api.github.com/repos/ndlibersa/reports/milestones{/number}","notifications_url":"https://api.github.com/repos/ndlibersa/reports/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ndlibersa/reports/labels{/name}","releases_url":"https://api.github.com/repos/ndlibersa/reports/releases{/id}","created_at":"2011-11-17T11:47:45Z","updated_at":"2015-04-16T21:10:59Z","pushed_at":"2015-06-02T08:22:43Z","git_url":"git://github.com/ndlibersa/reports.git","ssh_url":"git@github.com:ndlibersa/reports.git","clone_url":"https://github.com/ndlibersa/reports.git","svn_url":"https://github.com/ndlibersa/reports","homepage":"","size":665,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":8,"forks":9,"open_issues":8,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ndlibersa/reports/pulls/14"},"html":{"href":"https://github.com/ndlibersa/reports/pull/14"},"issue":{"href":"https://api.github.com/repos/ndlibersa/reports/issues/14"},"comments":{"href":"https://api.github.com/repos/ndlibersa/reports/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/ndlibersa/reports/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/ndlibersa/reports/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ndlibersa/reports/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/ndlibersa/reports/statuses/f86fdd6774961539272e0144f56164673c8bf521"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":38,"additions":4068,"deletions":1833,"changed_files":70}}