{"action":"opened","issue":{"url":"https://api.github.com/repos/Exadra37/cashondelivery/issues/4","labels_url":"https://api.github.com/repos/Exadra37/cashondelivery/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Exadra37/cashondelivery/issues/4/comments","events_url":"https://api.github.com/repos/Exadra37/cashondelivery/issues/4/events","html_url":"https://github.com/Exadra37/cashondelivery/issues/4","id":67670976,"number":4,"title":"Access objects and vars without using 'global $something'","user":{"login":"Exadra37","id":1745456,"avatar_url":"https://avatars.githubusercontent.com/u/1745456?v=3","gravatar_id":"","url":"https://api.github.com/users/Exadra37","html_url":"https://github.com/Exadra37","followers_url":"https://api.github.com/users/Exadra37/followers","following_url":"https://api.github.com/users/Exadra37/following{/other_user}","gists_url":"https://api.github.com/users/Exadra37/gists{/gist_id}","starred_url":"https://api.github.com/users/Exadra37/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Exadra37/subscriptions","organizations_url":"https://api.github.com/users/Exadra37/orgs","repos_url":"https://api.github.com/users/Exadra37/repos","events_url":"https://api.github.com/users/Exadra37/events{/privacy}","received_events_url":"https://api.github.com/users/Exadra37/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-10T20:02:39Z","updated_at":"2015-04-10T20:02:39Z","closed_at":null,"body":"Use of global is deprecated and considered a bad pratice in PHP.\r\n\r\nTherefore we need to switch the use o `global $someVar` with `'$this->context->someVar` in all methods.\r\n\r\n\r\n"}}