{"action":"created","issue":{"url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/1467","repository_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards","labels_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/1467/labels{/name}","comments_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/1467/comments","events_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/1467/events","html_url":"https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/1467","id":354355355,"node_id":"MDU6SXNzdWUzNTQzNTUzNTU=","number":1467,"title":"Changing between single quotes and double quotes.","user":{"login":"corsacca","id":24901539,"node_id":"MDQ6VXNlcjI0OTAxNTM5","avatar_url":"https://avatars1.githubusercontent.com/u/24901539?v=4","gravatar_id":"","url":"https://api.github.com/users/corsacca","html_url":"https://github.com/corsacca","followers_url":"https://api.github.com/users/corsacca/followers","following_url":"https://api.github.com/users/corsacca/following{/other_user}","gists_url":"https://api.github.com/users/corsacca/gists{/gist_id}","starred_url":"https://api.github.com/users/corsacca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/corsacca/subscriptions","organizations_url":"https://api.github.com/users/corsacca/orgs","repos_url":"https://api.github.com/users/corsacca/repos","events_url":"https://api.github.com/users/corsacca/events{/privacy}","received_events_url":"https://api.github.com/users/corsacca/received_events","type":"User","site_admin":false},"labels":[{"id":197939651,"node_id":"MDU6TGFiZWwxOTc5Mzk2NTE=","url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/labels/Type:%20Bug","name":"Type: Bug","color":"fc2929","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-27T15:00:38Z","updated_at":"2018-08-27T15:46:10Z","closed_at":null,"author_association":"NONE","body":"PHPCS 3.3.1 WPCS 1.0.0 PHP:7.2\r\n\r\n```\r\nif ( isset( $_POST[ 'currentid' ] ) ){\r\n            $id = (int) $_POST[ \"currentid\" ];\r\n}\r\n```\r\nthrows this error: `Detected usage of a non-validated input variable: $_POST `\r\nWhere this code does not:\r\n```\r\nif ( isset( $_POST[ 'currentid' ] ) ){\r\n            $id = (int) $_POST[ 'currentid' ];\r\n}\r\n```\r\nIs this a bug? Can you not switch between double and single quotes?"},"comment":{"url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/comments/416271427","html_url":"https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/1467#issuecomment-416271427","issue_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/1467","id":416271427,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjI3MTQyNw==","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},"created_at":"2018-08-27T15:46:10Z","updated_at":"2018-08-27T15:46:10Z","author_association":"CONTRIBUTOR","body":"@corsacca Thanks for reporting this You're right, that looks like a bug to me and I can confirm this is happening."}}
{"actor":{"display_login":"jrfnl"}}