{"action":"created","issue":{"url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/issues/11428","labels_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/issues/11428/labels{/name}","comments_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/issues/11428/comments","events_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/issues/11428/events","html_url":"https://github.com/phpmyadmin/phpmyadmin/pull/11428","id":103115150,"number":11428,"title":"Use namespaces and autoloading.","user":{"login":"Tithugues","id":1165150,"avatar_url":"https://avatars.githubusercontent.com/u/1165150?v=3","gravatar_id":"","url":"https://api.github.com/users/Tithugues","html_url":"https://github.com/Tithugues","followers_url":"https://api.github.com/users/Tithugues/followers","following_url":"https://api.github.com/users/Tithugues/following{/other_user}","gists_url":"https://api.github.com/users/Tithugues/gists{/gist_id}","starred_url":"https://api.github.com/users/Tithugues/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tithugues/subscriptions","organizations_url":"https://api.github.com/users/Tithugues/orgs","repos_url":"https://api.github.com/users/Tithugues/repos","events_url":"https://api.github.com/users/Tithugues/events{/privacy}","received_events_url":"https://api.github.com/users/Tithugues/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":44,"created_at":"2015-08-25T20:54:39Z","updated_at":"2015-09-26T19:50:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/pulls/11428","html_url":"https://github.com/phpmyadmin/phpmyadmin/pull/11428","diff_url":"https://github.com/phpmyadmin/phpmyadmin/pull/11428.diff","patch_url":"https://github.com/phpmyadmin/phpmyadmin/pull/11428.patch"},"body":"Use namespaces to start PSR-2 validation.\r\nThis is just the beginning to see which modifications are needed to use namespaces. If you have any feedback to these first modifications, I listen to you.\r\n\r\n(Sorry, there are also some coding style modifications.)\r\n\r\nTasks to do:\r\n- [x] Use namespace in all PMA classes \r\n- [x] Add \"use\" everywhere it's needed\r\n- [x] Rename all PMA classes by removing \"PMA_\" prefix\r\n- [x] Add autoloader\r\n- [x] Rename all classes file by removing \".class\"\r\n- [x] Remove unneeded require for classes files"},"comment":{"url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/issues/comments/143487482","html_url":"https://github.com/phpmyadmin/phpmyadmin/pull/11428#issuecomment-143487482","issue_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/issues/11428","id":143487482,"user":{"login":"phpmyadmin-bot","id":6939032,"avatar_url":"https://avatars.githubusercontent.com/u/6939032?v=3","gravatar_id":"","url":"https://api.github.com/users/phpmyadmin-bot","html_url":"https://github.com/phpmyadmin-bot","followers_url":"https://api.github.com/users/phpmyadmin-bot/followers","following_url":"https://api.github.com/users/phpmyadmin-bot/following{/other_user}","gists_url":"https://api.github.com/users/phpmyadmin-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/phpmyadmin-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpmyadmin-bot/subscriptions","organizations_url":"https://api.github.com/users/phpmyadmin-bot/orgs","repos_url":"https://api.github.com/users/phpmyadmin-bot/repos","events_url":"https://api.github.com/users/phpmyadmin-bot/events{/privacy}","received_events_url":"https://api.github.com/users/phpmyadmin-bot/received_events","type":"User","site_admin":false},"created_at":"2015-09-26T19:50:29Z","updated_at":"2015-09-26T19:50:29Z","body":"<!-- PMABOT:COMMITS -->\nThis pull requests contains too many commits, in most cases it is caused by wrong merge target. In case you have forked `master` branch you should also ask merging to `master` branch. See [GitHub documentation](https://help.github.com/articles/creating-a-pull-request/) for more details."}}