{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/16057","labels_url":"https://api.github.com/repos/symfony/symfony/issues/16057/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/16057/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/16057/events","html_url":"https://github.com/symfony/symfony/pull/16057","id":109399457,"number":16057,"title":"Deprecate loading multiple documents in the same crawler","user":{"login":"stof","id":439401,"avatar_url":"https://avatars.githubusercontent.com/u/439401?v=3","gravatar_id":"","url":"https://api.github.com/users/stof","html_url":"https://github.com/stof","followers_url":"https://api.github.com/users/stof/followers","following_url":"https://api.github.com/users/stof/following{/other_user}","gists_url":"https://api.github.com/users/stof/gists{/gist_id}","starred_url":"https://api.github.com/users/stof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stof/subscriptions","organizations_url":"https://api.github.com/users/stof/orgs","repos_url":"https://api.github.com/users/stof/repos","events_url":"https://api.github.com/users/stof/events{/privacy}","received_events_url":"https://api.github.com/users/stof/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/symfony/symfony/labels/DomCrawler","name":"DomCrawler","color":"DDDDDD"},{"url":"https://api.github.com/repos/symfony/symfony/labels/Status:%20Needs%20Review","name":"Status: Needs Review","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-01T22:47:34Z","updated_at":"2015-10-01T23:48:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/symfony/symfony/pulls/16057","html_url":"https://github.com/symfony/symfony/pull/16057","diff_url":"https://github.com/symfony/symfony/pull/16057.diff","patch_url":"https://github.com/symfony/symfony/pull/16057.patch"},"body":"| Q             | A\r\n| ------------- | ---\r\n| Bug fix?      | no\r\n| New feature?  | no\r\n| BC breaks?    | no\r\n| Deprecations? | yes\r\n| Tests pass?   | yes\r\n| Fixed tickets | #15849 \r\n| License       | MIT\r\n| Doc PR        | n/a\r\n\r\nNote that loading multiple documents in the same crawler already creates weird things when working with namespaces (the list of mapping of aliases to namespaces is shared between documents, which was flawed).\r\n\r\nAs said in the issue, this opens the door to optimizations in the future (sharing the DOMXpath instance for instance, including with subcrawler)\r\n"},"comment":{"url":"https://api.github.com/repos/symfony/symfony/issues/comments/144879438","html_url":"https://github.com/symfony/symfony/pull/16057#issuecomment-144879438","issue_url":"https://api.github.com/repos/symfony/symfony/issues/16057","id":144879438,"user":{"login":"stof","id":439401,"avatar_url":"https://avatars.githubusercontent.com/u/439401?v=3","gravatar_id":"","url":"https://api.github.com/users/stof","html_url":"https://github.com/stof","followers_url":"https://api.github.com/users/stof/followers","following_url":"https://api.github.com/users/stof/following{/other_user}","gists_url":"https://api.github.com/users/stof/gists{/gist_id}","starred_url":"https://api.github.com/users/stof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stof/subscriptions","organizations_url":"https://api.github.com/users/stof/orgs","repos_url":"https://api.github.com/users/stof/repos","events_url":"https://api.github.com/users/stof/events{/privacy}","received_events_url":"https://api.github.com/users/stof/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T23:48:35Z","updated_at":"2015-10-01T23:48:35Z","body":"Once this PR is merged, I will work on the update of the component for 3.0 to avoid using SplObjectStorage (I prefer waiting until this PR is merged to avoid useless conflicts)"}}