{"action":"opened","issue":{"url":"https://api.github.com/repos/drush-ops/drush/issues/2453","repository_url":"https://api.github.com/repos/drush-ops/drush","labels_url":"https://api.github.com/repos/drush-ops/drush/issues/2453/labels{/name}","comments_url":"https://api.github.com/repos/drush-ops/drush/issues/2453/comments","events_url":"https://api.github.com/repos/drush-ops/drush/issues/2453/events","html_url":"https://github.com/drush-ops/drush/issues/2453","id":190586291,"number":2453,"title":"Drush master needs php-xml","user":{"login":"greg-1-anderson","id":612191,"avatar_url":"https://avatars.githubusercontent.com/u/612191?v=3","gravatar_id":"","url":"https://api.github.com/users/greg-1-anderson","html_url":"https://github.com/greg-1-anderson","followers_url":"https://api.github.com/users/greg-1-anderson/followers","following_url":"https://api.github.com/users/greg-1-anderson/following{/other_user}","gists_url":"https://api.github.com/users/greg-1-anderson/gists{/gist_id}","starred_url":"https://api.github.com/users/greg-1-anderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greg-1-anderson/subscriptions","organizations_url":"https://api.github.com/users/greg-1-anderson/orgs","repos_url":"https://api.github.com/users/greg-1-anderson/repos","events_url":"https://api.github.com/users/greg-1-anderson/events{/privacy}","received_events_url":"https://api.github.com/users/greg-1-anderson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-20T21:50:52Z","updated_at":"2016-11-20T21:50:52Z","closed_at":null,"body":"e.g. on Debian:\r\n\r\nsudo apt-get install php7.0-xml\r\n\r\nSeems this is available by default when installing php via brew on a Mac.\r\n\r\nThe outputformatters project falis non-gracefully when this is not available, even when it is not in use. I can fix this in the upstream; however, I was planning on using php-xml DomDocuments to implement Drush help. Supporting xml format in help is important because Symfony does it, and ideally we remain compatible with Symfony Console when we drop in our own help.  If we support xml, then it is most convenient to use a DomDocument for the native representation of the help text, because it is relatively easy to convert from a DOM (attributes and children) to an array (lossy), but fairly difficult to convert a normalized array representation into a DOM. (You'd need a schema to determine what goes in attributes, and what goes in children.)\r\n\r\nHopefully this requirement is okay, as I would prefer to depend on the DomDocument class."}}
{"actor":{"display_login":"greg-1-anderson"}}