{"action":"created","issue":{"url":"https://api.github.com/repos/mayflower/jira-vote/issues/4","labels_url":"https://api.github.com/repos/mayflower/jira-vote/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/mayflower/jira-vote/issues/4/comments","events_url":"https://api.github.com/repos/mayflower/jira-vote/issues/4/events","html_url":"https://github.com/mayflower/jira-vote/issues/4","id":68958368,"number":4,"title":"refactor business logic","user":{"login":"Ma27","id":6025220,"avatar_url":"https://avatars.githubusercontent.com/u/6025220?v=3","gravatar_id":"","url":"https://api.github.com/users/Ma27","html_url":"https://github.com/Ma27","followers_url":"https://api.github.com/users/Ma27/followers","following_url":"https://api.github.com/users/Ma27/following{/other_user}","gists_url":"https://api.github.com/users/Ma27/gists{/gist_id}","starred_url":"https://api.github.com/users/Ma27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ma27/subscriptions","organizations_url":"https://api.github.com/users/Ma27/orgs","repos_url":"https://api.github.com/users/Ma27/repos","events_url":"https://api.github.com/users/Ma27/events{/privacy}","received_events_url":"https://api.github.com/users/Ma27/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-16T16:16:55Z","updated_at":"2015-06-24T13:00:08Z","closed_at":null,"body":"there are some steps to refactor:\r\n- https://github.com/mayflower/jira-vote/blob/master/src/Mayflower/JiraIssueVoteBundle/Controller/IssueController.php#L252-L279 this error handler should be moved to a custom event listener which listenens on kernel.exception\r\n- the whole service namespace should refactored, so there are custom model managers instead of overloaded classes"},"comment":{"url":"https://api.github.com/repos/mayflower/jira-vote/issues/comments/114860715","html_url":"https://github.com/mayflower/jira-vote/issues/4#issuecomment-114860715","issue_url":"https://api.github.com/repos/mayflower/jira-vote/issues/4","id":114860715,"user":{"login":"Ma27","id":6025220,"avatar_url":"https://avatars.githubusercontent.com/u/6025220?v=3","gravatar_id":"","url":"https://api.github.com/users/Ma27","html_url":"https://github.com/Ma27","followers_url":"https://api.github.com/users/Ma27/followers","following_url":"https://api.github.com/users/Ma27/following{/other_user}","gists_url":"https://api.github.com/users/Ma27/gists{/gist_id}","starred_url":"https://api.github.com/users/Ma27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ma27/subscriptions","organizations_url":"https://api.github.com/users/Ma27/orgs","repos_url":"https://api.github.com/users/Ma27/repos","events_url":"https://api.github.com/users/Ma27/events{/privacy}","received_events_url":"https://api.github.com/users/Ma27/received_events","type":"User","site_admin":false},"created_at":"2015-06-24T13:00:08Z","updated_at":"2015-06-24T13:00:08Z","body":"the upper stuff is already refactored.\r\nThe code of the \"services\" is totally broken, I've started some time ago to refactor this, but I had no time to finish this task, but in 2 weeks, I should have time to do that."}}