{"action":"opened","number":2722,"pull_request":{"url":"https://api.github.com/repos/pods-framework/pods/pulls/2722","id":29155624,"html_url":"https://github.com/pods-framework/pods/pull/2722","diff_url":"https://github.com/pods-framework/pods/pull/2722.diff","patch_url":"https://github.com/pods-framework/pods/pull/2722.patch","issue_url":"https://api.github.com/repos/pods-framework/pods/issues/2722","number":2722,"state":"open","locked":false,"title":"Make sure autoloader doesn't load the same class more than once","user":{"login":"jamesgol","id":6788517,"avatar_url":"https://avatars.githubusercontent.com/u/6788517?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesgol","html_url":"https://github.com/jamesgol","followers_url":"https://api.github.com/users/jamesgol/followers","following_url":"https://api.github.com/users/jamesgol/following{/other_user}","gists_url":"https://api.github.com/users/jamesgol/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesgol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesgol/subscriptions","organizations_url":"https://api.github.com/users/jamesgol/orgs","repos_url":"https://api.github.com/users/jamesgol/repos","events_url":"https://api.github.com/users/jamesgol/events{/privacy}","received_events_url":"https://api.github.com/users/jamesgol/received_events","type":"User","site_admin":false},"body":"Two distinct but related issues here.  First the code would try to alias classes more than once which caused php to complain that the class already existed.  Second the autoloader would try to 'require' files more than once which caused php to complain.\r\n\r\nFixes #2721","created_at":"2015-02-12T06:22:56Z","updated_at":"2015-02-12T06:22:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pods-framework/pods/pulls/2722/commits","review_comments_url":"https://api.github.com/repos/pods-framework/pods/pulls/2722/comments","review_comment_url":"https://api.github.com/repos/pods-framework/pods/pulls/comments/{number}","comments_url":"https://api.github.com/repos/pods-framework/pods/issues/2722/comments","statuses_url":"https://api.github.com/repos/pods-framework/pods/statuses/745ca77170f50f006240d70d800c39ec1d70fab3","head":{"label":"pods-framework:feature/2721-3xAutoLoader","ref":"feature/2721-3xAutoLoader","sha":"745ca77170f50f006240d70d800c39ec1d70fab3","user":{"login":"pods-framework","id":1049430,"avatar_url":"https://avatars.githubusercontent.com/u/1049430?v=3","gravatar_id":"","url":"https://api.github.com/users/pods-framework","html_url":"https://github.com/pods-framework","followers_url":"https://api.github.com/users/pods-framework/followers","following_url":"https://api.github.com/users/pods-framework/following{/other_user}","gists_url":"https://api.github.com/users/pods-framework/gists{/gist_id}","starred_url":"https://api.github.com/users/pods-framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pods-framework/subscriptions","organizations_url":"https://api.github.com/users/pods-framework/orgs","repos_url":"https://api.github.com/users/pods-framework/repos","events_url":"https://api.github.com/users/pods-framework/events{/privacy}","received_events_url":"https://api.github.com/users/pods-framework/received_events","type":"Organization","site_admin":false},"repo":{"id":1570020,"name":"pods","full_name":"pods-framework/pods","owner":{"login":"pods-framework","id":1049430,"avatar_url":"https://avatars.githubusercontent.com/u/1049430?v=3","gravatar_id":"","url":"https://api.github.com/users/pods-framework","html_url":"https://github.com/pods-framework","followers_url":"https://api.github.com/users/pods-framework/followers","following_url":"https://api.github.com/users/pods-framework/following{/other_user}","gists_url":"https://api.github.com/users/pods-framework/gists{/gist_id}","starred_url":"https://api.github.com/users/pods-framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pods-framework/subscriptions","organizations_url":"https://api.github.com/users/pods-framework/orgs","repos_url":"https://api.github.com/users/pods-framework/repos","events_url":"https://api.github.com/users/pods-framework/events{/privacy}","received_events_url":"https://api.github.com/users/pods-framework/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pods-framework/pods","description":"The Pods Framework is a Content Development Framework for WordPress - It lets you create and extend content types that can be used for any project. Add fields of various types we've built in, or add your own with custom inputs, you have total control.","fork":false,"url":"https://api.github.com/repos/pods-framework/pods","forks_url":"https://api.github.com/repos/pods-framework/pods/forks","keys_url":"https://api.github.com/repos/pods-framework/pods/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pods-framework/pods/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pods-framework/pods/teams","hooks_url":"https://api.github.com/repos/pods-framework/pods/hooks","issue_events_url":"https://api.github.com/repos/pods-framework/pods/issues/events{/number}","events_url":"https://api.github.com/repos/pods-framework/pods/events","assignees_url":"https://api.github.com/repos/pods-framework/pods/assignees{/user}","branches_url":"https://api.github.com/repos/pods-framework/pods/branches{/branch}","tags_url":"https://api.github.com/repos/pods-framework/pods/tags","blobs_url":"https://api.github.com/repos/pods-framework/pods/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pods-framework/pods/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pods-framework/pods/git/refs{/sha}","trees_url":"https://api.github.com/repos/pods-framework/pods/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pods-framework/pods/statuses/{sha}","languages_url":"https://api.github.com/repos/pods-framework/pods/languages","stargazers_url":"https://api.github.com/repos/pods-framework/pods/stargazers","contributors_url":"https://api.github.com/repos/pods-framework/pods/contributors","subscribers_url":"https://api.github.com/repos/pods-framework/pods/subscribers","subscription_url":"https://api.github.com/repos/pods-framework/pods/subscription","commits_url":"https://api.github.com/repos/pods-framework/pods/commits{/sha}","git_commits_url":"https://api.github.com/repos/pods-framework/pods/git/commits{/sha}","comments_url":"https://api.github.com/repos/pods-framework/pods/comments{/number}","issue_comment_url":"https://api.github.com/repos/pods-framework/pods/issues/comments/{number}","contents_url":"https://api.github.com/repos/pods-framework/pods/contents/{+path}","compare_url":"https://api.github.com/repos/pods-framework/pods/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pods-framework/pods/merges","archive_url":"https://api.github.com/repos/pods-framework/pods/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pods-framework/pods/downloads","issues_url":"https://api.github.com/repos/pods-framework/pods/issues{/number}","pulls_url":"https://api.github.com/repos/pods-framework/pods/pulls{/number}","milestones_url":"https://api.github.com/repos/pods-framework/pods/milestones{/number}","notifications_url":"https://api.github.com/repos/pods-framework/pods/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pods-framework/pods/labels{/name}","releases_url":"https://api.github.com/repos/pods-framework/pods/releases{/id}","created_at":"2011-04-05T00:45:14Z","updated_at":"2015-02-12T03:47:55Z","pushed_at":"2015-02-12T06:22:21Z","git_url":"git://github.com/pods-framework/pods.git","ssh_url":"git@github.com:pods-framework/pods.git","clone_url":"https://github.com/pods-framework/pods.git","svn_url":"https://github.com/pods-framework/pods","homepage":"http://pods.io/","size":29731,"stargazers_count":424,"watchers_count":424,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":147,"mirror_url":null,"open_issues_count":698,"forks":147,"open_issues":698,"watchers":424,"default_branch":"master"}},"base":{"label":"pods-framework:release/3.0","ref":"release/3.0","sha":"219fef4f71beed71a3623294e13556da0cd4dc94","user":{"login":"pods-framework","id":1049430,"avatar_url":"https://avatars.githubusercontent.com/u/1049430?v=3","gravatar_id":"","url":"https://api.github.com/users/pods-framework","html_url":"https://github.com/pods-framework","followers_url":"https://api.github.com/users/pods-framework/followers","following_url":"https://api.github.com/users/pods-framework/following{/other_user}","gists_url":"https://api.github.com/users/pods-framework/gists{/gist_id}","starred_url":"https://api.github.com/users/pods-framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pods-framework/subscriptions","organizations_url":"https://api.github.com/users/pods-framework/orgs","repos_url":"https://api.github.com/users/pods-framework/repos","events_url":"https://api.github.com/users/pods-framework/events{/privacy}","received_events_url":"https://api.github.com/users/pods-framework/received_events","type":"Organization","site_admin":false},"repo":{"id":1570020,"name":"pods","full_name":"pods-framework/pods","owner":{"login":"pods-framework","id":1049430,"avatar_url":"https://avatars.githubusercontent.com/u/1049430?v=3","gravatar_id":"","url":"https://api.github.com/users/pods-framework","html_url":"https://github.com/pods-framework","followers_url":"https://api.github.com/users/pods-framework/followers","following_url":"https://api.github.com/users/pods-framework/following{/other_user}","gists_url":"https://api.github.com/users/pods-framework/gists{/gist_id}","starred_url":"https://api.github.com/users/pods-framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pods-framework/subscriptions","organizations_url":"https://api.github.com/users/pods-framework/orgs","repos_url":"https://api.github.com/users/pods-framework/repos","events_url":"https://api.github.com/users/pods-framework/events{/privacy}","received_events_url":"https://api.github.com/users/pods-framework/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pods-framework/pods","description":"The Pods Framework is a Content Development Framework for WordPress - It lets you create and extend content types that can be used for any project. Add fields of various types we've built in, or add your own with custom inputs, you have total control.","fork":false,"url":"https://api.github.com/repos/pods-framework/pods","forks_url":"https://api.github.com/repos/pods-framework/pods/forks","keys_url":"https://api.github.com/repos/pods-framework/pods/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pods-framework/pods/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pods-framework/pods/teams","hooks_url":"https://api.github.com/repos/pods-framework/pods/hooks","issue_events_url":"https://api.github.com/repos/pods-framework/pods/issues/events{/number}","events_url":"https://api.github.com/repos/pods-framework/pods/events","assignees_url":"https://api.github.com/repos/pods-framework/pods/assignees{/user}","branches_url":"https://api.github.com/repos/pods-framework/pods/branches{/branch}","tags_url":"https://api.github.com/repos/pods-framework/pods/tags","blobs_url":"https://api.github.com/repos/pods-framework/pods/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pods-framework/pods/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pods-framework/pods/git/refs{/sha}","trees_url":"https://api.github.com/repos/pods-framework/pods/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pods-framework/pods/statuses/{sha}","languages_url":"https://api.github.com/repos/pods-framework/pods/languages","stargazers_url":"https://api.github.com/repos/pods-framework/pods/stargazers","contributors_url":"https://api.github.com/repos/pods-framework/pods/contributors","subscribers_url":"https://api.github.com/repos/pods-framework/pods/subscribers","subscription_url":"https://api.github.com/repos/pods-framework/pods/subscription","commits_url":"https://api.github.com/repos/pods-framework/pods/commits{/sha}","git_commits_url":"https://api.github.com/repos/pods-framework/pods/git/commits{/sha}","comments_url":"https://api.github.com/repos/pods-framework/pods/comments{/number}","issue_comment_url":"https://api.github.com/repos/pods-framework/pods/issues/comments/{number}","contents_url":"https://api.github.com/repos/pods-framework/pods/contents/{+path}","compare_url":"https://api.github.com/repos/pods-framework/pods/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pods-framework/pods/merges","archive_url":"https://api.github.com/repos/pods-framework/pods/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pods-framework/pods/downloads","issues_url":"https://api.github.com/repos/pods-framework/pods/issues{/number}","pulls_url":"https://api.github.com/repos/pods-framework/pods/pulls{/number}","milestones_url":"https://api.github.com/repos/pods-framework/pods/milestones{/number}","notifications_url":"https://api.github.com/repos/pods-framework/pods/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pods-framework/pods/labels{/name}","releases_url":"https://api.github.com/repos/pods-framework/pods/releases{/id}","created_at":"2011-04-05T00:45:14Z","updated_at":"2015-02-12T03:47:55Z","pushed_at":"2015-02-12T06:22:21Z","git_url":"git://github.com/pods-framework/pods.git","ssh_url":"git@github.com:pods-framework/pods.git","clone_url":"https://github.com/pods-framework/pods.git","svn_url":"https://github.com/pods-framework/pods","homepage":"http://pods.io/","size":29731,"stargazers_count":424,"watchers_count":424,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":147,"mirror_url":null,"open_issues_count":698,"forks":147,"open_issues":698,"watchers":424,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pods-framework/pods/pulls/2722"},"html":{"href":"https://github.com/pods-framework/pods/pull/2722"},"issue":{"href":"https://api.github.com/repos/pods-framework/pods/issues/2722"},"comments":{"href":"https://api.github.com/repos/pods-framework/pods/issues/2722/comments"},"review_comments":{"href":"https://api.github.com/repos/pods-framework/pods/pulls/2722/comments"},"review_comment":{"href":"https://api.github.com/repos/pods-framework/pods/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/pods-framework/pods/pulls/2722/commits"},"statuses":{"href":"https://api.github.com/repos/pods-framework/pods/statuses/745ca77170f50f006240d70d800c39ec1d70fab3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":11,"deletions":11,"changed_files":1}}