{"action":"opened","issue":{"url":"https://api.github.com/repos/Scouts-Sint-Joris/SIJOT-2.x/issues/24","repository_url":"https://api.github.com/repos/Scouts-Sint-Joris/SIJOT-2.x","labels_url":"https://api.github.com/repos/Scouts-Sint-Joris/SIJOT-2.x/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/Scouts-Sint-Joris/SIJOT-2.x/issues/24/comments","events_url":"https://api.github.com/repos/Scouts-Sint-Joris/SIJOT-2.x/issues/24/events","html_url":"https://github.com/Scouts-Sint-Joris/SIJOT-2.x/issues/24","id":184628556,"number":24,"title":"[Insight] Source code should not contain TODO comments","user":{"login":"Tjoosten","id":5157609,"avatar_url":"https://avatars.githubusercontent.com/u/5157609?v=3","gravatar_id":"","url":"https://api.github.com/users/Tjoosten","html_url":"https://github.com/Tjoosten","followers_url":"https://api.github.com/users/Tjoosten/followers","following_url":"https://api.github.com/users/Tjoosten/following{/other_user}","gists_url":"https://api.github.com/users/Tjoosten/gists{/gist_id}","starred_url":"https://api.github.com/users/Tjoosten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tjoosten/subscriptions","organizations_url":"https://api.github.com/users/Tjoosten/orgs","repos_url":"https://api.github.com/users/Tjoosten/repos","events_url":"https://api.github.com/users/Tjoosten/events{/privacy}","received_events_url":"https://api.github.com/users/Tjoosten/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-22T12:49:04Z","updated_at":"2016-10-22T12:49:04Z","closed_at":null,"body":"**[in app/Http/Controllers/UserManagementController.php, line 109](https://github.com/Scouts-Sint-Joris/SIJOT-2.x/blob/c05ee31395ec911f319ce0a721436a0653e80a87/app/Http/Controllers/UserManagementController.php#L109)**\r\n\r\n> TODO comments are left in the code when a feature (or a bug) isn't completely developed (or fixed). You should complete the implementation and remove the comment.\r\n\r\n```php\r\n\r\n        $findNewUser = User::find($newUser->id);\r\n        $setPass     = $findNewUser->update(['password' => $password]);\r\n\r\n        if ($newUser && $setPass) {\r\n            // TODO: Build up the mail.\r\n            Mail::to($findNewUser->email)->send(new NewUser($findNewUser));\r\n\r\n            session()->flash('class', 'alert alert-success');\r\n            session()->flash('message', trans('flash-session.user-store'));\r\n        }\r\n```\r\n\r\n---------------------\r\n\r\n_Posted from [SensioLabsInsight](https://insight.sensiolabs.com/projects/22e7c844-d621-46e2-a627-35aa33008a17/analyses/3)_"}}
{"actor":{"display_login":"Tjoosten"}}