{"action":"opened","issue":{"url":"https://api.github.com/repos/swp-unikat/Einschreibesystem/issues/106","repository_url":"https://api.github.com/repos/swp-unikat/Einschreibesystem","labels_url":"https://api.github.com/repos/swp-unikat/Einschreibesystem/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/swp-unikat/Einschreibesystem/issues/106/comments","events_url":"https://api.github.com/repos/swp-unikat/Einschreibesystem/issues/106/events","html_url":"https://github.com/swp-unikat/Einschreibesystem/issues/106","id":153866167,"number":106,"title":"[Insight] Commented code should not be committed - in web/app.php, line 23","user":{"login":"ljbergmann","id":1332168,"avatar_url":"https://avatars.githubusercontent.com/u/1332168?v=3","gravatar_id":"","url":"https://api.github.com/users/ljbergmann","html_url":"https://github.com/ljbergmann","followers_url":"https://api.github.com/users/ljbergmann/followers","following_url":"https://api.github.com/users/ljbergmann/following{/other_user}","gists_url":"https://api.github.com/users/ljbergmann/gists{/gist_id}","starred_url":"https://api.github.com/users/ljbergmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljbergmann/subscriptions","organizations_url":"https://api.github.com/users/ljbergmann/orgs","repos_url":"https://api.github.com/users/ljbergmann/repos","events_url":"https://api.github.com/users/ljbergmann/events{/privacy}","received_events_url":"https://api.github.com/users/ljbergmann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-09T20:47:57Z","updated_at":"2016-05-09T20:47:57Z","closed_at":null,"body":"**[in web/app.php, line 23](https://github.com/swp-unikat/Einschreibesystem/blob/470a9c90a2c6b8bed04c3e9600efc812b6feebce/web/app.php#L23)**\r\n\r\n> Commented out code reduces readability and lowers the code confidence for other developers. If it's common usage for debug, it should not be committed. Using a version control system, such code can be safely removed.\r\n\r\n```php\r\n$apcLoader->register(true);\r\n*/\r\n\r\n$kernel = new AppKernel('dev', false);\r\n$kernel->loadClassCache();\r\n//$kernel = new AppCache($kernel);\r\n\r\n// When using the HttpCache, you need to call the method in your front controller instead of relying on the configuration parameter\r\n//Request::enableHttpMethodParameterOverride();\r\n$request = Request::createFromGlobals();\r\n$response = $kernel->handle($request);\r\n```\r\n\r\n---------------------\r\n\r\n_Posted from [SensioLabsInsight](https://insight.sensiolabs.com/projects/b9439b9f-dc06-440f-825a-808979b759f0/analyses/42)_"}}