{"action":"created","issue":{"url":"https://api.github.com/repos/sebastianbergmann/php-token-stream/issues/78","repository_url":"https://api.github.com/repos/sebastianbergmann/php-token-stream","labels_url":"https://api.github.com/repos/sebastianbergmann/php-token-stream/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/sebastianbergmann/php-token-stream/issues/78/comments","events_url":"https://api.github.com/repos/sebastianbergmann/php-token-stream/issues/78/events","html_url":"https://github.com/sebastianbergmann/php-token-stream/pull/78","id":375276312,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2NzYwMDQ4","number":78,"title":"getEndTokenId does not handle string-dollar \"${var}\" interpolation","user":{"login":"StephenClouse","id":468025,"node_id":"MDQ6VXNlcjQ2ODAyNQ==","avatar_url":"https://avatars1.githubusercontent.com/u/468025?v=4","gravatar_id":"","url":"https://api.github.com/users/StephenClouse","html_url":"https://github.com/StephenClouse","followers_url":"https://api.github.com/users/StephenClouse/followers","following_url":"https://api.github.com/users/StephenClouse/following{/other_user}","gists_url":"https://api.github.com/users/StephenClouse/gists{/gist_id}","starred_url":"https://api.github.com/users/StephenClouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StephenClouse/subscriptions","organizations_url":"https://api.github.com/users/StephenClouse/orgs","repos_url":"https://api.github.com/users/StephenClouse/repos","events_url":"https://api.github.com/users/StephenClouse/events{/privacy}","received_events_url":"https://api.github.com/users/StephenClouse/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-30T01:00:09Z","updated_at":"2018-10-30T05:43:46Z","closed_at":"2018-10-30T05:43:40Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/sebastianbergmann/php-token-stream/pulls/78","html_url":"https://github.com/sebastianbergmann/php-token-stream/pull/78","diff_url":"https://github.com/sebastianbergmann/php-token-stream/pull/78.diff","patch_url":"https://github.com/sebastianbergmann/php-token-stream/pull/78.patch"},"body":"There is a bug in the PHP_TokenWithScope::getEndTokenId function that manifests as coverage issues in PHPUnit.\r\n\r\nThe opening token of the string-dollar style variable interpolation \"${var}\" (PHP_Token_DOLLAR_OPEN_CURLY_BRACES) is not recognized by the function when determining block depth. This causes an off-by-one error and results in the next-to-last close brace being seen as the end line of the function. This cascades into php-code-coverage/PHPUnit as the end of the function being treated as ignored/non-executable."},"comment":{"url":"https://api.github.com/repos/sebastianbergmann/php-token-stream/issues/comments/434179112","html_url":"https://github.com/sebastianbergmann/php-token-stream/pull/78#issuecomment-434179112","issue_url":"https://api.github.com/repos/sebastianbergmann/php-token-stream/issues/78","id":434179112,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDE3OTExMg==","user":{"login":"sebastianbergmann","id":25218,"node_id":"MDQ6VXNlcjI1MjE4","avatar_url":"https://avatars1.githubusercontent.com/u/25218?v=4","gravatar_id":"","url":"https://api.github.com/users/sebastianbergmann","html_url":"https://github.com/sebastianbergmann","followers_url":"https://api.github.com/users/sebastianbergmann/followers","following_url":"https://api.github.com/users/sebastianbergmann/following{/other_user}","gists_url":"https://api.github.com/users/sebastianbergmann/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastianbergmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastianbergmann/subscriptions","organizations_url":"https://api.github.com/users/sebastianbergmann/orgs","repos_url":"https://api.github.com/users/sebastianbergmann/repos","events_url":"https://api.github.com/users/sebastianbergmann/events{/privacy}","received_events_url":"https://api.github.com/users/sebastianbergmann/received_events","type":"User","site_admin":false},"created_at":"2018-10-30T05:43:46Z","updated_at":"2018-10-30T05:43:46Z","author_association":"OWNER","body":"Thanks!"}}
{"actor":{"display_login":"sebastianbergmann"}}