{"action":"closed","issue":{"url":"https://api.github.com/repos/CaveNetwork-Inc/website/issues/13","repository_url":"https://api.github.com/repos/CaveNetwork-Inc/website","labels_url":"https://api.github.com/repos/CaveNetwork-Inc/website/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/CaveNetwork-Inc/website/issues/13/comments","events_url":"https://api.github.com/repos/CaveNetwork-Inc/website/issues/13/events","html_url":"https://github.com/CaveNetwork-Inc/website/issues/13","id":320358540,"number":13,"title":"[Insight] The Symfony Dependency Injection Container should not be passed as an argument - in src/Modules/Leaderboard.php, line 20","user":{"login":"Giolegrand","id":6582364,"avatar_url":"https://avatars1.githubusercontent.com/u/6582364?v=4","gravatar_id":"","url":"https://api.github.com/users/Giolegrand","html_url":"https://github.com/Giolegrand","followers_url":"https://api.github.com/users/Giolegrand/followers","following_url":"https://api.github.com/users/Giolegrand/following{/other_user}","gists_url":"https://api.github.com/users/Giolegrand/gists{/gist_id}","starred_url":"https://api.github.com/users/Giolegrand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Giolegrand/subscriptions","organizations_url":"https://api.github.com/users/Giolegrand/orgs","repos_url":"https://api.github.com/users/Giolegrand/repos","events_url":"https://api.github.com/users/Giolegrand/events{/privacy}","received_events_url":"https://api.github.com/users/Giolegrand/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-04T17:31:51Z","updated_at":"2018-05-04T17:37:49Z","closed_at":"2018-05-04T17:37:49Z","author_association":"COLLABORATOR","body":"**[in src/Modules/Leaderboard.php, line 20](https://github.com/CaveNetwork-Inc/website/blob/552788377e5afd1cd4869c740ca56ac1582c703e/src/Modules/Leaderboard.php#L20)**\r\n\r\n> A Symfony dependency injection container has been found as an argument.\r\n\r\n```php\r\n * @Route(service=\"Leaderboard\")\r\n */\r\nclass Leaderboard\r\n{\r\n    private $container;\r\n    public function __construct(Container $container)\r\n    {\r\n        $this->container = $container;\r\n    }\r\n\r\n    public function runModule(){\r\n```\r\n\r\n---------------------\r\n\r\n_Posted from [SensioLabsInsight](https://insight.sensiolabs.com/projects/d74c5c9c-a0d5-46e5-9f23-466427ef6701/analyses/2?status=ignored)_"}}
{"actor":{"display_login":"Giolegrand"}}