{"action":"opened","issue":{"url":"https://api.github.com/repos/template-hop/web-platform/issues/130","labels_url":"https://api.github.com/repos/template-hop/web-platform/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/template-hop/web-platform/issues/130/comments","events_url":"https://api.github.com/repos/template-hop/web-platform/issues/130/events","html_url":"https://github.com/template-hop/web-platform/issues/130","id":121613059,"number":130,"title":"[Insight] PHP code should follow PSR-1 basic coding standard - in app/Http/Controllers/UserManagement.php, line 53","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":[{"url":"https://api.github.com/repos/template-hop/web-platform/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/template-hop/web-platform/milestones/2","html_url":"https://github.com/template-hop/web-platform/milestones/1.0.0","labels_url":"https://api.github.com/repos/template-hop/web-platform/milestones/2/labels","id":1413072,"number":2,"title":"1.0.0","description":"","creator":{"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},"open_issues":35,"closed_issues":47,"state":"open","created_at":"2015-11-16T08:01:06Z","updated_at":"2015-12-11T01:07:07Z","due_on":"2015-12-09T23:00:00Z","closed_at":null},"comments":0,"created_at":"2015-12-11T01:07:07Z","updated_at":"2015-12-11T01:07:07Z","closed_at":null,"body":"**[in app/Http/Controllers/UserManagement.php, line 53](https://github.com/template-hop/web-platform/blob/7c4d05a7d5c8e38f609d64945c48ab60b2437caf/app/Http/Controllers/UserManagement.php#L53)**\r\n\r\n> Method names should be declared in `camelCase`. You should rename this method to comply with PSR-1.\r\n\r\n```php\r\n     *\r\n     * @return \\Illuminate\\View\\View\r\n     *\r\n     * @Get(\"backend/acl/profile/{id} \", as=\"acl.index\")\r\n     */\r\n    public function UserProfile($id)\r\n    {\r\n        $data['title'] = 'Gebruikers profiel';\r\n        $data['active'] = 0;\r\n        $data['permission'] = Permission::where('user_id', $id)->get();\r\n\r\n```\r\n\r\n---------------------\r\n\r\n_Posted from [SensioLabsInsight](https://insight.sensiolabs.com/projects/d854ecbc-2b5c-427b-a259-040e3b139988/analyses/1)_"}}