{"action":"opened","number":14,"pull_request":{"url":"https://api.github.com/repos/Codeception/c3/pulls/14","id":34057334,"html_url":"https://github.com/Codeception/c3/pull/14","diff_url":"https://github.com/Codeception/c3/pull/14.diff","patch_url":"https://github.com/Codeception/c3/pull/14.patch","issue_url":"https://api.github.com/repos/Codeception/c3/issues/14","number":14,"state":"open","locked":false,"title":"Solution for Undefined variable C3_CODECOVERAGE_MEDIATE_STORAGE in __c3_error","user":{"login":"rhertogh","id":1292337,"avatar_url":"https://avatars.githubusercontent.com/u/1292337?v=3","gravatar_id":"","url":"https://api.github.com/users/rhertogh","html_url":"https://github.com/rhertogh","followers_url":"https://api.github.com/users/rhertogh/followers","following_url":"https://api.github.com/users/rhertogh/following{/other_user}","gists_url":"https://api.github.com/users/rhertogh/gists{/gist_id}","starred_url":"https://api.github.com/users/rhertogh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhertogh/subscriptions","organizations_url":"https://api.github.com/users/rhertogh/orgs","repos_url":"https://api.github.com/users/rhertogh/repos","events_url":"https://api.github.com/users/rhertogh/events{/privacy}","received_events_url":"https://api.github.com/users/rhertogh/received_events","type":"User","site_admin":false},"body":"When an error occurs before ```C3_CODECOVERAGE_MEDIATE_STORAGE``` is set it is not logged to any file nor is it returned via the header.\r\n\r\nThis patch provides an additional constant ```C3_CODECOVERAGE_ERROR_LOG_FILE``` which can be set before including the c3.php file:\r\n\r\n```\r\ndefine('C3_CODECOVERAGE_ERROR_LOG_FILE', '/path/to/c3_error.log');\r\nrequire_once('/path/to//c3.php');\r\n```\r\n\r\nRelated issues:\r\nCodeception/Codeception#1495\r\nlordlele/codeception-test#1","created_at":"2015-04-24T15:11:57Z","updated_at":"2015-04-24T15:11:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Codeception/c3/pulls/14/commits","review_comments_url":"https://api.github.com/repos/Codeception/c3/pulls/14/comments","review_comment_url":"https://api.github.com/repos/Codeception/c3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Codeception/c3/issues/14/comments","statuses_url":"https://api.github.com/repos/Codeception/c3/statuses/3f5a0341a4ea2f19f3a3fe533c0c9e3168615b8e","head":{"label":"rhertogh:patch-1","ref":"patch-1","sha":"3f5a0341a4ea2f19f3a3fe533c0c9e3168615b8e","user":{"login":"rhertogh","id":1292337,"avatar_url":"https://avatars.githubusercontent.com/u/1292337?v=3","gravatar_id":"","url":"https://api.github.com/users/rhertogh","html_url":"https://github.com/rhertogh","followers_url":"https://api.github.com/users/rhertogh/followers","following_url":"https://api.github.com/users/rhertogh/following{/other_user}","gists_url":"https://api.github.com/users/rhertogh/gists{/gist_id}","starred_url":"https://api.github.com/users/rhertogh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhertogh/subscriptions","organizations_url":"https://api.github.com/users/rhertogh/orgs","repos_url":"https://api.github.com/users/rhertogh/repos","events_url":"https://api.github.com/users/rhertogh/events{/privacy}","received_events_url":"https://api.github.com/users/rhertogh/received_events","type":"User","site_admin":false},"repo":{"id":34524712,"name":"c3","full_name":"rhertogh/c3","owner":{"login":"rhertogh","id":1292337,"avatar_url":"https://avatars.githubusercontent.com/u/1292337?v=3","gravatar_id":"","url":"https://api.github.com/users/rhertogh","html_url":"https://github.com/rhertogh","followers_url":"https://api.github.com/users/rhertogh/followers","following_url":"https://api.github.com/users/rhertogh/following{/other_user}","gists_url":"https://api.github.com/users/rhertogh/gists{/gist_id}","starred_url":"https://api.github.com/users/rhertogh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhertogh/subscriptions","organizations_url":"https://api.github.com/users/rhertogh/orgs","repos_url":"https://api.github.com/users/rhertogh/repos","events_url":"https://api.github.com/users/rhertogh/events{/privacy}","received_events_url":"https://api.github.com/users/rhertogh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rhertogh/c3","description":"Remote CodeCoverage for Codeception. Part of Codeception testing framework.","fork":true,"url":"https://api.github.com/repos/rhertogh/c3","forks_url":"https://api.github.com/repos/rhertogh/c3/forks","keys_url":"https://api.github.com/repos/rhertogh/c3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rhertogh/c3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rhertogh/c3/teams","hooks_url":"https://api.github.com/repos/rhertogh/c3/hooks","issue_events_url":"https://api.github.com/repos/rhertogh/c3/issues/events{/number}","events_url":"https://api.github.com/repos/rhertogh/c3/events","assignees_url":"https://api.github.com/repos/rhertogh/c3/assignees{/user}","branches_url":"https://api.github.com/repos/rhertogh/c3/branches{/branch}","tags_url":"https://api.github.com/repos/rhertogh/c3/tags","blobs_url":"https://api.github.com/repos/rhertogh/c3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rhertogh/c3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rhertogh/c3/git/refs{/sha}","trees_url":"https://api.github.com/repos/rhertogh/c3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rhertogh/c3/statuses/{sha}","languages_url":"https://api.github.com/repos/rhertogh/c3/languages","stargazers_url":"https://api.github.com/repos/rhertogh/c3/stargazers","contributors_url":"https://api.github.com/repos/rhertogh/c3/contributors","subscribers_url":"https://api.github.com/repos/rhertogh/c3/subscribers","subscription_url":"https://api.github.com/repos/rhertogh/c3/subscription","commits_url":"https://api.github.com/repos/rhertogh/c3/commits{/sha}","git_commits_url":"https://api.github.com/repos/rhertogh/c3/git/commits{/sha}","comments_url":"https://api.github.com/repos/rhertogh/c3/comments{/number}","issue_comment_url":"https://api.github.com/repos/rhertogh/c3/issues/comments{/number}","contents_url":"https://api.github.com/repos/rhertogh/c3/contents/{+path}","compare_url":"https://api.github.com/repos/rhertogh/c3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rhertogh/c3/merges","archive_url":"https://api.github.com/repos/rhertogh/c3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rhertogh/c3/downloads","issues_url":"https://api.github.com/repos/rhertogh/c3/issues{/number}","pulls_url":"https://api.github.com/repos/rhertogh/c3/pulls{/number}","milestones_url":"https://api.github.com/repos/rhertogh/c3/milestones{/number}","notifications_url":"https://api.github.com/repos/rhertogh/c3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rhertogh/c3/labels{/name}","releases_url":"https://api.github.com/repos/rhertogh/c3/releases{/id}","created_at":"2015-04-24T14:55:29Z","updated_at":"2015-04-24T15:08:40Z","pushed_at":"2015-04-24T15:09:07Z","git_url":"git://github.com/rhertogh/c3.git","ssh_url":"git@github.com:rhertogh/c3.git","clone_url":"https://github.com/rhertogh/c3.git","svn_url":"https://github.com/rhertogh/c3","homepage":"http://codeception.com","size":116,"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":"2.0"}},"base":{"label":"Codeception:2.0","ref":"2.0","sha":"1a6913a02af1e2946e0c09ad0aeaea093a20a1b1","user":{"login":"Codeception","id":1288753,"avatar_url":"https://avatars.githubusercontent.com/u/1288753?v=3","gravatar_id":"","url":"https://api.github.com/users/Codeception","html_url":"https://github.com/Codeception","followers_url":"https://api.github.com/users/Codeception/followers","following_url":"https://api.github.com/users/Codeception/following{/other_user}","gists_url":"https://api.github.com/users/Codeception/gists{/gist_id}","starred_url":"https://api.github.com/users/Codeception/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Codeception/subscriptions","organizations_url":"https://api.github.com/users/Codeception/orgs","repos_url":"https://api.github.com/users/Codeception/repos","events_url":"https://api.github.com/users/Codeception/events{/privacy}","received_events_url":"https://api.github.com/users/Codeception/received_events","type":"Organization","site_admin":false},"repo":{"id":7300107,"name":"c3","full_name":"Codeception/c3","owner":{"login":"Codeception","id":1288753,"avatar_url":"https://avatars.githubusercontent.com/u/1288753?v=3","gravatar_id":"","url":"https://api.github.com/users/Codeception","html_url":"https://github.com/Codeception","followers_url":"https://api.github.com/users/Codeception/followers","following_url":"https://api.github.com/users/Codeception/following{/other_user}","gists_url":"https://api.github.com/users/Codeception/gists{/gist_id}","starred_url":"https://api.github.com/users/Codeception/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Codeception/subscriptions","organizations_url":"https://api.github.com/users/Codeception/orgs","repos_url":"https://api.github.com/users/Codeception/repos","events_url":"https://api.github.com/users/Codeception/events{/privacy}","received_events_url":"https://api.github.com/users/Codeception/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Codeception/c3","description":"Remote CodeCoverage for Codeception. Part of Codeception testing framework.","fork":false,"url":"https://api.github.com/repos/Codeception/c3","forks_url":"https://api.github.com/repos/Codeception/c3/forks","keys_url":"https://api.github.com/repos/Codeception/c3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Codeception/c3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Codeception/c3/teams","hooks_url":"https://api.github.com/repos/Codeception/c3/hooks","issue_events_url":"https://api.github.com/repos/Codeception/c3/issues/events{/number}","events_url":"https://api.github.com/repos/Codeception/c3/events","assignees_url":"https://api.github.com/repos/Codeception/c3/assignees{/user}","branches_url":"https://api.github.com/repos/Codeception/c3/branches{/branch}","tags_url":"https://api.github.com/repos/Codeception/c3/tags","blobs_url":"https://api.github.com/repos/Codeception/c3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Codeception/c3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Codeception/c3/git/refs{/sha}","trees_url":"https://api.github.com/repos/Codeception/c3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Codeception/c3/statuses/{sha}","languages_url":"https://api.github.com/repos/Codeception/c3/languages","stargazers_url":"https://api.github.com/repos/Codeception/c3/stargazers","contributors_url":"https://api.github.com/repos/Codeception/c3/contributors","subscribers_url":"https://api.github.com/repos/Codeception/c3/subscribers","subscription_url":"https://api.github.com/repos/Codeception/c3/subscription","commits_url":"https://api.github.com/repos/Codeception/c3/commits{/sha}","git_commits_url":"https://api.github.com/repos/Codeception/c3/git/commits{/sha}","comments_url":"https://api.github.com/repos/Codeception/c3/comments{/number}","issue_comment_url":"https://api.github.com/repos/Codeception/c3/issues/comments{/number}","contents_url":"https://api.github.com/repos/Codeception/c3/contents/{+path}","compare_url":"https://api.github.com/repos/Codeception/c3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Codeception/c3/merges","archive_url":"https://api.github.com/repos/Codeception/c3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Codeception/c3/downloads","issues_url":"https://api.github.com/repos/Codeception/c3/issues{/number}","pulls_url":"https://api.github.com/repos/Codeception/c3/pulls{/number}","milestones_url":"https://api.github.com/repos/Codeception/c3/milestones{/number}","notifications_url":"https://api.github.com/repos/Codeception/c3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Codeception/c3/labels{/name}","releases_url":"https://api.github.com/repos/Codeception/c3/releases{/id}","created_at":"2012-12-23T23:44:20Z","updated_at":"2015-03-30T22:12:15Z","pushed_at":"2015-03-30T22:12:15Z","git_url":"git://github.com/Codeception/c3.git","ssh_url":"git@github.com:Codeception/c3.git","clone_url":"https://github.com/Codeception/c3.git","svn_url":"https://github.com/Codeception/c3","homepage":"http://codeception.com","size":272,"stargazers_count":18,"watchers_count":18,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":2,"forks":14,"open_issues":2,"watchers":18,"default_branch":"2.0"}},"_links":{"self":{"href":"https://api.github.com/repos/Codeception/c3/pulls/14"},"html":{"href":"https://github.com/Codeception/c3/pull/14"},"issue":{"href":"https://api.github.com/repos/Codeception/c3/issues/14"},"comments":{"href":"https://api.github.com/repos/Codeception/c3/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/Codeception/c3/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/Codeception/c3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Codeception/c3/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/Codeception/c3/statuses/3f5a0341a4ea2f19f3a3fe533c0c9e3168615b8e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":10,"deletions":2,"changed_files":2}}