{"action":"closed","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/8871","repository_url":"https://api.github.com/repos/symfony/symfony","labels_url":"https://api.github.com/repos/symfony/symfony/issues/8871/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/8871/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/8871/events","html_url":"https://github.com/symfony/symfony/issues/8871","id":18665471,"node_id":"MDU6SXNzdWUxODY2NTQ3MQ==","number":8871,"title":"[Finder] Duplicated results when used two times","user":{"login":"nykopol","id":2706685,"node_id":"MDQ6VXNlcjI3MDY2ODU=","avatar_url":"https://avatars3.githubusercontent.com/u/2706685?v=4","gravatar_id":"","url":"https://api.github.com/users/nykopol","html_url":"https://github.com/nykopol","followers_url":"https://api.github.com/users/nykopol/followers","following_url":"https://api.github.com/users/nykopol/following{/other_user}","gists_url":"https://api.github.com/users/nykopol/gists{/gist_id}","starred_url":"https://api.github.com/users/nykopol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nykopol/subscriptions","organizations_url":"https://api.github.com/users/nykopol/orgs","repos_url":"https://api.github.com/users/nykopol/repos","events_url":"https://api.github.com/users/nykopol/events{/privacy}","received_events_url":"https://api.github.com/users/nykopol/received_events","type":"User","site_admin":false},"labels":[{"id":100378,"node_id":"MDU6TGFiZWwxMDAzNzg=","url":"https://api.github.com/repos/symfony/symfony/labels/Feature","name":"Feature","color":"02e10c","default":false},{"id":148418,"node_id":"MDU6TGFiZWwxNDg0MTg=","url":"https://api.github.com/repos/symfony/symfony/labels/Finder","name":"Finder","color":"DDDDDD","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2013-08-28T12:30:42Z","updated_at":"2018-10-10T13:10:13Z","closed_at":"2018-10-10T13:10:13Z","author_association":"CONTRIBUTOR","body":"Hello, \n\nWhen i run the code below, on the second search, the results are duplicated.\n\n``` php\n$finder = new Finder();\n$first_results = $finder->in('/my/path')->files()->name('/my_pattern/');\n\n // [...] some code\n\n$second_results = $finder->in('/my/path')->files()->name('/another_pattern/');\n```\n\nBut if i run that code, it works as intended :\n\n``` php\n$finder = new Finder();\n$first_results = $finder->in('/my/path')->files()->name('/my_pattern/');\n\n // [...] some code\n\n$finder = new Finder();\n$second_results = $finder->in('/my/path')->files()->name('/another_pattern/');\n```\n"}}
{"actor":{"display_login":"fabpot"}}