{"action":"closed","number":43,"pull_request":{"url":"https://api.github.com/repos/particle-php/Filter/pulls/43","id":56173147,"html_url":"https://github.com/particle-php/Filter/pull/43","diff_url":"https://github.com/particle-php/Filter/pull/43.diff","patch_url":"https://github.com/particle-php/Filter/pull/43.patch","issue_url":"https://api.github.com/repos/particle-php/Filter/issues/43","number":43,"state":"closed","locked":false,"title":"Add Remove and RemoveNull filter rules","user":{"login":"RickvdStaaij","id":6495166,"avatar_url":"https://avatars.githubusercontent.com/u/6495166?v=3","gravatar_id":"","url":"https://api.github.com/users/RickvdStaaij","html_url":"https://github.com/RickvdStaaij","followers_url":"https://api.github.com/users/RickvdStaaij/followers","following_url":"https://api.github.com/users/RickvdStaaij/following{/other_user}","gists_url":"https://api.github.com/users/RickvdStaaij/gists{/gist_id}","starred_url":"https://api.github.com/users/RickvdStaaij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RickvdStaaij/subscriptions","organizations_url":"https://api.github.com/users/RickvdStaaij/orgs","repos_url":"https://api.github.com/users/RickvdStaaij/repos","events_url":"https://api.github.com/users/RickvdStaaij/events{/privacy}","received_events_url":"https://api.github.com/users/RickvdStaaij/received_events","type":"User","site_admin":false},"body":"### What\r\n\r\nRemoving values from the input array requires some core refactoring.\r\n\r\n### How to test\r\n\r\n1. See that there are tests that can remove values form the to filter array\r\n1. See that the test coverage is still 100% and the quality a 10\r\n\r\n### ToDo\r\n\r\n- [x] Find a way to properly unset values from the data container\r\n- [x] Add decent tests for the removeNull filter rule\r\n- [x] Fix removal on multidimensional arrays\r\n- [x] Documentation\r\n- [x] Extend readme example\r\n- [x] ~~Code quality 10~~ Make it as clean as possible\r\n\r\n### Ticket\r\n\r\n #42","created_at":"2016-01-15T14:11:59Z","updated_at":"2016-01-22T16:33:12Z","closed_at":"2016-01-22T16:33:12Z","merged_at":"2016-01-22T16:33:11Z","merge_commit_sha":"1a687f8eaac30f7b8a2f972b70c6d8f3af00764e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/particle-php/Filter/pulls/43/commits","review_comments_url":"https://api.github.com/repos/particle-php/Filter/pulls/43/comments","review_comment_url":"https://api.github.com/repos/particle-php/Filter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/particle-php/Filter/issues/43/comments","statuses_url":"https://api.github.com/repos/particle-php/Filter/statuses/0fb3af02f9a2c988556dbd0e4493d8fa263b1bec","head":{"label":"RickvdStaaij:feature/remove-keys","ref":"feature/remove-keys","sha":"0fb3af02f9a2c988556dbd0e4493d8fa263b1bec","user":{"login":"RickvdStaaij","id":6495166,"avatar_url":"https://avatars.githubusercontent.com/u/6495166?v=3","gravatar_id":"","url":"https://api.github.com/users/RickvdStaaij","html_url":"https://github.com/RickvdStaaij","followers_url":"https://api.github.com/users/RickvdStaaij/followers","following_url":"https://api.github.com/users/RickvdStaaij/following{/other_user}","gists_url":"https://api.github.com/users/RickvdStaaij/gists{/gist_id}","starred_url":"https://api.github.com/users/RickvdStaaij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RickvdStaaij/subscriptions","organizations_url":"https://api.github.com/users/RickvdStaaij/orgs","repos_url":"https://api.github.com/users/RickvdStaaij/repos","events_url":"https://api.github.com/users/RickvdStaaij/events{/privacy}","received_events_url":"https://api.github.com/users/RickvdStaaij/received_events","type":"User","site_admin":false},"repo":{"id":36072144,"name":"Filter","full_name":"RickvdStaaij/Filter","owner":{"login":"RickvdStaaij","id":6495166,"avatar_url":"https://avatars.githubusercontent.com/u/6495166?v=3","gravatar_id":"","url":"https://api.github.com/users/RickvdStaaij","html_url":"https://github.com/RickvdStaaij","followers_url":"https://api.github.com/users/RickvdStaaij/followers","following_url":"https://api.github.com/users/RickvdStaaij/following{/other_user}","gists_url":"https://api.github.com/users/RickvdStaaij/gists{/gist_id}","starred_url":"https://api.github.com/users/RickvdStaaij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RickvdStaaij/subscriptions","organizations_url":"https://api.github.com/users/RickvdStaaij/orgs","repos_url":"https://api.github.com/users/RickvdStaaij/repos","events_url":"https://api.github.com/users/RickvdStaaij/events{/privacy}","received_events_url":"https://api.github.com/users/RickvdStaaij/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RickvdStaaij/Filter","description":"Particle\\Filter is a filter library with an extremely clean API which makes filtering fun!","fork":true,"url":"https://api.github.com/repos/RickvdStaaij/Filter","forks_url":"https://api.github.com/repos/RickvdStaaij/Filter/forks","keys_url":"https://api.github.com/repos/RickvdStaaij/Filter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RickvdStaaij/Filter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RickvdStaaij/Filter/teams","hooks_url":"https://api.github.com/repos/RickvdStaaij/Filter/hooks","issue_events_url":"https://api.github.com/repos/RickvdStaaij/Filter/issues/events{/number}","events_url":"https://api.github.com/repos/RickvdStaaij/Filter/events","assignees_url":"https://api.github.com/repos/RickvdStaaij/Filter/assignees{/user}","branches_url":"https://api.github.com/repos/RickvdStaaij/Filter/branches{/branch}","tags_url":"https://api.github.com/repos/RickvdStaaij/Filter/tags","blobs_url":"https://api.github.com/repos/RickvdStaaij/Filter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RickvdStaaij/Filter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RickvdStaaij/Filter/git/refs{/sha}","trees_url":"https://api.github.com/repos/RickvdStaaij/Filter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RickvdStaaij/Filter/statuses/{sha}","languages_url":"https://api.github.com/repos/RickvdStaaij/Filter/languages","stargazers_url":"https://api.github.com/repos/RickvdStaaij/Filter/stargazers","contributors_url":"https://api.github.com/repos/RickvdStaaij/Filter/contributors","subscribers_url":"https://api.github.com/repos/RickvdStaaij/Filter/subscribers","subscription_url":"https://api.github.com/repos/RickvdStaaij/Filter/subscription","commits_url":"https://api.github.com/repos/RickvdStaaij/Filter/commits{/sha}","git_commits_url":"https://api.github.com/repos/RickvdStaaij/Filter/git/commits{/sha}","comments_url":"https://api.github.com/repos/RickvdStaaij/Filter/comments{/number}","issue_comment_url":"https://api.github.com/repos/RickvdStaaij/Filter/issues/comments{/number}","contents_url":"https://api.github.com/repos/RickvdStaaij/Filter/contents/{+path}","compare_url":"https://api.github.com/repos/RickvdStaaij/Filter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RickvdStaaij/Filter/merges","archive_url":"https://api.github.com/repos/RickvdStaaij/Filter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RickvdStaaij/Filter/downloads","issues_url":"https://api.github.com/repos/RickvdStaaij/Filter/issues{/number}","pulls_url":"https://api.github.com/repos/RickvdStaaij/Filter/pulls{/number}","milestones_url":"https://api.github.com/repos/RickvdStaaij/Filter/milestones{/number}","notifications_url":"https://api.github.com/repos/RickvdStaaij/Filter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RickvdStaaij/Filter/labels{/name}","releases_url":"https://api.github.com/repos/RickvdStaaij/Filter/releases{/id}","deployments_url":"https://api.github.com/repos/RickvdStaaij/Filter/deployments","created_at":"2015-05-22T12:52:40Z","updated_at":"2016-01-11T15:20:08Z","pushed_at":"2016-01-22T16:07:20Z","git_url":"git://github.com/RickvdStaaij/Filter.git","ssh_url":"git@github.com:RickvdStaaij/Filter.git","clone_url":"https://github.com/RickvdStaaij/Filter.git","svn_url":"https://github.com/RickvdStaaij/Filter","homepage":null,"size":168,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"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":"particle-php:master","ref":"master","sha":"f05f74e3cc71961a75ea5d0ec7e66a945ddff673","user":{"login":"particle-php","id":11145775,"avatar_url":"https://avatars.githubusercontent.com/u/11145775?v=3","gravatar_id":"","url":"https://api.github.com/users/particle-php","html_url":"https://github.com/particle-php","followers_url":"https://api.github.com/users/particle-php/followers","following_url":"https://api.github.com/users/particle-php/following{/other_user}","gists_url":"https://api.github.com/users/particle-php/gists{/gist_id}","starred_url":"https://api.github.com/users/particle-php/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/particle-php/subscriptions","organizations_url":"https://api.github.com/users/particle-php/orgs","repos_url":"https://api.github.com/users/particle-php/repos","events_url":"https://api.github.com/users/particle-php/events{/privacy}","received_events_url":"https://api.github.com/users/particle-php/received_events","type":"Organization","site_admin":false},"repo":{"id":36071939,"name":"Filter","full_name":"particle-php/Filter","owner":{"login":"particle-php","id":11145775,"avatar_url":"https://avatars.githubusercontent.com/u/11145775?v=3","gravatar_id":"","url":"https://api.github.com/users/particle-php","html_url":"https://github.com/particle-php","followers_url":"https://api.github.com/users/particle-php/followers","following_url":"https://api.github.com/users/particle-php/following{/other_user}","gists_url":"https://api.github.com/users/particle-php/gists{/gist_id}","starred_url":"https://api.github.com/users/particle-php/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/particle-php/subscriptions","organizations_url":"https://api.github.com/users/particle-php/orgs","repos_url":"https://api.github.com/users/particle-php/repos","events_url":"https://api.github.com/users/particle-php/events{/privacy}","received_events_url":"https://api.github.com/users/particle-php/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/particle-php/Filter","description":"Flexible and highly usable filtering library with no dependencies.","fork":false,"url":"https://api.github.com/repos/particle-php/Filter","forks_url":"https://api.github.com/repos/particle-php/Filter/forks","keys_url":"https://api.github.com/repos/particle-php/Filter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/particle-php/Filter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/particle-php/Filter/teams","hooks_url":"https://api.github.com/repos/particle-php/Filter/hooks","issue_events_url":"https://api.github.com/repos/particle-php/Filter/issues/events{/number}","events_url":"https://api.github.com/repos/particle-php/Filter/events","assignees_url":"https://api.github.com/repos/particle-php/Filter/assignees{/user}","branches_url":"https://api.github.com/repos/particle-php/Filter/branches{/branch}","tags_url":"https://api.github.com/repos/particle-php/Filter/tags","blobs_url":"https://api.github.com/repos/particle-php/Filter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/particle-php/Filter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/particle-php/Filter/git/refs{/sha}","trees_url":"https://api.github.com/repos/particle-php/Filter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/particle-php/Filter/statuses/{sha}","languages_url":"https://api.github.com/repos/particle-php/Filter/languages","stargazers_url":"https://api.github.com/repos/particle-php/Filter/stargazers","contributors_url":"https://api.github.com/repos/particle-php/Filter/contributors","subscribers_url":"https://api.github.com/repos/particle-php/Filter/subscribers","subscription_url":"https://api.github.com/repos/particle-php/Filter/subscription","commits_url":"https://api.github.com/repos/particle-php/Filter/commits{/sha}","git_commits_url":"https://api.github.com/repos/particle-php/Filter/git/commits{/sha}","comments_url":"https://api.github.com/repos/particle-php/Filter/comments{/number}","issue_comment_url":"https://api.github.com/repos/particle-php/Filter/issues/comments{/number}","contents_url":"https://api.github.com/repos/particle-php/Filter/contents/{+path}","compare_url":"https://api.github.com/repos/particle-php/Filter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/particle-php/Filter/merges","archive_url":"https://api.github.com/repos/particle-php/Filter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/particle-php/Filter/downloads","issues_url":"https://api.github.com/repos/particle-php/Filter/issues{/number}","pulls_url":"https://api.github.com/repos/particle-php/Filter/pulls{/number}","milestones_url":"https://api.github.com/repos/particle-php/Filter/milestones{/number}","notifications_url":"https://api.github.com/repos/particle-php/Filter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/particle-php/Filter/labels{/name}","releases_url":"https://api.github.com/repos/particle-php/Filter/releases{/id}","deployments_url":"https://api.github.com/repos/particle-php/Filter/deployments","created_at":"2015-05-22T12:47:56Z","updated_at":"2016-01-22T11:53:58Z","pushed_at":"2016-01-22T16:33:12Z","git_url":"git://github.com/particle-php/Filter.git","ssh_url":"git@github.com:particle-php/Filter.git","clone_url":"https://github.com/particle-php/Filter.git","svn_url":"https://github.com/particle-php/Filter","homepage":"http://filter.particle-php.com","size":171,"stargazers_count":40,"watchers_count":40,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":1,"forks":6,"open_issues":1,"watchers":40,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/particle-php/Filter/pulls/43"},"html":{"href":"https://github.com/particle-php/Filter/pull/43"},"issue":{"href":"https://api.github.com/repos/particle-php/Filter/issues/43"},"comments":{"href":"https://api.github.com/repos/particle-php/Filter/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/particle-php/Filter/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/particle-php/Filter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/particle-php/Filter/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/particle-php/Filter/statuses/0fb3af02f9a2c988556dbd0e4493d8fa263b1bec"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"RickvdStaaij","id":6495166,"avatar_url":"https://avatars.githubusercontent.com/u/6495166?v=3","gravatar_id":"","url":"https://api.github.com/users/RickvdStaaij","html_url":"https://github.com/RickvdStaaij","followers_url":"https://api.github.com/users/RickvdStaaij/followers","following_url":"https://api.github.com/users/RickvdStaaij/following{/other_user}","gists_url":"https://api.github.com/users/RickvdStaaij/gists{/gist_id}","starred_url":"https://api.github.com/users/RickvdStaaij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RickvdStaaij/subscriptions","organizations_url":"https://api.github.com/users/RickvdStaaij/orgs","repos_url":"https://api.github.com/users/RickvdStaaij/repos","events_url":"https://api.github.com/users/RickvdStaaij/events{/privacy}","received_events_url":"https://api.github.com/users/RickvdStaaij/received_events","type":"User","site_admin":false},"comments":5,"review_comments":7,"commits":28,"additions":465,"deletions":23,"changed_files":19}}