{"action":"created","issue":{"url":"https://api.github.com/repos/contao/imagine-svg/issues/4","repository_url":"https://api.github.com/repos/contao/imagine-svg","labels_url":"https://api.github.com/repos/contao/imagine-svg/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/contao/imagine-svg/issues/4/comments","events_url":"https://api.github.com/repos/contao/imagine-svg/issues/4/events","html_url":"https://github.com/contao/imagine-svg/pull/4","id":191263150,"number":4,"title":"Fix an 'assignment in condition' issue.","user":{"login":"leofeyer","id":1192057,"avatar_url":"https://avatars.githubusercontent.com/u/1192057?v=3","gravatar_id":"","url":"https://api.github.com/users/leofeyer","html_url":"https://github.com/leofeyer","followers_url":"https://api.github.com/users/leofeyer/followers","following_url":"https://api.github.com/users/leofeyer/following{/other_user}","gists_url":"https://api.github.com/users/leofeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/leofeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leofeyer/subscriptions","organizations_url":"https://api.github.com/users/leofeyer/orgs","repos_url":"https://api.github.com/users/leofeyer/repos","events_url":"https://api.github.com/users/leofeyer/events{/privacy}","received_events_url":"https://api.github.com/users/leofeyer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-23T12:53:54Z","updated_at":"2016-11-23T21:09:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/contao/imagine-svg/pulls/4","html_url":"https://github.com/contao/imagine-svg/pull/4","diff_url":"https://github.com/contao/imagine-svg/pull/4.diff","patch_url":"https://github.com/contao/imagine-svg/pull/4.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/contao/imagine-svg/issues/comments/262630437","html_url":"https://github.com/contao/imagine-svg/pull/4#issuecomment-262630437","issue_url":"https://api.github.com/repos/contao/imagine-svg/issues/4","id":262630437,"user":{"login":"ausi","id":367169,"avatar_url":"https://avatars.githubusercontent.com/u/367169?v=3","gravatar_id":"","url":"https://api.github.com/users/ausi","html_url":"https://github.com/ausi","followers_url":"https://api.github.com/users/ausi/followers","following_url":"https://api.github.com/users/ausi/following{/other_user}","gists_url":"https://api.github.com/users/ausi/gists{/gist_id}","starred_url":"https://api.github.com/users/ausi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ausi/subscriptions","organizations_url":"https://api.github.com/users/ausi/orgs","repos_url":"https://api.github.com/users/ausi/repos","events_url":"https://api.github.com/users/ausi/events{/privacy}","received_events_url":"https://api.github.com/users/ausi/received_events","type":"User","site_admin":false},"created_at":"2016-11-23T21:09:05Z","updated_at":"2016-11-23T21:09:05Z","body":"`if ($... = ` appears 165 times in Symfony. But `if (false !== ($... = ` only appears three times and only when `array_search` is used so the difference between `0` and `false` has to be checked.\r\n\r\nI think it is Symfony coding standard to write it as `if ($error = libxml_get_last_error())`, as e.g. in [Serializer/Encoder/XmlEncoder.php:92](https://github.com/symfony/symfony/blob/a4edafbd7d82ccea983f04ade3dc220e72f340e2/src/Symfony/Component/Serializer/Encoder/XmlEncoder.php#L92)."}}
{"actor":{"display_login":"ausi"}}