{"action":"created","issue":{"url":"https://api.github.com/repos/php-ds/extension/issues/53","repository_url":"https://api.github.com/repos/php-ds/extension","labels_url":"https://api.github.com/repos/php-ds/extension/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/php-ds/extension/issues/53/comments","events_url":"https://api.github.com/repos/php-ds/extension/issues/53/events","html_url":"https://github.com/php-ds/extension/issues/53","id":174308505,"number":53,"title":"Set::xor hangs","user":{"login":"basz","id":143068,"avatar_url":"https://avatars.githubusercontent.com/u/143068?v=3","gravatar_id":"","url":"https://api.github.com/users/basz","html_url":"https://github.com/basz","followers_url":"https://api.github.com/users/basz/followers","following_url":"https://api.github.com/users/basz/following{/other_user}","gists_url":"https://api.github.com/users/basz/gists{/gist_id}","starred_url":"https://api.github.com/users/basz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basz/subscriptions","organizations_url":"https://api.github.com/users/basz/orgs","repos_url":"https://api.github.com/users/basz/repos","events_url":"https://api.github.com/users/basz/events{/privacy}","received_events_url":"https://api.github.com/users/basz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-31T15:45:02Z","updated_at":"2016-08-31T16:34:51Z","closed_at":null,"body":"Whilst trying to calculate a set of mutations the xor operation hangs\r\n\r\nI expect $removalChangeSet to contain only ['member']\r\n\r\nI'm using DS 1.0.4 extension on OSX\r\n```\r\nrequire 'vendor/autoload.php';\r\n\r\n$roles             = new \\Ds\\Set(['guest', 'member']);\r\n$requestedRemovals = new \\Ds\\Set(['member', 'nothing']);\r\n\r\n$keepSet          = $roles->diff($requestedRemovals);\r\n$removalChangeSet = $roles->xor($keepSet);\r\n\r\nvar_dump($removalChangeSet->toArray());\r\n```"},"comment":{"url":"https://api.github.com/repos/php-ds/extension/issues/comments/243822856","html_url":"https://github.com/php-ds/extension/issues/53#issuecomment-243822856","issue_url":"https://api.github.com/repos/php-ds/extension/issues/53","id":243822856,"user":{"login":"basz","id":143068,"avatar_url":"https://avatars.githubusercontent.com/u/143068?v=3","gravatar_id":"","url":"https://api.github.com/users/basz","html_url":"https://github.com/basz","followers_url":"https://api.github.com/users/basz/followers","following_url":"https://api.github.com/users/basz/following{/other_user}","gists_url":"https://api.github.com/users/basz/gists{/gist_id}","starred_url":"https://api.github.com/users/basz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basz/subscriptions","organizations_url":"https://api.github.com/users/basz/orgs","repos_url":"https://api.github.com/users/basz/repos","events_url":"https://api.github.com/users/basz/events{/privacy}","received_events_url":"https://api.github.com/users/basz/received_events","type":"User","site_admin":false},"created_at":"2016-08-31T16:34:51Z","updated_at":"2016-08-31T16:34:51Z","body":"update : using the `php-ds/php-ds` compatibility polypill no hang occurs"}}
{"actor":{"display_login":"basz"}}