{"action":"created","issue":{"url":"https://api.github.com/repos/wmde/WikibaseDataModel/issues/559","labels_url":"https://api.github.com/repos/wmde/WikibaseDataModel/issues/559/labels{/name}","comments_url":"https://api.github.com/repos/wmde/WikibaseDataModel/issues/559/comments","events_url":"https://api.github.com/repos/wmde/WikibaseDataModel/issues/559/events","html_url":"https://github.com/wmde/WikibaseDataModel/pull/559","id":108859236,"number":559,"title":"Add ReferenceList::isEmpty","user":{"login":"thiemowmde","id":6576639,"avatar_url":"https://avatars.githubusercontent.com/u/6576639?v=3","gravatar_id":"","url":"https://api.github.com/users/thiemowmde","html_url":"https://github.com/thiemowmde","followers_url":"https://api.github.com/users/thiemowmde/followers","following_url":"https://api.github.com/users/thiemowmde/following{/other_user}","gists_url":"https://api.github.com/users/thiemowmde/gists{/gist_id}","starred_url":"https://api.github.com/users/thiemowmde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thiemowmde/subscriptions","organizations_url":"https://api.github.com/users/thiemowmde/orgs","repos_url":"https://api.github.com/users/thiemowmde/repos","events_url":"https://api.github.com/users/thiemowmde/events{/privacy}","received_events_url":"https://api.github.com/users/thiemowmde/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wmde/WikibaseDataModel/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-29T12:29:54Z","updated_at":"2015-09-29T15:42:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/wmde/WikibaseDataModel/pulls/559","html_url":"https://github.com/wmde/WikibaseDataModel/pull/559","diff_url":"https://github.com/wmde/WikibaseDataModel/pull/559.diff","patch_url":"https://github.com/wmde/WikibaseDataModel/pull/559.patch"},"body":"Motivated by https://gerrit.wikimedia.org/r/#/c/242084/1/view/src/ClaimHtmlGenerator.php.\r\n\r\nThe second test with the iterator stuff is because an other valid implementation of an isEmpty method could use `!$this->valid()` (this is done in the HashArray class) but would reset the iterator."},"comment":{"url":"https://api.github.com/repos/wmde/WikibaseDataModel/issues/comments/144098208","html_url":"https://github.com/wmde/WikibaseDataModel/pull/559#issuecomment-144098208","issue_url":"https://api.github.com/repos/wmde/WikibaseDataModel/issues/559","id":144098208,"user":{"login":"JeroenDeDauw","id":146040,"avatar_url":"https://avatars.githubusercontent.com/u/146040?v=3","gravatar_id":"","url":"https://api.github.com/users/JeroenDeDauw","html_url":"https://github.com/JeroenDeDauw","followers_url":"https://api.github.com/users/JeroenDeDauw/followers","following_url":"https://api.github.com/users/JeroenDeDauw/following{/other_user}","gists_url":"https://api.github.com/users/JeroenDeDauw/gists{/gist_id}","starred_url":"https://api.github.com/users/JeroenDeDauw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeroenDeDauw/subscriptions","organizations_url":"https://api.github.com/users/JeroenDeDauw/orgs","repos_url":"https://api.github.com/users/JeroenDeDauw/repos","events_url":"https://api.github.com/users/JeroenDeDauw/events{/privacy}","received_events_url":"https://api.github.com/users/JeroenDeDauw/received_events","type":"User","site_admin":false},"created_at":"2015-09-29T15:42:40Z","updated_at":"2015-09-29T15:42:40Z","body":"hah, guess that CI failure is my fault :) will fix it later today"}}