{"action":"closed","number":11589,"pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/11589","id":81223381,"html_url":"https://github.com/joomla/joomla-cms/pull/11589","diff_url":"https://github.com/joomla/joomla-cms/pull/11589.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/11589.patch","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/11589","number":11589,"state":"closed","locked":false,"title":"Add deprecation logging for class aliases","user":{"login":"mbabker","id":368545,"avatar_url":"https://avatars.githubusercontent.com/u/368545?v=3","gravatar_id":"","url":"https://api.github.com/users/mbabker","html_url":"https://github.com/mbabker","followers_url":"https://api.github.com/users/mbabker/followers","following_url":"https://api.github.com/users/mbabker/following{/other_user}","gists_url":"https://api.github.com/users/mbabker/gists{/gist_id}","starred_url":"https://api.github.com/users/mbabker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbabker/subscriptions","organizations_url":"https://api.github.com/users/mbabker/orgs","repos_url":"https://api.github.com/users/mbabker/repos","events_url":"https://api.github.com/users/mbabker/events{/privacy}","received_events_url":"https://api.github.com/users/mbabker/received_events","type":"User","site_admin":false},"body":"#### Summary of Changes\r\n\r\nThere is presently no mechanism in the system to alert developers to the fact that classes have been aliased other than reviewing GitHub pull requests.  This adds a mechanism that allows aliases to be flagged as deprecated and logged as such.  This also deprecates all existing aliases to be removed at 4.0.\r\n\r\n#### Testing Instructions\r\n\r\nTurn on the \"Log Deprecated API\" option in the debug mode and navigate the CMS.  You should get a `deprecated.php` log file and the first messages from each request should be the deprecation messages for all of the class aliases.\r\n\r\n#### Documentation Changes Required\r\nN/A","created_at":"2016-08-13T18:56:01Z","updated_at":"2016-08-13T19:02:27Z","closed_at":"2016-08-13T19:02:27Z","merged_at":"2016-08-13T19:02:27Z","merge_commit_sha":"cf26a2ed2412e0b0626863acd78c224d343a26bd","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/joomla/joomla-cms/pulls/11589/commits","review_comments_url":"https://api.github.com/repos/joomla/joomla-cms/pulls/11589/comments","review_comment_url":"https://api.github.com/repos/joomla/joomla-cms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/11589/comments","statuses_url":"https://api.github.com/repos/joomla/joomla-cms/statuses/71051e228b7b24db5a9a878b8659af9161b2981a","head":{"label":"mbabker:aliased-class-deprecation-logging","ref":"aliased-class-deprecation-logging","sha":"71051e228b7b24db5a9a878b8659af9161b2981a","user":{"login":"mbabker","id":368545,"avatar_url":"https://avatars.githubusercontent.com/u/368545?v=3","gravatar_id":"","url":"https://api.github.com/users/mbabker","html_url":"https://github.com/mbabker","followers_url":"https://api.github.com/users/mbabker/followers","following_url":"https://api.github.com/users/mbabker/following{/other_user}","gists_url":"https://api.github.com/users/mbabker/gists{/gist_id}","starred_url":"https://api.github.com/users/mbabker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbabker/subscriptions","organizations_url":"https://api.github.com/users/mbabker/orgs","repos_url":"https://api.github.com/users/mbabker/repos","events_url":"https://api.github.com/users/mbabker/events{/privacy}","received_events_url":"https://api.github.com/users/mbabker/received_events","type":"User","site_admin":false},"repo":{"id":2511842,"name":"joomla-cms","full_name":"mbabker/joomla-cms","owner":{"login":"mbabker","id":368545,"avatar_url":"https://avatars.githubusercontent.com/u/368545?v=3","gravatar_id":"","url":"https://api.github.com/users/mbabker","html_url":"https://github.com/mbabker","followers_url":"https://api.github.com/users/mbabker/followers","following_url":"https://api.github.com/users/mbabker/following{/other_user}","gists_url":"https://api.github.com/users/mbabker/gists{/gist_id}","starred_url":"https://api.github.com/users/mbabker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbabker/subscriptions","organizations_url":"https://api.github.com/users/mbabker/orgs","repos_url":"https://api.github.com/users/mbabker/repos","events_url":"https://api.github.com/users/mbabker/events{/privacy}","received_events_url":"https://api.github.com/users/mbabker/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mbabker/joomla-cms","description":"Home of the Joomla! Content Management System","fork":true,"url":"https://api.github.com/repos/mbabker/joomla-cms","forks_url":"https://api.github.com/repos/mbabker/joomla-cms/forks","keys_url":"https://api.github.com/repos/mbabker/joomla-cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mbabker/joomla-cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mbabker/joomla-cms/teams","hooks_url":"https://api.github.com/repos/mbabker/joomla-cms/hooks","issue_events_url":"https://api.github.com/repos/mbabker/joomla-cms/issues/events{/number}","events_url":"https://api.github.com/repos/mbabker/joomla-cms/events","assignees_url":"https://api.github.com/repos/mbabker/joomla-cms/assignees{/user}","branches_url":"https://api.github.com/repos/mbabker/joomla-cms/branches{/branch}","tags_url":"https://api.github.com/repos/mbabker/joomla-cms/tags","blobs_url":"https://api.github.com/repos/mbabker/joomla-cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mbabker/joomla-cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mbabker/joomla-cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/mbabker/joomla-cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mbabker/joomla-cms/statuses/{sha}","languages_url":"https://api.github.com/repos/mbabker/joomla-cms/languages","stargazers_url":"https://api.github.com/repos/mbabker/joomla-cms/stargazers","contributors_url":"https://api.github.com/repos/mbabker/joomla-cms/contributors","subscribers_url":"https://api.github.com/repos/mbabker/joomla-cms/subscribers","subscription_url":"https://api.github.com/repos/mbabker/joomla-cms/subscription","commits_url":"https://api.github.com/repos/mbabker/joomla-cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/mbabker/joomla-cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/mbabker/joomla-cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/mbabker/joomla-cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/mbabker/joomla-cms/contents/{+path}","compare_url":"https://api.github.com/repos/mbabker/joomla-cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mbabker/joomla-cms/merges","archive_url":"https://api.github.com/repos/mbabker/joomla-cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mbabker/joomla-cms/downloads","issues_url":"https://api.github.com/repos/mbabker/joomla-cms/issues{/number}","pulls_url":"https://api.github.com/repos/mbabker/joomla-cms/pulls{/number}","milestones_url":"https://api.github.com/repos/mbabker/joomla-cms/milestones{/number}","notifications_url":"https://api.github.com/repos/mbabker/joomla-cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mbabker/joomla-cms/labels{/name}","releases_url":"https://api.github.com/repos/mbabker/joomla-cms/releases{/id}","deployments_url":"https://api.github.com/repos/mbabker/joomla-cms/deployments","created_at":"2011-10-04T13:12:36Z","updated_at":"2016-05-26T10:10:36Z","pushed_at":"2016-08-13T19:02:09Z","git_url":"git://github.com/mbabker/joomla-cms.git","ssh_url":"git@github.com:mbabker/joomla-cms.git","clone_url":"https://github.com/mbabker/joomla-cms.git","svn_url":"https://github.com/mbabker/joomla-cms","homepage":"http://joomla.org","size":154024,"stargazers_count":10,"watchers_count":10,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":0,"forks":5,"open_issues":0,"watchers":10,"default_branch":"master"}},"base":{"label":"joomla:staging","ref":"staging","sha":"ea1760cc8341b7b89e1f65867b8b6644c3502f09","user":{"login":"joomla","id":751633,"avatar_url":"https://avatars.githubusercontent.com/u/751633?v=3","gravatar_id":"","url":"https://api.github.com/users/joomla","html_url":"https://github.com/joomla","followers_url":"https://api.github.com/users/joomla/followers","following_url":"https://api.github.com/users/joomla/following{/other_user}","gists_url":"https://api.github.com/users/joomla/gists{/gist_id}","starred_url":"https://api.github.com/users/joomla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joomla/subscriptions","organizations_url":"https://api.github.com/users/joomla/orgs","repos_url":"https://api.github.com/users/joomla/repos","events_url":"https://api.github.com/users/joomla/events{/privacy}","received_events_url":"https://api.github.com/users/joomla/received_events","type":"Organization","site_admin":false},"repo":{"id":2464908,"name":"joomla-cms","full_name":"joomla/joomla-cms","owner":{"login":"joomla","id":751633,"avatar_url":"https://avatars.githubusercontent.com/u/751633?v=3","gravatar_id":"","url":"https://api.github.com/users/joomla","html_url":"https://github.com/joomla","followers_url":"https://api.github.com/users/joomla/followers","following_url":"https://api.github.com/users/joomla/following{/other_user}","gists_url":"https://api.github.com/users/joomla/gists{/gist_id}","starred_url":"https://api.github.com/users/joomla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joomla/subscriptions","organizations_url":"https://api.github.com/users/joomla/orgs","repos_url":"https://api.github.com/users/joomla/repos","events_url":"https://api.github.com/users/joomla/events{/privacy}","received_events_url":"https://api.github.com/users/joomla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/joomla/joomla-cms","description":"Home of the Joomla! Content Management System","fork":false,"url":"https://api.github.com/repos/joomla/joomla-cms","forks_url":"https://api.github.com/repos/joomla/joomla-cms/forks","keys_url":"https://api.github.com/repos/joomla/joomla-cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joomla/joomla-cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joomla/joomla-cms/teams","hooks_url":"https://api.github.com/repos/joomla/joomla-cms/hooks","issue_events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/events{/number}","events_url":"https://api.github.com/repos/joomla/joomla-cms/events","assignees_url":"https://api.github.com/repos/joomla/joomla-cms/assignees{/user}","branches_url":"https://api.github.com/repos/joomla/joomla-cms/branches{/branch}","tags_url":"https://api.github.com/repos/joomla/joomla-cms/tags","blobs_url":"https://api.github.com/repos/joomla/joomla-cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joomla/joomla-cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joomla/joomla-cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/joomla/joomla-cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joomla/joomla-cms/statuses/{sha}","languages_url":"https://api.github.com/repos/joomla/joomla-cms/languages","stargazers_url":"https://api.github.com/repos/joomla/joomla-cms/stargazers","contributors_url":"https://api.github.com/repos/joomla/joomla-cms/contributors","subscribers_url":"https://api.github.com/repos/joomla/joomla-cms/subscribers","subscription_url":"https://api.github.com/repos/joomla/joomla-cms/subscription","commits_url":"https://api.github.com/repos/joomla/joomla-cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/joomla/joomla-cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/joomla/joomla-cms/contents/{+path}","compare_url":"https://api.github.com/repos/joomla/joomla-cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joomla/joomla-cms/merges","archive_url":"https://api.github.com/repos/joomla/joomla-cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joomla/joomla-cms/downloads","issues_url":"https://api.github.com/repos/joomla/joomla-cms/issues{/number}","pulls_url":"https://api.github.com/repos/joomla/joomla-cms/pulls{/number}","milestones_url":"https://api.github.com/repos/joomla/joomla-cms/milestones{/number}","notifications_url":"https://api.github.com/repos/joomla/joomla-cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joomla/joomla-cms/labels{/name}","releases_url":"https://api.github.com/repos/joomla/joomla-cms/releases{/id}","deployments_url":"https://api.github.com/repos/joomla/joomla-cms/deployments","created_at":"2011-09-27T02:07:38Z","updated_at":"2016-08-13T17:19:42Z","pushed_at":"2016-08-13T19:02:27Z","git_url":"git://github.com/joomla/joomla-cms.git","ssh_url":"git@github.com:joomla/joomla-cms.git","clone_url":"https://github.com/joomla/joomla-cms.git","svn_url":"https://github.com/joomla/joomla-cms","homepage":"https://www.joomla.org","size":288887,"stargazers_count":2110,"watchers_count":2110,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2264,"mirror_url":null,"open_issues_count":481,"forks":2264,"open_issues":481,"watchers":2110,"default_branch":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/joomla/joomla-cms/pulls/11589"},"html":{"href":"https://github.com/joomla/joomla-cms/pull/11589"},"issue":{"href":"https://api.github.com/repos/joomla/joomla-cms/issues/11589"},"comments":{"href":"https://api.github.com/repos/joomla/joomla-cms/issues/11589/comments"},"review_comments":{"href":"https://api.github.com/repos/joomla/joomla-cms/pulls/11589/comments"},"review_comment":{"href":"https://api.github.com/repos/joomla/joomla-cms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/joomla/joomla-cms/pulls/11589/commits"},"statuses":{"href":"https://api.github.com/repos/joomla/joomla-cms/statuses/71051e228b7b24db5a9a878b8659af9161b2981a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"wilsonge","id":1986000,"avatar_url":"https://avatars.githubusercontent.com/u/1986000?v=3","gravatar_id":"","url":"https://api.github.com/users/wilsonge","html_url":"https://github.com/wilsonge","followers_url":"https://api.github.com/users/wilsonge/followers","following_url":"https://api.github.com/users/wilsonge/following{/other_user}","gists_url":"https://api.github.com/users/wilsonge/gists{/gist_id}","starred_url":"https://api.github.com/users/wilsonge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilsonge/subscriptions","organizations_url":"https://api.github.com/users/wilsonge/orgs","repos_url":"https://api.github.com/users/wilsonge/repos","events_url":"https://api.github.com/users/wilsonge/events{/privacy}","received_events_url":"https://api.github.com/users/wilsonge/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":54,"deletions":12,"changed_files":3}}
{"actor":{"display_login":"wilsonge"}}