{"action":"opened","number":44,"pull_request":{"url":"https://api.github.com/repos/zendframework/zend-ldap/pulls/44","id":67299317,"html_url":"https://github.com/zendframework/zend-ldap/pull/44","diff_url":"https://github.com/zendframework/zend-ldap/pull/44.diff","patch_url":"https://github.com/zendframework/zend-ldap/pull/44.patch","issue_url":"https://api.github.com/repos/zendframework/zend-ldap/issues/44","number":44,"state":"open","locked":false,"title":"Fixes issue with sorting in PHP7","user":{"login":"heiglandreas","id":91998,"avatar_url":"https://avatars.githubusercontent.com/u/91998?v=3","gravatar_id":"","url":"https://api.github.com/users/heiglandreas","html_url":"https://github.com/heiglandreas","followers_url":"https://api.github.com/users/heiglandreas/followers","following_url":"https://api.github.com/users/heiglandreas/following{/other_user}","gists_url":"https://api.github.com/users/heiglandreas/gists{/gist_id}","starred_url":"https://api.github.com/users/heiglandreas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heiglandreas/subscriptions","organizations_url":"https://api.github.com/users/heiglandreas/orgs","repos_url":"https://api.github.com/users/heiglandreas/repos","events_url":"https://api.github.com/users/heiglandreas/events{/privacy}","received_events_url":"https://api.github.com/users/heiglandreas/received_events","type":"User","site_admin":false},"body":"This PR alters the sort-algorithm used for testing which before was based on the position of the entry in the array and is now solely based on the value itself.\r\n\r\nDue to changes in PHP7 sorting based on the key of the value was not working in PHP7 as it was in PHP5 so there was need for a change.\r\n\r\nNow the values are sorted by the number of \"1\" in the binary representation of the value. If that is equals the natural sorting algorithm is used.","created_at":"2016-04-21T05:35:26Z","updated_at":"2016-04-21T05:35:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9501cf3e0cbc80d448a884bb716bb4050366d83f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zendframework/zend-ldap/pulls/44/commits","review_comments_url":"https://api.github.com/repos/zendframework/zend-ldap/pulls/44/comments","review_comment_url":"https://api.github.com/repos/zendframework/zend-ldap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zendframework/zend-ldap/issues/44/comments","statuses_url":"https://api.github.com/repos/zendframework/zend-ldap/statuses/7f54b98e072311d8523fa3676e56021812a2be5e","head":{"label":"heiglandreas:hotfix/tests","ref":"hotfix/tests","sha":"7f54b98e072311d8523fa3676e56021812a2be5e","user":{"login":"heiglandreas","id":91998,"avatar_url":"https://avatars.githubusercontent.com/u/91998?v=3","gravatar_id":"","url":"https://api.github.com/users/heiglandreas","html_url":"https://github.com/heiglandreas","followers_url":"https://api.github.com/users/heiglandreas/followers","following_url":"https://api.github.com/users/heiglandreas/following{/other_user}","gists_url":"https://api.github.com/users/heiglandreas/gists{/gist_id}","starred_url":"https://api.github.com/users/heiglandreas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heiglandreas/subscriptions","organizations_url":"https://api.github.com/users/heiglandreas/orgs","repos_url":"https://api.github.com/users/heiglandreas/repos","events_url":"https://api.github.com/users/heiglandreas/events{/privacy}","received_events_url":"https://api.github.com/users/heiglandreas/received_events","type":"User","site_admin":false},"repo":{"id":36821733,"name":"zend-ldap","full_name":"heiglandreas/zend-ldap","owner":{"login":"heiglandreas","id":91998,"avatar_url":"https://avatars.githubusercontent.com/u/91998?v=3","gravatar_id":"","url":"https://api.github.com/users/heiglandreas","html_url":"https://github.com/heiglandreas","followers_url":"https://api.github.com/users/heiglandreas/followers","following_url":"https://api.github.com/users/heiglandreas/following{/other_user}","gists_url":"https://api.github.com/users/heiglandreas/gists{/gist_id}","starred_url":"https://api.github.com/users/heiglandreas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heiglandreas/subscriptions","organizations_url":"https://api.github.com/users/heiglandreas/orgs","repos_url":"https://api.github.com/users/heiglandreas/repos","events_url":"https://api.github.com/users/heiglandreas/events{/privacy}","received_events_url":"https://api.github.com/users/heiglandreas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/heiglandreas/zend-ldap","description":"Ldap component from Zend Framework","fork":true,"url":"https://api.github.com/repos/heiglandreas/zend-ldap","forks_url":"https://api.github.com/repos/heiglandreas/zend-ldap/forks","keys_url":"https://api.github.com/repos/heiglandreas/zend-ldap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/heiglandreas/zend-ldap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/heiglandreas/zend-ldap/teams","hooks_url":"https://api.github.com/repos/heiglandreas/zend-ldap/hooks","issue_events_url":"https://api.github.com/repos/heiglandreas/zend-ldap/issues/events{/number}","events_url":"https://api.github.com/repos/heiglandreas/zend-ldap/events","assignees_url":"https://api.github.com/repos/heiglandreas/zend-ldap/assignees{/user}","branches_url":"https://api.github.com/repos/heiglandreas/zend-ldap/branches{/branch}","tags_url":"https://api.github.com/repos/heiglandreas/zend-ldap/tags","blobs_url":"https://api.github.com/repos/heiglandreas/zend-ldap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/heiglandreas/zend-ldap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/heiglandreas/zend-ldap/git/refs{/sha}","trees_url":"https://api.github.com/repos/heiglandreas/zend-ldap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/heiglandreas/zend-ldap/statuses/{sha}","languages_url":"https://api.github.com/repos/heiglandreas/zend-ldap/languages","stargazers_url":"https://api.github.com/repos/heiglandreas/zend-ldap/stargazers","contributors_url":"https://api.github.com/repos/heiglandreas/zend-ldap/contributors","subscribers_url":"https://api.github.com/repos/heiglandreas/zend-ldap/subscribers","subscription_url":"https://api.github.com/repos/heiglandreas/zend-ldap/subscription","commits_url":"https://api.github.com/repos/heiglandreas/zend-ldap/commits{/sha}","git_commits_url":"https://api.github.com/repos/heiglandreas/zend-ldap/git/commits{/sha}","comments_url":"https://api.github.com/repos/heiglandreas/zend-ldap/comments{/number}","issue_comment_url":"https://api.github.com/repos/heiglandreas/zend-ldap/issues/comments{/number}","contents_url":"https://api.github.com/repos/heiglandreas/zend-ldap/contents/{+path}","compare_url":"https://api.github.com/repos/heiglandreas/zend-ldap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/heiglandreas/zend-ldap/merges","archive_url":"https://api.github.com/repos/heiglandreas/zend-ldap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/heiglandreas/zend-ldap/downloads","issues_url":"https://api.github.com/repos/heiglandreas/zend-ldap/issues{/number}","pulls_url":"https://api.github.com/repos/heiglandreas/zend-ldap/pulls{/number}","milestones_url":"https://api.github.com/repos/heiglandreas/zend-ldap/milestones{/number}","notifications_url":"https://api.github.com/repos/heiglandreas/zend-ldap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/heiglandreas/zend-ldap/labels{/name}","releases_url":"https://api.github.com/repos/heiglandreas/zend-ldap/releases{/id}","deployments_url":"https://api.github.com/repos/heiglandreas/zend-ldap/deployments","created_at":"2015-06-03T18:14:35Z","updated_at":"2016-04-20T06:02:43Z","pushed_at":"2016-04-21T05:32:15Z","git_url":"git://github.com/heiglandreas/zend-ldap.git","ssh_url":"git@github.com:heiglandreas/zend-ldap.git","clone_url":"https://github.com/heiglandreas/zend-ldap.git","svn_url":"https://github.com/heiglandreas/zend-ldap","homepage":"https://github.com/zendframework/zf2","size":34023,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"zendframework:master","ref":"master","sha":"78e9807f9d21effcab6264f9396e6b24779f212a","user":{"login":"zendframework","id":296074,"avatar_url":"https://avatars.githubusercontent.com/u/296074?v=3","gravatar_id":"","url":"https://api.github.com/users/zendframework","html_url":"https://github.com/zendframework","followers_url":"https://api.github.com/users/zendframework/followers","following_url":"https://api.github.com/users/zendframework/following{/other_user}","gists_url":"https://api.github.com/users/zendframework/gists{/gist_id}","starred_url":"https://api.github.com/users/zendframework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zendframework/subscriptions","organizations_url":"https://api.github.com/users/zendframework/orgs","repos_url":"https://api.github.com/users/zendframework/repos","events_url":"https://api.github.com/users/zendframework/events{/privacy}","received_events_url":"https://api.github.com/users/zendframework/received_events","type":"Organization","site_admin":false},"repo":{"id":35280810,"name":"zend-ldap","full_name":"zendframework/zend-ldap","owner":{"login":"zendframework","id":296074,"avatar_url":"https://avatars.githubusercontent.com/u/296074?v=3","gravatar_id":"","url":"https://api.github.com/users/zendframework","html_url":"https://github.com/zendframework","followers_url":"https://api.github.com/users/zendframework/followers","following_url":"https://api.github.com/users/zendframework/following{/other_user}","gists_url":"https://api.github.com/users/zendframework/gists{/gist_id}","starred_url":"https://api.github.com/users/zendframework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zendframework/subscriptions","organizations_url":"https://api.github.com/users/zendframework/orgs","repos_url":"https://api.github.com/users/zendframework/repos","events_url":"https://api.github.com/users/zendframework/events{/privacy}","received_events_url":"https://api.github.com/users/zendframework/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zendframework/zend-ldap","description":"Ldap component from Zend Framework","fork":false,"url":"https://api.github.com/repos/zendframework/zend-ldap","forks_url":"https://api.github.com/repos/zendframework/zend-ldap/forks","keys_url":"https://api.github.com/repos/zendframework/zend-ldap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zendframework/zend-ldap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zendframework/zend-ldap/teams","hooks_url":"https://api.github.com/repos/zendframework/zend-ldap/hooks","issue_events_url":"https://api.github.com/repos/zendframework/zend-ldap/issues/events{/number}","events_url":"https://api.github.com/repos/zendframework/zend-ldap/events","assignees_url":"https://api.github.com/repos/zendframework/zend-ldap/assignees{/user}","branches_url":"https://api.github.com/repos/zendframework/zend-ldap/branches{/branch}","tags_url":"https://api.github.com/repos/zendframework/zend-ldap/tags","blobs_url":"https://api.github.com/repos/zendframework/zend-ldap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zendframework/zend-ldap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zendframework/zend-ldap/git/refs{/sha}","trees_url":"https://api.github.com/repos/zendframework/zend-ldap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zendframework/zend-ldap/statuses/{sha}","languages_url":"https://api.github.com/repos/zendframework/zend-ldap/languages","stargazers_url":"https://api.github.com/repos/zendframework/zend-ldap/stargazers","contributors_url":"https://api.github.com/repos/zendframework/zend-ldap/contributors","subscribers_url":"https://api.github.com/repos/zendframework/zend-ldap/subscribers","subscription_url":"https://api.github.com/repos/zendframework/zend-ldap/subscription","commits_url":"https://api.github.com/repos/zendframework/zend-ldap/commits{/sha}","git_commits_url":"https://api.github.com/repos/zendframework/zend-ldap/git/commits{/sha}","comments_url":"https://api.github.com/repos/zendframework/zend-ldap/comments{/number}","issue_comment_url":"https://api.github.com/repos/zendframework/zend-ldap/issues/comments{/number}","contents_url":"https://api.github.com/repos/zendframework/zend-ldap/contents/{+path}","compare_url":"https://api.github.com/repos/zendframework/zend-ldap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zendframework/zend-ldap/merges","archive_url":"https://api.github.com/repos/zendframework/zend-ldap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zendframework/zend-ldap/downloads","issues_url":"https://api.github.com/repos/zendframework/zend-ldap/issues{/number}","pulls_url":"https://api.github.com/repos/zendframework/zend-ldap/pulls{/number}","milestones_url":"https://api.github.com/repos/zendframework/zend-ldap/milestones{/number}","notifications_url":"https://api.github.com/repos/zendframework/zend-ldap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zendframework/zend-ldap/labels{/name}","releases_url":"https://api.github.com/repos/zendframework/zend-ldap/releases{/id}","deployments_url":"https://api.github.com/repos/zendframework/zend-ldap/deployments","created_at":"2015-05-08T13:28:02Z","updated_at":"2016-03-29T00:14:27Z","pushed_at":"2016-04-21T05:35:26Z","git_url":"git://github.com/zendframework/zend-ldap.git","ssh_url":"git@github.com:zendframework/zend-ldap.git","clone_url":"https://github.com/zendframework/zend-ldap.git","svn_url":"https://github.com/zendframework/zend-ldap","homepage":"https://github.com/zendframework/zf2","size":34037,"stargazers_count":10,"watchers_count":10,"language":"PHP","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":15,"forks":14,"open_issues":15,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zendframework/zend-ldap/pulls/44"},"html":{"href":"https://github.com/zendframework/zend-ldap/pull/44"},"issue":{"href":"https://api.github.com/repos/zendframework/zend-ldap/issues/44"},"comments":{"href":"https://api.github.com/repos/zendframework/zend-ldap/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/zendframework/zend-ldap/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/zendframework/zend-ldap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zendframework/zend-ldap/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/zendframework/zend-ldap/statuses/7f54b98e072311d8523fa3676e56021812a2be5e"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":14,"deletions":8,"changed_files":1}}