{"action":"closed","issue":{"url":"https://api.github.com/repos/BugBuster1701/visitors/issues/138","labels_url":"https://api.github.com/repos/BugBuster1701/visitors/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/BugBuster1701/visitors/issues/138/comments","events_url":"https://api.github.com/repos/BugBuster1701/visitors/issues/138/events","html_url":"https://github.com/BugBuster1701/visitors/issues/138","id":59697031,"number":138,"title":"[Insight] Text files should end with a newline character - in classes/DCA_visitors_category.php, line 43","user":{"login":"BugBuster1701","id":1218809,"avatar_url":"https://avatars.githubusercontent.com/u/1218809?v=3","gravatar_id":"","url":"https://api.github.com/users/BugBuster1701","html_url":"https://github.com/BugBuster1701","followers_url":"https://api.github.com/users/BugBuster1701/followers","following_url":"https://api.github.com/users/BugBuster1701/following{/other_user}","gists_url":"https://api.github.com/users/BugBuster1701/gists{/gist_id}","starred_url":"https://api.github.com/users/BugBuster1701/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BugBuster1701/subscriptions","organizations_url":"https://api.github.com/users/BugBuster1701/orgs","repos_url":"https://api.github.com/users/BugBuster1701/repos","events_url":"https://api.github.com/users/BugBuster1701/events{/privacy}","received_events_url":"https://api.github.com/users/BugBuster1701/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/BugBuster1701/visitors/labels/C3","name":"C3","color":"FF8000"},{"url":"https://api.github.com/repos/BugBuster1701/visitors/labels/Insight","name":"Insight","color":"eb6420"},{"url":"https://api.github.com/repos/BugBuster1701/visitors/labels/Test%20is%20running","name":"Test is running","color":"e102d8"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/BugBuster1701/visitors/milestones/12","html_url":"https://github.com/BugBuster1701/visitors/milestones/3.5.1%20-%20Insight","labels_url":"https://api.github.com/repos/BugBuster1701/visitors/milestones/12/labels","id":1103681,"number":12,"title":"3.5.1 - Insight","description":"","creator":{"login":"BugBuster1701","id":1218809,"avatar_url":"https://avatars.githubusercontent.com/u/1218809?v=3","gravatar_id":"","url":"https://api.github.com/users/BugBuster1701","html_url":"https://github.com/BugBuster1701","followers_url":"https://api.github.com/users/BugBuster1701/followers","following_url":"https://api.github.com/users/BugBuster1701/following{/other_user}","gists_url":"https://api.github.com/users/BugBuster1701/gists{/gist_id}","starred_url":"https://api.github.com/users/BugBuster1701/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BugBuster1701/subscriptions","organizations_url":"https://api.github.com/users/BugBuster1701/orgs","repos_url":"https://api.github.com/users/BugBuster1701/repos","events_url":"https://api.github.com/users/BugBuster1701/events{/privacy}","received_events_url":"https://api.github.com/users/BugBuster1701/received_events","type":"User","site_admin":false},"open_issues":28,"closed_issues":48,"state":"open","created_at":"2015-05-10T15:14:23Z","updated_at":"2015-05-16T19:50:20Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-03-03T20:02:57Z","updated_at":"2015-05-16T19:50:20Z","closed_at":"2015-05-16T19:50:20Z","body":"**[in classes/DCA_visitors_category.php, line 43](https://github.com/BugBuster1701/visitors/blob/7fa0826de1ec117a4f86f07e2582408add6b4202/classes/DCA_visitors_category.php#L43)**\r\n\r\n> This file ends with no newline character. It won't render properly on a terminal, and it's considered a bad practice. Add a simple line feed as the last character to fix it.\r\n\r\n```php\r\n\t\t} else {\r\n\t\t\t$version_warning = '<br /><span style=\"color:#ff0000;\">[ERROR: Visitors-Module requires at least Contao 3.0]</span>';\r\n\t\t}\r\n\t\treturn $label_1 . $label_2 . $version_warning;//. '<br /><span style=\"color:#b3b3b3;\">['.$label_2.']</span>';\r\n\t}  \r\n}\r\n```\r\n\r\n---------------------\r\n\r\n_Posted from [SensioLabsInsight](https://insight.sensiolabs.com/projects/b3b64050-211e-42de-99bc-7443c948656c/analyses/1)_"}}