{"action":"closed","number":15,"pull_request":{"url":"https://api.github.com/repos/iCalcreator/iCalcreator/pulls/15","id":36701972,"html_url":"https://github.com/iCalcreator/iCalcreator/pull/15","diff_url":"https://github.com/iCalcreator/iCalcreator/pull/15.diff","patch_url":"https://github.com/iCalcreator/iCalcreator/pull/15.patch","issue_url":"https://api.github.com/repos/iCalcreator/iCalcreator/issues/15","number":15,"state":"closed","locked":false,"title":"fix autoloader when not included in global scope","user":{"login":"real-or-random","id":1071625,"avatar_url":"https://avatars.githubusercontent.com/u/1071625?v=3","gravatar_id":"","url":"https://api.github.com/users/real-or-random","html_url":"https://github.com/real-or-random","followers_url":"https://api.github.com/users/real-or-random/followers","following_url":"https://api.github.com/users/real-or-random/following{/other_user}","gists_url":"https://api.github.com/users/real-or-random/gists{/gist_id}","starred_url":"https://api.github.com/users/real-or-random/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/real-or-random/subscriptions","organizations_url":"https://api.github.com/users/real-or-random/orgs","repos_url":"https://api.github.com/users/real-or-random/repos","events_url":"https://api.github.com/users/real-or-random/events{/privacy}","received_events_url":"https://api.github.com/users/real-or-random/received_events","type":"User","site_admin":false},"body":"When the main file is not included in global scope, $iCalLib is not\r\na global variable and thus not accessible from the autoloader.\r\nUsing a constant seems more approriate anyway.","created_at":"2015-06-02T07:45:06Z","updated_at":"2015-06-04T16:27:45Z","closed_at":"2015-06-04T16:27:45Z","merged_at":"2015-06-04T16:27:45Z","merge_commit_sha":"bdfdfd5b3befb3b23a7fc14127571a072550f0ec","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/iCalcreator/iCalcreator/pulls/15/commits","review_comments_url":"https://api.github.com/repos/iCalcreator/iCalcreator/pulls/15/comments","review_comment_url":"https://api.github.com/repos/iCalcreator/iCalcreator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iCalcreator/iCalcreator/issues/15/comments","statuses_url":"https://api.github.com/repos/iCalcreator/iCalcreator/statuses/8a28cbda029b34574d980a0c8d017ed6df5c3ab0","head":{"label":"real-or-random:master","ref":"master","sha":"8a28cbda029b34574d980a0c8d017ed6df5c3ab0","user":{"login":"real-or-random","id":1071625,"avatar_url":"https://avatars.githubusercontent.com/u/1071625?v=3","gravatar_id":"","url":"https://api.github.com/users/real-or-random","html_url":"https://github.com/real-or-random","followers_url":"https://api.github.com/users/real-or-random/followers","following_url":"https://api.github.com/users/real-or-random/following{/other_user}","gists_url":"https://api.github.com/users/real-or-random/gists{/gist_id}","starred_url":"https://api.github.com/users/real-or-random/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/real-or-random/subscriptions","organizations_url":"https://api.github.com/users/real-or-random/orgs","repos_url":"https://api.github.com/users/real-or-random/repos","events_url":"https://api.github.com/users/real-or-random/events{/privacy}","received_events_url":"https://api.github.com/users/real-or-random/received_events","type":"User","site_admin":false},"repo":{"id":36716153,"name":"iCalcreator","full_name":"real-or-random/iCalcreator","owner":{"login":"real-or-random","id":1071625,"avatar_url":"https://avatars.githubusercontent.com/u/1071625?v=3","gravatar_id":"","url":"https://api.github.com/users/real-or-random","html_url":"https://github.com/real-or-random","followers_url":"https://api.github.com/users/real-or-random/followers","following_url":"https://api.github.com/users/real-or-random/following{/other_user}","gists_url":"https://api.github.com/users/real-or-random/gists{/gist_id}","starred_url":"https://api.github.com/users/real-or-random/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/real-or-random/subscriptions","organizations_url":"https://api.github.com/users/real-or-random/orgs","repos_url":"https://api.github.com/users/real-or-random/repos","events_url":"https://api.github.com/users/real-or-random/events{/privacy}","received_events_url":"https://api.github.com/users/real-or-random/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/real-or-random/iCalcreator","description":"iCalcreator is a PHP class package managing iCal formatted files","fork":true,"url":"https://api.github.com/repos/real-or-random/iCalcreator","forks_url":"https://api.github.com/repos/real-or-random/iCalcreator/forks","keys_url":"https://api.github.com/repos/real-or-random/iCalcreator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/real-or-random/iCalcreator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/real-or-random/iCalcreator/teams","hooks_url":"https://api.github.com/repos/real-or-random/iCalcreator/hooks","issue_events_url":"https://api.github.com/repos/real-or-random/iCalcreator/issues/events{/number}","events_url":"https://api.github.com/repos/real-or-random/iCalcreator/events","assignees_url":"https://api.github.com/repos/real-or-random/iCalcreator/assignees{/user}","branches_url":"https://api.github.com/repos/real-or-random/iCalcreator/branches{/branch}","tags_url":"https://api.github.com/repos/real-or-random/iCalcreator/tags","blobs_url":"https://api.github.com/repos/real-or-random/iCalcreator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/real-or-random/iCalcreator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/real-or-random/iCalcreator/git/refs{/sha}","trees_url":"https://api.github.com/repos/real-or-random/iCalcreator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/real-or-random/iCalcreator/statuses/{sha}","languages_url":"https://api.github.com/repos/real-or-random/iCalcreator/languages","stargazers_url":"https://api.github.com/repos/real-or-random/iCalcreator/stargazers","contributors_url":"https://api.github.com/repos/real-or-random/iCalcreator/contributors","subscribers_url":"https://api.github.com/repos/real-or-random/iCalcreator/subscribers","subscription_url":"https://api.github.com/repos/real-or-random/iCalcreator/subscription","commits_url":"https://api.github.com/repos/real-or-random/iCalcreator/commits{/sha}","git_commits_url":"https://api.github.com/repos/real-or-random/iCalcreator/git/commits{/sha}","comments_url":"https://api.github.com/repos/real-or-random/iCalcreator/comments{/number}","issue_comment_url":"https://api.github.com/repos/real-or-random/iCalcreator/issues/comments{/number}","contents_url":"https://api.github.com/repos/real-or-random/iCalcreator/contents/{+path}","compare_url":"https://api.github.com/repos/real-or-random/iCalcreator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/real-or-random/iCalcreator/merges","archive_url":"https://api.github.com/repos/real-or-random/iCalcreator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/real-or-random/iCalcreator/downloads","issues_url":"https://api.github.com/repos/real-or-random/iCalcreator/issues{/number}","pulls_url":"https://api.github.com/repos/real-or-random/iCalcreator/pulls{/number}","milestones_url":"https://api.github.com/repos/real-or-random/iCalcreator/milestones{/number}","notifications_url":"https://api.github.com/repos/real-or-random/iCalcreator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/real-or-random/iCalcreator/labels{/name}","releases_url":"https://api.github.com/repos/real-or-random/iCalcreator/releases{/id}","created_at":"2015-06-02T07:32:38Z","updated_at":"2015-06-02T07:32:39Z","pushed_at":"2015-06-03T04:00:46Z","git_url":"git://github.com/real-or-random/iCalcreator.git","ssh_url":"git@github.com:real-or-random/iCalcreator.git","clone_url":"https://github.com/real-or-random/iCalcreator.git","svn_url":"https://github.com/real-or-random/iCalcreator","homepage":"kigkonsult.se/iCalcreator/index.php","size":732,"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":"iCalcreator:master","ref":"master","sha":"f676c37612924c08fa6722c63c94c427573be738","user":{"login":"iCalcreator","id":991251,"avatar_url":"https://avatars.githubusercontent.com/u/991251?v=3","gravatar_id":"","url":"https://api.github.com/users/iCalcreator","html_url":"https://github.com/iCalcreator","followers_url":"https://api.github.com/users/iCalcreator/followers","following_url":"https://api.github.com/users/iCalcreator/following{/other_user}","gists_url":"https://api.github.com/users/iCalcreator/gists{/gist_id}","starred_url":"https://api.github.com/users/iCalcreator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iCalcreator/subscriptions","organizations_url":"https://api.github.com/users/iCalcreator/orgs","repos_url":"https://api.github.com/users/iCalcreator/repos","events_url":"https://api.github.com/users/iCalcreator/events{/privacy}","received_events_url":"https://api.github.com/users/iCalcreator/received_events","type":"User","site_admin":false},"repo":{"id":2234615,"name":"iCalcreator","full_name":"iCalcreator/iCalcreator","owner":{"login":"iCalcreator","id":991251,"avatar_url":"https://avatars.githubusercontent.com/u/991251?v=3","gravatar_id":"","url":"https://api.github.com/users/iCalcreator","html_url":"https://github.com/iCalcreator","followers_url":"https://api.github.com/users/iCalcreator/followers","following_url":"https://api.github.com/users/iCalcreator/following{/other_user}","gists_url":"https://api.github.com/users/iCalcreator/gists{/gist_id}","starred_url":"https://api.github.com/users/iCalcreator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iCalcreator/subscriptions","organizations_url":"https://api.github.com/users/iCalcreator/orgs","repos_url":"https://api.github.com/users/iCalcreator/repos","events_url":"https://api.github.com/users/iCalcreator/events{/privacy}","received_events_url":"https://api.github.com/users/iCalcreator/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iCalcreator/iCalcreator","description":"iCalcreator is a PHP class package managing iCal formatted files","fork":false,"url":"https://api.github.com/repos/iCalcreator/iCalcreator","forks_url":"https://api.github.com/repos/iCalcreator/iCalcreator/forks","keys_url":"https://api.github.com/repos/iCalcreator/iCalcreator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iCalcreator/iCalcreator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iCalcreator/iCalcreator/teams","hooks_url":"https://api.github.com/repos/iCalcreator/iCalcreator/hooks","issue_events_url":"https://api.github.com/repos/iCalcreator/iCalcreator/issues/events{/number}","events_url":"https://api.github.com/repos/iCalcreator/iCalcreator/events","assignees_url":"https://api.github.com/repos/iCalcreator/iCalcreator/assignees{/user}","branches_url":"https://api.github.com/repos/iCalcreator/iCalcreator/branches{/branch}","tags_url":"https://api.github.com/repos/iCalcreator/iCalcreator/tags","blobs_url":"https://api.github.com/repos/iCalcreator/iCalcreator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iCalcreator/iCalcreator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iCalcreator/iCalcreator/git/refs{/sha}","trees_url":"https://api.github.com/repos/iCalcreator/iCalcreator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iCalcreator/iCalcreator/statuses/{sha}","languages_url":"https://api.github.com/repos/iCalcreator/iCalcreator/languages","stargazers_url":"https://api.github.com/repos/iCalcreator/iCalcreator/stargazers","contributors_url":"https://api.github.com/repos/iCalcreator/iCalcreator/contributors","subscribers_url":"https://api.github.com/repos/iCalcreator/iCalcreator/subscribers","subscription_url":"https://api.github.com/repos/iCalcreator/iCalcreator/subscription","commits_url":"https://api.github.com/repos/iCalcreator/iCalcreator/commits{/sha}","git_commits_url":"https://api.github.com/repos/iCalcreator/iCalcreator/git/commits{/sha}","comments_url":"https://api.github.com/repos/iCalcreator/iCalcreator/comments{/number}","issue_comment_url":"https://api.github.com/repos/iCalcreator/iCalcreator/issues/comments{/number}","contents_url":"https://api.github.com/repos/iCalcreator/iCalcreator/contents/{+path}","compare_url":"https://api.github.com/repos/iCalcreator/iCalcreator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iCalcreator/iCalcreator/merges","archive_url":"https://api.github.com/repos/iCalcreator/iCalcreator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iCalcreator/iCalcreator/downloads","issues_url":"https://api.github.com/repos/iCalcreator/iCalcreator/issues{/number}","pulls_url":"https://api.github.com/repos/iCalcreator/iCalcreator/pulls{/number}","milestones_url":"https://api.github.com/repos/iCalcreator/iCalcreator/milestones{/number}","notifications_url":"https://api.github.com/repos/iCalcreator/iCalcreator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iCalcreator/iCalcreator/labels{/name}","releases_url":"https://api.github.com/repos/iCalcreator/iCalcreator/releases{/id}","created_at":"2011-08-19T15:11:58Z","updated_at":"2015-05-03T14:57:22Z","pushed_at":"2015-06-04T16:27:45Z","git_url":"git://github.com/iCalcreator/iCalcreator.git","ssh_url":"git@github.com:iCalcreator/iCalcreator.git","clone_url":"https://github.com/iCalcreator/iCalcreator.git","svn_url":"https://github.com/iCalcreator/iCalcreator","homepage":"kigkonsult.se/iCalcreator/index.php","size":1340,"stargazers_count":65,"watchers_count":65,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":29,"mirror_url":null,"open_issues_count":10,"forks":29,"open_issues":10,"watchers":65,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/iCalcreator/iCalcreator/pulls/15"},"html":{"href":"https://github.com/iCalcreator/iCalcreator/pull/15"},"issue":{"href":"https://api.github.com/repos/iCalcreator/iCalcreator/issues/15"},"comments":{"href":"https://api.github.com/repos/iCalcreator/iCalcreator/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/iCalcreator/iCalcreator/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/iCalcreator/iCalcreator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iCalcreator/iCalcreator/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/iCalcreator/iCalcreator/statuses/8a28cbda029b34574d980a0c8d017ed6df5c3ab0"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"iCalcreator","id":991251,"avatar_url":"https://avatars.githubusercontent.com/u/991251?v=3","gravatar_id":"","url":"https://api.github.com/users/iCalcreator","html_url":"https://github.com/iCalcreator","followers_url":"https://api.github.com/users/iCalcreator/followers","following_url":"https://api.github.com/users/iCalcreator/following{/other_user}","gists_url":"https://api.github.com/users/iCalcreator/gists{/gist_id}","starred_url":"https://api.github.com/users/iCalcreator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iCalcreator/subscriptions","organizations_url":"https://api.github.com/users/iCalcreator/orgs","repos_url":"https://api.github.com/users/iCalcreator/repos","events_url":"https://api.github.com/users/iCalcreator/events{/privacy}","received_events_url":"https://api.github.com/users/iCalcreator/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":6,"deletions":12,"changed_files":1}}