{"action":"created","issue":{"url":"https://api.github.com/repos/AtomLinter/linter-phpcs/issues/211","repository_url":"https://api.github.com/repos/AtomLinter/linter-phpcs","labels_url":"https://api.github.com/repos/AtomLinter/linter-phpcs/issues/211/labels{/name}","comments_url":"https://api.github.com/repos/AtomLinter/linter-phpcs/issues/211/comments","events_url":"https://api.github.com/repos/AtomLinter/linter-phpcs/issues/211/events","html_url":"https://github.com/AtomLinter/linter-phpcs/issues/211","id":182987049,"number":211,"title":"€ symbol in a line over 120 characters induce `Error: Invalid point encountered!`","user":{"login":"miniwark","id":301895,"avatar_url":"https://avatars.githubusercontent.com/u/301895?v=3","gravatar_id":"","url":"https://api.github.com/users/miniwark","html_url":"https://github.com/miniwark","followers_url":"https://api.github.com/users/miniwark/followers","following_url":"https://api.github.com/users/miniwark/following{/other_user}","gists_url":"https://api.github.com/users/miniwark/gists{/gist_id}","starred_url":"https://api.github.com/users/miniwark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miniwark/subscriptions","organizations_url":"https://api.github.com/users/miniwark/orgs","repos_url":"https://api.github.com/users/miniwark/repos","events_url":"https://api.github.com/users/miniwark/events{/privacy}","received_events_url":"https://api.github.com/users/miniwark/received_events","type":"User","site_admin":false},"labels":[{"id":92383701,"url":"https://api.github.com/repos/AtomLinter/linter-phpcs/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2016-10-14T08:01:30Z","updated_at":"2016-12-26T21:10:51Z","closed_at":null,"body":"The following PHP code in a file brake linter-phpcs v1.5.2\n\n```\n<?php\n\nif (true) {\n    $var1 = 500;\n    if ($var1 >= 0) {\n        $var2 = 'A short string with the € symbol';\n    } elseif ($var1 < 0) {\n        $var2 = 'A long string with the € symbol inside. This too long string also make the line exceeds 120 characters.';\n    }\n}\n\n```\n\nThe line 8 have a string with the € symbol inside and the line exceed 120 characters.\n\nWhen editing or saving the file, this induce the following error message:\n\n```\nError: Invalid point encountered! See console for details.\n    at Error (native)\n    at /home/username/.atom/packages/linter-phpcs/lib/main.js:338:19\n    at Array.map (native)\n    at Object.<anonymous> (/home/username/.atom/packages/linter-phpcs/lib/main.js:312:25)\n    at undefined.next (native)\n    at step (/home/username/.atom/packages/linter-phpcs/lib/main.js:9:273)\n    at process._tickCallback (internal/process/next_tick.js:103:7)\n```\n\ncf . issue #204 for reference.\n"},"comment":{"url":"https://api.github.com/repos/AtomLinter/linter-phpcs/issues/comments/269242042","html_url":"https://github.com/AtomLinter/linter-phpcs/issues/211#issuecomment-269242042","issue_url":"https://api.github.com/repos/AtomLinter/linter-phpcs/issues/211","id":269242042,"user":{"login":"nelson6e65","id":9272498,"avatar_url":"https://avatars.githubusercontent.com/u/9272498?v=3","gravatar_id":"","url":"https://api.github.com/users/nelson6e65","html_url":"https://github.com/nelson6e65","followers_url":"https://api.github.com/users/nelson6e65/followers","following_url":"https://api.github.com/users/nelson6e65/following{/other_user}","gists_url":"https://api.github.com/users/nelson6e65/gists{/gist_id}","starred_url":"https://api.github.com/users/nelson6e65/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nelson6e65/subscriptions","organizations_url":"https://api.github.com/users/nelson6e65/orgs","repos_url":"https://api.github.com/users/nelson6e65/repos","events_url":"https://api.github.com/users/nelson6e65/events{/privacy}","received_events_url":"https://api.github.com/users/nelson6e65/received_events","type":"User","site_admin":false},"created_at":"2016-12-26T21:10:50Z","updated_at":"2016-12-26T21:10:50Z","body":"Thanks, @mainos1 I'll try."}}
{"actor":{"display_login":"nelson6e65"}}