{"action":"created","comment":{"url":"https://api.github.com/repos/Provider/European-Central-Bank/pulls/comments/69306501","id":69306501,"diff_hunk":"@@ -16,19 +16,19 @@ public function getProviderName()\n \n     public function fetch(Connector $connector)\n     {\n-        $xml = $connector->fetch(self::URL);\n-        $crawler = new Crawler($xml);\n+        $xmlString = $connector->fetch(self::URL);\n+        $xml = simplexml_load_string($xmlString);\n \n-        $ratesContainer = $crawler->filterXPath('./*/default:Cube/default:Cube[1]');\n-        $date = $ratesContainer->attr('time');\n+        $ratesContainer = $xml->Cube->Cube;\n+        $date = (string) $ratesContainer['time'];\n+        $rates = $ratesContainer->Cube;","path":"src/ForeignExchangeReferenceRates.php","position":13,"original_position":13,"commit_id":"97197d3961248167c160ad3994549e4e0b75a5ca","original_commit_id":"97197d3961248167c160ad3994549e4e0b75a5ca","user":{"login":"Bilge","id":470626,"avatar_url":"https://avatars.githubusercontent.com/u/470626?v=3","gravatar_id":"","url":"https://api.github.com/users/Bilge","html_url":"https://github.com/Bilge","followers_url":"https://api.github.com/users/Bilge/followers","following_url":"https://api.github.com/users/Bilge/following{/other_user}","gists_url":"https://api.github.com/users/Bilge/gists{/gist_id}","starred_url":"https://api.github.com/users/Bilge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bilge/subscriptions","organizations_url":"https://api.github.com/users/Bilge/orgs","repos_url":"https://api.github.com/users/Bilge/repos","events_url":"https://api.github.com/users/Bilge/events{/privacy}","received_events_url":"https://api.github.com/users/Bilge/received_events","type":"User","site_admin":false},"body":"Please move this back to line 25 to remain consistent with the original.","created_at":"2016-07-01T14:21:35Z","updated_at":"2016-07-01T14:21:35Z","html_url":"https://github.com/Provider/European-Central-Bank/pull/1#discussion_r69306501","pull_request_url":"https://api.github.com/repos/Provider/European-Central-Bank/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/Provider/European-Central-Bank/pulls/comments/69306501"},"html":{"href":"https://github.com/Provider/European-Central-Bank/pull/1#discussion_r69306501"},"pull_request":{"href":"https://api.github.com/repos/Provider/European-Central-Bank/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Provider/European-Central-Bank/pulls/1","id":75977570,"html_url":"https://github.com/Provider/European-Central-Bank/pull/1","diff_url":"https://github.com/Provider/European-Central-Bank/pull/1.diff","patch_url":"https://github.com/Provider/European-Central-Bank/pull/1.patch","issue_url":"https://api.github.com/repos/Provider/European-Central-Bank/issues/1","number":1,"state":"open","locked":false,"title":"Removed Crawler in favour of simple_xml","user":{"login":"dkraczkowski","id":578333,"avatar_url":"https://avatars.githubusercontent.com/u/578333?v=3","gravatar_id":"","url":"https://api.github.com/users/dkraczkowski","html_url":"https://github.com/dkraczkowski","followers_url":"https://api.github.com/users/dkraczkowski/followers","following_url":"https://api.github.com/users/dkraczkowski/following{/other_user}","gists_url":"https://api.github.com/users/dkraczkowski/gists{/gist_id}","starred_url":"https://api.github.com/users/dkraczkowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkraczkowski/subscriptions","organizations_url":"https://api.github.com/users/dkraczkowski/orgs","repos_url":"https://api.github.com/users/dkraczkowski/repos","events_url":"https://api.github.com/users/dkraczkowski/events{/privacy}","received_events_url":"https://api.github.com/users/dkraczkowski/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-01T13:10:29Z","updated_at":"2016-07-01T14:21:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c494c6bb39787e41d41f495f68328badda8cbed2","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Provider/European-Central-Bank/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Provider/European-Central-Bank/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Provider/European-Central-Bank/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Provider/European-Central-Bank/issues/1/comments","statuses_url":"https://api.github.com/repos/Provider/European-Central-Bank/statuses/97197d3961248167c160ad3994549e4e0b75a5ca","head":{"label":"dkraczkowski:master","ref":"master","sha":"97197d3961248167c160ad3994549e4e0b75a5ca","user":{"login":"dkraczkowski","id":578333,"avatar_url":"https://avatars.githubusercontent.com/u/578333?v=3","gravatar_id":"","url":"https://api.github.com/users/dkraczkowski","html_url":"https://github.com/dkraczkowski","followers_url":"https://api.github.com/users/dkraczkowski/followers","following_url":"https://api.github.com/users/dkraczkowski/following{/other_user}","gists_url":"https://api.github.com/users/dkraczkowski/gists{/gist_id}","starred_url":"https://api.github.com/users/dkraczkowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkraczkowski/subscriptions","organizations_url":"https://api.github.com/users/dkraczkowski/orgs","repos_url":"https://api.github.com/users/dkraczkowski/repos","events_url":"https://api.github.com/users/dkraczkowski/events{/privacy}","received_events_url":"https://api.github.com/users/dkraczkowski/received_events","type":"User","site_admin":false},"repo":{"id":62392942,"name":"European-Central-Bank","full_name":"dkraczkowski/European-Central-Bank","owner":{"login":"dkraczkowski","id":578333,"avatar_url":"https://avatars.githubusercontent.com/u/578333?v=3","gravatar_id":"","url":"https://api.github.com/users/dkraczkowski","html_url":"https://github.com/dkraczkowski","followers_url":"https://api.github.com/users/dkraczkowski/followers","following_url":"https://api.github.com/users/dkraczkowski/following{/other_user}","gists_url":"https://api.github.com/users/dkraczkowski/gists{/gist_id}","starred_url":"https://api.github.com/users/dkraczkowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkraczkowski/subscriptions","organizations_url":"https://api.github.com/users/dkraczkowski/orgs","repos_url":"https://api.github.com/users/dkraczkowski/repos","events_url":"https://api.github.com/users/dkraczkowski/events{/privacy}","received_events_url":"https://api.github.com/users/dkraczkowski/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dkraczkowski/European-Central-Bank","description":":bank: European Central Bank data provider for Porter.","fork":true,"url":"https://api.github.com/repos/dkraczkowski/European-Central-Bank","forks_url":"https://api.github.com/repos/dkraczkowski/European-Central-Bank/forks","keys_url":"https://api.github.com/repos/dkraczkowski/European-Central-Bank/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dkraczkowski/European-Central-Bank/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dkraczkowski/European-Central-Bank/teams","hooks_url":"https://api.github.com/repos/dkraczkowski/European-Central-Bank/hooks","issue_events_url":"https://api.github.com/repos/dkraczkowski/European-Central-Bank/issues/events{/number}","events_url":"https://api.github.com/repos/dkraczkowski/European-Central-Bank/events","assignees_url":"https://api.github.com/repos/dkraczkowski/European-Central-Bank/assignees{/user}","branches_url":"https://api.github.com/repos/dkraczkowski/European-Central-Bank/branches{/branch}","tags_url":"https://api.github.com/repos/dkraczkowski/European-Central-Bank/tags","blobs_url":"https://api.github.com/repos/dkraczkowski/European-Central-Bank/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dkraczkowski/European-Central-Bank/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dkraczkowski/European-Central-Bank/git/refs{/sha}","trees_url":"https://api.github.com/repos/dkraczkowski/European-Central-Bank/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dkraczkowski/European-Central-Bank/statuses/{sha}","languages_url":"https://api.github.com/repos/dkraczkowski/European-Central-Bank/languages","stargazers_url":"https://api.github.com/repos/dkraczkowski/European-Central-Bank/stargazers","contributors_url":"https://api.github.com/repos/dkraczkowski/European-Central-Bank/contributors","subscribers_url":"https://api.github.com/repos/dkraczkowski/European-Central-Bank/subscribers","subscription_url":"https://api.github.com/repos/dkraczkowski/European-Central-Bank/subscription","commits_url":"https://api.github.com/repos/dkraczkowski/European-Central-Bank/commits{/sha}","git_commits_url":"https://api.github.com/repos/dkraczkowski/European-Central-Bank/git/commits{/sha}","comments_url":"https://api.github.com/repos/dkraczkowski/European-Central-Bank/comments{/number}","issue_comment_url":"https://api.github.com/repos/dkraczkowski/European-Central-Bank/issues/comments{/number}","contents_url":"https://api.github.com/repos/dkraczkowski/European-Central-Bank/contents/{+path}","compare_url":"https://api.github.com/repos/dkraczkowski/European-Central-Bank/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dkraczkowski/European-Central-Bank/merges","archive_url":"https://api.github.com/repos/dkraczkowski/European-Central-Bank/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dkraczkowski/European-Central-Bank/downloads","issues_url":"https://api.github.com/repos/dkraczkowski/European-Central-Bank/issues{/number}","pulls_url":"https://api.github.com/repos/dkraczkowski/European-Central-Bank/pulls{/number}","milestones_url":"https://api.github.com/repos/dkraczkowski/European-Central-Bank/milestones{/number}","notifications_url":"https://api.github.com/repos/dkraczkowski/European-Central-Bank/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dkraczkowski/European-Central-Bank/labels{/name}","releases_url":"https://api.github.com/repos/dkraczkowski/European-Central-Bank/releases{/id}","deployments_url":"https://api.github.com/repos/dkraczkowski/European-Central-Bank/deployments","created_at":"2016-07-01T12:54:38Z","updated_at":"2016-07-01T12:54:39Z","pushed_at":"2016-07-01T13:15:34Z","git_url":"git://github.com/dkraczkowski/European-Central-Bank.git","ssh_url":"git@github.com:dkraczkowski/European-Central-Bank.git","clone_url":"https://github.com/dkraczkowski/European-Central-Bank.git","svn_url":"https://github.com/dkraczkowski/European-Central-Bank","homepage":"","size":16,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"Provider:master","ref":"master","sha":"ceeac982fdca7bb64178979c2b6caddaf8bc7bff","user":{"login":"Provider","id":16755913,"avatar_url":"https://avatars.githubusercontent.com/u/16755913?v=3","gravatar_id":"","url":"https://api.github.com/users/Provider","html_url":"https://github.com/Provider","followers_url":"https://api.github.com/users/Provider/followers","following_url":"https://api.github.com/users/Provider/following{/other_user}","gists_url":"https://api.github.com/users/Provider/gists{/gist_id}","starred_url":"https://api.github.com/users/Provider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Provider/subscriptions","organizations_url":"https://api.github.com/users/Provider/orgs","repos_url":"https://api.github.com/users/Provider/repos","events_url":"https://api.github.com/users/Provider/events{/privacy}","received_events_url":"https://api.github.com/users/Provider/received_events","type":"Organization","site_admin":false},"repo":{"id":61535152,"name":"European-Central-Bank","full_name":"Provider/European-Central-Bank","owner":{"login":"Provider","id":16755913,"avatar_url":"https://avatars.githubusercontent.com/u/16755913?v=3","gravatar_id":"","url":"https://api.github.com/users/Provider","html_url":"https://github.com/Provider","followers_url":"https://api.github.com/users/Provider/followers","following_url":"https://api.github.com/users/Provider/following{/other_user}","gists_url":"https://api.github.com/users/Provider/gists{/gist_id}","starred_url":"https://api.github.com/users/Provider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Provider/subscriptions","organizations_url":"https://api.github.com/users/Provider/orgs","repos_url":"https://api.github.com/users/Provider/repos","events_url":"https://api.github.com/users/Provider/events{/privacy}","received_events_url":"https://api.github.com/users/Provider/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Provider/European-Central-Bank","description":":bank: European Central Bank data provider for Porter.","fork":false,"url":"https://api.github.com/repos/Provider/European-Central-Bank","forks_url":"https://api.github.com/repos/Provider/European-Central-Bank/forks","keys_url":"https://api.github.com/repos/Provider/European-Central-Bank/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Provider/European-Central-Bank/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Provider/European-Central-Bank/teams","hooks_url":"https://api.github.com/repos/Provider/European-Central-Bank/hooks","issue_events_url":"https://api.github.com/repos/Provider/European-Central-Bank/issues/events{/number}","events_url":"https://api.github.com/repos/Provider/European-Central-Bank/events","assignees_url":"https://api.github.com/repos/Provider/European-Central-Bank/assignees{/user}","branches_url":"https://api.github.com/repos/Provider/European-Central-Bank/branches{/branch}","tags_url":"https://api.github.com/repos/Provider/European-Central-Bank/tags","blobs_url":"https://api.github.com/repos/Provider/European-Central-Bank/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Provider/European-Central-Bank/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Provider/European-Central-Bank/git/refs{/sha}","trees_url":"https://api.github.com/repos/Provider/European-Central-Bank/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Provider/European-Central-Bank/statuses/{sha}","languages_url":"https://api.github.com/repos/Provider/European-Central-Bank/languages","stargazers_url":"https://api.github.com/repos/Provider/European-Central-Bank/stargazers","contributors_url":"https://api.github.com/repos/Provider/European-Central-Bank/contributors","subscribers_url":"https://api.github.com/repos/Provider/European-Central-Bank/subscribers","subscription_url":"https://api.github.com/repos/Provider/European-Central-Bank/subscription","commits_url":"https://api.github.com/repos/Provider/European-Central-Bank/commits{/sha}","git_commits_url":"https://api.github.com/repos/Provider/European-Central-Bank/git/commits{/sha}","comments_url":"https://api.github.com/repos/Provider/European-Central-Bank/comments{/number}","issue_comment_url":"https://api.github.com/repos/Provider/European-Central-Bank/issues/comments{/number}","contents_url":"https://api.github.com/repos/Provider/European-Central-Bank/contents/{+path}","compare_url":"https://api.github.com/repos/Provider/European-Central-Bank/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Provider/European-Central-Bank/merges","archive_url":"https://api.github.com/repos/Provider/European-Central-Bank/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Provider/European-Central-Bank/downloads","issues_url":"https://api.github.com/repos/Provider/European-Central-Bank/issues{/number}","pulls_url":"https://api.github.com/repos/Provider/European-Central-Bank/pulls{/number}","milestones_url":"https://api.github.com/repos/Provider/European-Central-Bank/milestones{/number}","notifications_url":"https://api.github.com/repos/Provider/European-Central-Bank/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Provider/European-Central-Bank/labels{/name}","releases_url":"https://api.github.com/repos/Provider/European-Central-Bank/releases{/id}","deployments_url":"https://api.github.com/repos/Provider/European-Central-Bank/deployments","created_at":"2016-06-20T09:35:25Z","updated_at":"2016-06-22T16:06:18Z","pushed_at":"2016-07-01T13:15:34Z","git_url":"git://github.com/Provider/European-Central-Bank.git","ssh_url":"git@github.com:Provider/European-Central-Bank.git","clone_url":"https://github.com/Provider/European-Central-Bank.git","svn_url":"https://github.com/Provider/European-Central-Bank","homepage":"","size":12,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Provider/European-Central-Bank/pulls/1"},"html":{"href":"https://github.com/Provider/European-Central-Bank/pull/1"},"issue":{"href":"https://api.github.com/repos/Provider/European-Central-Bank/issues/1"},"comments":{"href":"https://api.github.com/repos/Provider/European-Central-Bank/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Provider/European-Central-Bank/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Provider/European-Central-Bank/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Provider/European-Central-Bank/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Provider/European-Central-Bank/statuses/97197d3961248167c160ad3994549e4e0b75a5ca"}}}}
{"actor":{"display_login":"Bilge"}}