{"action":"created","issue":{"url":"https://api.github.com/repos/umpirsky/Symfony-Upgrade-Fixer/issues/18","repository_url":"https://api.github.com/repos/umpirsky/Symfony-Upgrade-Fixer","labels_url":"https://api.github.com/repos/umpirsky/Symfony-Upgrade-Fixer/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/umpirsky/Symfony-Upgrade-Fixer/issues/18/comments","events_url":"https://api.github.com/repos/umpirsky/Symfony-Upgrade-Fixer/issues/18/events","html_url":"https://github.com/umpirsky/Symfony-Upgrade-Fixer/pull/18","id":121299057,"number":18,"title":"Yaml fixer","user":{"login":"ninsuo","id":4152132,"avatar_url":"https://avatars.githubusercontent.com/u/4152132?v=3","gravatar_id":"","url":"https://api.github.com/users/ninsuo","html_url":"https://github.com/ninsuo","followers_url":"https://api.github.com/users/ninsuo/followers","following_url":"https://api.github.com/users/ninsuo/following{/other_user}","gists_url":"https://api.github.com/users/ninsuo/gists{/gist_id}","starred_url":"https://api.github.com/users/ninsuo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ninsuo/subscriptions","organizations_url":"https://api.github.com/users/ninsuo/orgs","repos_url":"https://api.github.com/users/ninsuo/repos","events_url":"https://api.github.com/users/ninsuo/events{/privacy}","received_events_url":"https://api.github.com/users/ninsuo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-12-09T17:34:00Z","updated_at":"2016-03-15T08:17:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/umpirsky/Symfony-Upgrade-Fixer/pulls/18","html_url":"https://github.com/umpirsky/Symfony-Upgrade-Fixer/pull/18","diff_url":"https://github.com/umpirsky/Symfony-Upgrade-Fixer/pull/18.diff","patch_url":"https://github.com/umpirsky/Symfony-Upgrade-Fixer/pull/18.patch"},"body":"I am not really satisfied by the result:\r\n- drops comments\r\n- ~~dump's current formatting is quite not friendly (especially for hashes)~~ (fixed)\r\n\r\nAnyway this is a first draw, I'm open to suggestions :)"},"comment":{"url":"https://api.github.com/repos/umpirsky/Symfony-Upgrade-Fixer/issues/comments/196711974","html_url":"https://github.com/umpirsky/Symfony-Upgrade-Fixer/pull/18#issuecomment-196711974","issue_url":"https://api.github.com/repos/umpirsky/Symfony-Upgrade-Fixer/issues/18","id":196711974,"user":{"login":"xabbuh","id":1957048,"avatar_url":"https://avatars.githubusercontent.com/u/1957048?v=3","gravatar_id":"","url":"https://api.github.com/users/xabbuh","html_url":"https://github.com/xabbuh","followers_url":"https://api.github.com/users/xabbuh/followers","following_url":"https://api.github.com/users/xabbuh/following{/other_user}","gists_url":"https://api.github.com/users/xabbuh/gists{/gist_id}","starred_url":"https://api.github.com/users/xabbuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xabbuh/subscriptions","organizations_url":"https://api.github.com/users/xabbuh/orgs","repos_url":"https://api.github.com/users/xabbuh/repos","events_url":"https://api.github.com/users/xabbuh/events{/privacy}","received_events_url":"https://api.github.com/users/xabbuh/received_events","type":"User","site_admin":false},"created_at":"2016-03-15T08:17:17Z","updated_at":"2016-03-15T08:17:17Z","body":"You could think about forking the Symfony YAML component. What you would need to do then is to modify it such that comments were not stripped (probably you would have to mark them somehow to be able to dump them properly again). The advantage is that the Symfony parser already knows all the deprecated features and it's easy to handle them, most of them will probably be handled implicitly (I suggest to take the one from the upcoming 3.1 release as there are some more deprecations)."}}