{"action":"opened","number":2263,"pull_request":{"url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/pulls/2263","id":234071900,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0MDcxOTAw","html_url":"https://github.com/squizlabs/PHP_CodeSniffer/pull/2263","diff_url":"https://github.com/squizlabs/PHP_CodeSniffer/pull/2263.diff","patch_url":"https://github.com/squizlabs/PHP_CodeSniffer/pull/2263.patch","issue_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/2263","number":2263,"state":"open","locked":false,"title":"Generic/LineEndings: add fixed files + minor bug fix","user":{"login":"jrfnl","id":663378,"node_id":"MDQ6VXNlcjY2MzM3OA==","avatar_url":"https://avatars1.githubusercontent.com/u/663378?v=4","gravatar_id":"","url":"https://api.github.com/users/jrfnl","html_url":"https://github.com/jrfnl","followers_url":"https://api.github.com/users/jrfnl/followers","following_url":"https://api.github.com/users/jrfnl/following{/other_user}","gists_url":"https://api.github.com/users/jrfnl/gists{/gist_id}","starred_url":"https://api.github.com/users/jrfnl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrfnl/subscriptions","organizations_url":"https://api.github.com/users/jrfnl/orgs","repos_url":"https://api.github.com/users/jrfnl/repos","events_url":"https://api.github.com/users/jrfnl/events{/privacy}","received_events_url":"https://api.github.com/users/jrfnl/received_events","type":"User","site_admin":false},"body":"The sniff contain a fixer, but didn't have a `fixed` file for the CSS and JS test case files.\r\n\r\nWhile creating the `fixed` files, I noticed that the `T_CLOSE_TAG`, which for CSS and JS files is empty, would also be replaced with a new line, resulting in an extra, superfluous new line at the end of a file.\r\nThis has now been fixed.","created_at":"2018-11-27T21:48:45Z","updated_at":"2018-11-27T21:48:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/pulls/2263/commits","review_comments_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/pulls/2263/comments","review_comment_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/2263/comments","statuses_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/statuses/c89a09374e1f0507f58cdc4591a3c6ef6f1f4d32","head":{"label":"jrfnl:feature/generic-lineendings-add-fixed-file","ref":"feature/generic-lineendings-add-fixed-file","sha":"c89a09374e1f0507f58cdc4591a3c6ef6f1f4d32","user":{"login":"jrfnl","id":663378,"node_id":"MDQ6VXNlcjY2MzM3OA==","avatar_url":"https://avatars1.githubusercontent.com/u/663378?v=4","gravatar_id":"","url":"https://api.github.com/users/jrfnl","html_url":"https://github.com/jrfnl","followers_url":"https://api.github.com/users/jrfnl/followers","following_url":"https://api.github.com/users/jrfnl/following{/other_user}","gists_url":"https://api.github.com/users/jrfnl/gists{/gist_id}","starred_url":"https://api.github.com/users/jrfnl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrfnl/subscriptions","organizations_url":"https://api.github.com/users/jrfnl/orgs","repos_url":"https://api.github.com/users/jrfnl/repos","events_url":"https://api.github.com/users/jrfnl/events{/privacy}","received_events_url":"https://api.github.com/users/jrfnl/received_events","type":"User","site_admin":false},"repo":{"id":32518231,"node_id":"MDEwOlJlcG9zaXRvcnkzMjUxODIzMQ==","name":"PHP_CodeSniffer","full_name":"jrfnl/PHP_CodeSniffer","private":false,"owner":{"login":"jrfnl","id":663378,"node_id":"MDQ6VXNlcjY2MzM3OA==","avatar_url":"https://avatars1.githubusercontent.com/u/663378?v=4","gravatar_id":"","url":"https://api.github.com/users/jrfnl","html_url":"https://github.com/jrfnl","followers_url":"https://api.github.com/users/jrfnl/followers","following_url":"https://api.github.com/users/jrfnl/following{/other_user}","gists_url":"https://api.github.com/users/jrfnl/gists{/gist_id}","starred_url":"https://api.github.com/users/jrfnl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrfnl/subscriptions","organizations_url":"https://api.github.com/users/jrfnl/orgs","repos_url":"https://api.github.com/users/jrfnl/repos","events_url":"https://api.github.com/users/jrfnl/events{/privacy}","received_events_url":"https://api.github.com/users/jrfnl/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jrfnl/PHP_CodeSniffer","description":"PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.","fork":true,"url":"https://api.github.com/repos/jrfnl/PHP_CodeSniffer","forks_url":"https://api.github.com/repos/jrfnl/PHP_CodeSniffer/forks","keys_url":"https://api.github.com/repos/jrfnl/PHP_CodeSniffer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jrfnl/PHP_CodeSniffer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jrfnl/PHP_CodeSniffer/teams","hooks_url":"https://api.github.com/repos/jrfnl/PHP_CodeSniffer/hooks","issue_events_url":"https://api.github.com/repos/jrfnl/PHP_CodeSniffer/issues/events{/number}","events_url":"https://api.github.com/repos/jrfnl/PHP_CodeSniffer/events","assignees_url":"https://api.github.com/repos/jrfnl/PHP_CodeSniffer/assignees{/user}","branches_url":"https://api.github.com/repos/jrfnl/PHP_CodeSniffer/branches{/branch}","tags_url":"https://api.github.com/repos/jrfnl/PHP_CodeSniffer/tags","blobs_url":"https://api.github.com/repos/jrfnl/PHP_CodeSniffer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jrfnl/PHP_CodeSniffer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jrfnl/PHP_CodeSniffer/git/refs{/sha}","trees_url":"https://api.github.com/repos/jrfnl/PHP_CodeSniffer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jrfnl/PHP_CodeSniffer/statuses/{sha}","languages_url":"https://api.github.com/repos/jrfnl/PHP_CodeSniffer/languages","stargazers_url":"https://api.github.com/repos/jrfnl/PHP_CodeSniffer/stargazers","contributors_url":"https://api.github.com/repos/jrfnl/PHP_CodeSniffer/contributors","subscribers_url":"https://api.github.com/repos/jrfnl/PHP_CodeSniffer/subscribers","subscription_url":"https://api.github.com/repos/jrfnl/PHP_CodeSniffer/subscription","commits_url":"https://api.github.com/repos/jrfnl/PHP_CodeSniffer/commits{/sha}","git_commits_url":"https://api.github.com/repos/jrfnl/PHP_CodeSniffer/git/commits{/sha}","comments_url":"https://api.github.com/repos/jrfnl/PHP_CodeSniffer/comments{/number}","issue_comment_url":"https://api.github.com/repos/jrfnl/PHP_CodeSniffer/issues/comments{/number}","contents_url":"https://api.github.com/repos/jrfnl/PHP_CodeSniffer/contents/{+path}","compare_url":"https://api.github.com/repos/jrfnl/PHP_CodeSniffer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jrfnl/PHP_CodeSniffer/merges","archive_url":"https://api.github.com/repos/jrfnl/PHP_CodeSniffer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jrfnl/PHP_CodeSniffer/downloads","issues_url":"https://api.github.com/repos/jrfnl/PHP_CodeSniffer/issues{/number}","pulls_url":"https://api.github.com/repos/jrfnl/PHP_CodeSniffer/pulls{/number}","milestones_url":"https://api.github.com/repos/jrfnl/PHP_CodeSniffer/milestones{/number}","notifications_url":"https://api.github.com/repos/jrfnl/PHP_CodeSniffer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jrfnl/PHP_CodeSniffer/labels{/name}","releases_url":"https://api.github.com/repos/jrfnl/PHP_CodeSniffer/releases{/id}","deployments_url":"https://api.github.com/repos/jrfnl/PHP_CodeSniffer/deployments","created_at":"2015-03-19T11:47:45Z","updated_at":"2018-04-17T09:04:17Z","pushed_at":"2018-11-27T21:26:57Z","git_url":"git://github.com/jrfnl/PHP_CodeSniffer.git","ssh_url":"git@github.com:jrfnl/PHP_CodeSniffer.git","clone_url":"https://github.com/jrfnl/PHP_CodeSniffer.git","svn_url":"https://github.com/jrfnl/PHP_CodeSniffer","homepage":"http://pear.php.net/package/PHP_CodeSniffer","size":97511,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"squizlabs:master","ref":"master","sha":"b53f64e10e41aa754ffa7c11999af1881e6c1780","user":{"login":"squizlabs","id":997547,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk5NzU0Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/997547?v=4","gravatar_id":"","url":"https://api.github.com/users/squizlabs","html_url":"https://github.com/squizlabs","followers_url":"https://api.github.com/users/squizlabs/followers","following_url":"https://api.github.com/users/squizlabs/following{/other_user}","gists_url":"https://api.github.com/users/squizlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/squizlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/squizlabs/subscriptions","organizations_url":"https://api.github.com/users/squizlabs/orgs","repos_url":"https://api.github.com/users/squizlabs/repos","events_url":"https://api.github.com/users/squizlabs/events{/privacy}","received_events_url":"https://api.github.com/users/squizlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":2699935,"node_id":"MDEwOlJlcG9zaXRvcnkyNjk5OTM1","name":"PHP_CodeSniffer","full_name":"squizlabs/PHP_CodeSniffer","private":false,"owner":{"login":"squizlabs","id":997547,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk5NzU0Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/997547?v=4","gravatar_id":"","url":"https://api.github.com/users/squizlabs","html_url":"https://github.com/squizlabs","followers_url":"https://api.github.com/users/squizlabs/followers","following_url":"https://api.github.com/users/squizlabs/following{/other_user}","gists_url":"https://api.github.com/users/squizlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/squizlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/squizlabs/subscriptions","organizations_url":"https://api.github.com/users/squizlabs/orgs","repos_url":"https://api.github.com/users/squizlabs/repos","events_url":"https://api.github.com/users/squizlabs/events{/privacy}","received_events_url":"https://api.github.com/users/squizlabs/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/squizlabs/PHP_CodeSniffer","description":"PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.","fork":false,"url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer","forks_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/forks","keys_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/teams","hooks_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/hooks","issue_events_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/events{/number}","events_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/events","assignees_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/assignees{/user}","branches_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/branches{/branch}","tags_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/tags","blobs_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/git/refs{/sha}","trees_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/statuses/{sha}","languages_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/languages","stargazers_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/stargazers","contributors_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/contributors","subscribers_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/subscribers","subscription_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/subscription","commits_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/commits{/sha}","git_commits_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/git/commits{/sha}","comments_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/comments{/number}","issue_comment_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/comments{/number}","contents_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/contents/{+path}","compare_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/merges","archive_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/downloads","issues_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues{/number}","pulls_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/pulls{/number}","milestones_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/milestones{/number}","notifications_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/labels{/name}","releases_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/releases{/id}","deployments_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/deployments","created_at":"2011-11-03T04:06:24Z","updated_at":"2018-11-27T19:19:50Z","pushed_at":"2018-11-27T21:48:19Z","git_url":"git://github.com/squizlabs/PHP_CodeSniffer.git","ssh_url":"git@github.com:squizlabs/PHP_CodeSniffer.git","clone_url":"https://github.com/squizlabs/PHP_CodeSniffer.git","svn_url":"https://github.com/squizlabs/PHP_CodeSniffer","homepage":"http://pear.php.net/package/PHP_CodeSniffer","size":193904,"stargazers_count":5695,"watchers_count":5695,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":985,"mirror_url":null,"archived":false,"open_issues_count":169,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":985,"open_issues":169,"watchers":5695,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/pulls/2263"},"html":{"href":"https://github.com/squizlabs/PHP_CodeSniffer/pull/2263"},"issue":{"href":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/2263"},"comments":{"href":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/2263/comments"},"review_comments":{"href":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/pulls/2263/comments"},"review_comment":{"href":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/pulls/2263/commits"},"statuses":{"href":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/statuses/c89a09374e1f0507f58cdc4591a3c6ef6f1f4d32"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":13,"deletions":1,"changed_files":4}}
{"actor":{"display_login":"jrfnl"}}