{"action":"created","comment":{"url":"https://api.github.com/repos/mnapoli/simplex/pulls/comments/59543370","id":59543370,"diff_hunk":"@@ -34,9 +34,11 @@ class SimplexServiceProvider implements ServiceProvider\n     public static function getServices()\n     {\n         return array(\n-            'param' => 'getParam',\n-            'service' => 'getService',\n-            'previous' => 'getPrevious',\n+            'param' => [SimplexServiceProvider::class, 'getParam'],","path":"src/Simplex/Tests/Fixtures/SimplexServiceProvider.php","position":null,"original_position":7,"commit_id":"094de7c17e1c162781e51b3fb014ffb136e7192e","original_commit_id":"8a16775b347ffd907a7771bb11079e70b607dfb1","user":{"login":"moufmouf","id":1290952,"avatar_url":"https://avatars.githubusercontent.com/u/1290952?v=3","gravatar_id":"","url":"https://api.github.com/users/moufmouf","html_url":"https://github.com/moufmouf","followers_url":"https://api.github.com/users/moufmouf/followers","following_url":"https://api.github.com/users/moufmouf/following{/other_user}","gists_url":"https://api.github.com/users/moufmouf/gists{/gist_id}","starred_url":"https://api.github.com/users/moufmouf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moufmouf/subscriptions","organizations_url":"https://api.github.com/users/moufmouf/orgs","repos_url":"https://api.github.com/users/moufmouf/repos","events_url":"https://api.github.com/users/moufmouf/events{/privacy}","received_events_url":"https://api.github.com/users/moufmouf/received_events","type":"User","site_admin":false},"body":"Damn'it PHP 5.3! ok, let's fix this.","created_at":"2016-04-13T13:04:30Z","updated_at":"2016-04-13T13:04:30Z","html_url":"https://github.com/mnapoli/simplex/pull/2#discussion_r59543370","pull_request_url":"https://api.github.com/repos/mnapoli/simplex/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/mnapoli/simplex/pulls/comments/59543370"},"html":{"href":"https://github.com/mnapoli/simplex/pull/2#discussion_r59543370"},"pull_request":{"href":"https://api.github.com/repos/mnapoli/simplex/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/mnapoli/simplex/pulls/2","id":66060998,"html_url":"https://github.com/mnapoli/simplex/pull/2","diff_url":"https://github.com/mnapoli/simplex/pull/2.diff","patch_url":"https://github.com/mnapoli/simplex/pull/2.patch","issue_url":"https://api.github.com/repos/mnapoli/simplex/issues/2","number":2,"state":"open","locked":false,"title":"[WIP] getServices that returns callables","user":{"login":"moufmouf","id":1290952,"avatar_url":"https://avatars.githubusercontent.com/u/1290952?v=3","gravatar_id":"","url":"https://api.github.com/users/moufmouf","html_url":"https://github.com/moufmouf","followers_url":"https://api.github.com/users/moufmouf/followers","following_url":"https://api.github.com/users/moufmouf/following{/other_user}","gists_url":"https://api.github.com/users/moufmouf/gists{/gist_id}","starred_url":"https://api.github.com/users/moufmouf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moufmouf/subscriptions","organizations_url":"https://api.github.com/users/moufmouf/orgs","repos_url":"https://api.github.com/users/moufmouf/repos","events_url":"https://api.github.com/users/moufmouf/events{/privacy}","received_events_url":"https://api.github.com/users/moufmouf/received_events","type":"User","site_admin":false},"body":"This is just a small PR to show the code impact of using service providers that return \"callables\" instead of \"function names\".","created_at":"2016-04-11T20:56:49Z","updated_at":"2016-04-13T13:04:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"de772ce8031650d7034b147ae42d3f2ca6c4c04c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mnapoli/simplex/pulls/2/commits","review_comments_url":"https://api.github.com/repos/mnapoli/simplex/pulls/2/comments","review_comment_url":"https://api.github.com/repos/mnapoli/simplex/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mnapoli/simplex/issues/2/comments","statuses_url":"https://api.github.com/repos/mnapoli/simplex/statuses/094de7c17e1c162781e51b3fb014ffb136e7192e","head":{"label":"moufmouf:callable-service-provider","ref":"callable-service-provider","sha":"094de7c17e1c162781e51b3fb014ffb136e7192e","user":{"login":"moufmouf","id":1290952,"avatar_url":"https://avatars.githubusercontent.com/u/1290952?v=3","gravatar_id":"","url":"https://api.github.com/users/moufmouf","html_url":"https://github.com/moufmouf","followers_url":"https://api.github.com/users/moufmouf/followers","following_url":"https://api.github.com/users/moufmouf/following{/other_user}","gists_url":"https://api.github.com/users/moufmouf/gists{/gist_id}","starred_url":"https://api.github.com/users/moufmouf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moufmouf/subscriptions","organizations_url":"https://api.github.com/users/moufmouf/orgs","repos_url":"https://api.github.com/users/moufmouf/repos","events_url":"https://api.github.com/users/moufmouf/events{/privacy}","received_events_url":"https://api.github.com/users/moufmouf/received_events","type":"User","site_admin":false},"repo":{"id":56007050,"name":"simplex","full_name":"moufmouf/simplex","owner":{"login":"moufmouf","id":1290952,"avatar_url":"https://avatars.githubusercontent.com/u/1290952?v=3","gravatar_id":"","url":"https://api.github.com/users/moufmouf","html_url":"https://github.com/moufmouf","followers_url":"https://api.github.com/users/moufmouf/followers","following_url":"https://api.github.com/users/moufmouf/following{/other_user}","gists_url":"https://api.github.com/users/moufmouf/gists{/gist_id}","starred_url":"https://api.github.com/users/moufmouf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moufmouf/subscriptions","organizations_url":"https://api.github.com/users/moufmouf/orgs","repos_url":"https://api.github.com/users/moufmouf/repos","events_url":"https://api.github.com/users/moufmouf/events{/privacy}","received_events_url":"https://api.github.com/users/moufmouf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/moufmouf/simplex","description":"Pimple fork with full container-interop support","fork":true,"url":"https://api.github.com/repos/moufmouf/simplex","forks_url":"https://api.github.com/repos/moufmouf/simplex/forks","keys_url":"https://api.github.com/repos/moufmouf/simplex/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moufmouf/simplex/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moufmouf/simplex/teams","hooks_url":"https://api.github.com/repos/moufmouf/simplex/hooks","issue_events_url":"https://api.github.com/repos/moufmouf/simplex/issues/events{/number}","events_url":"https://api.github.com/repos/moufmouf/simplex/events","assignees_url":"https://api.github.com/repos/moufmouf/simplex/assignees{/user}","branches_url":"https://api.github.com/repos/moufmouf/simplex/branches{/branch}","tags_url":"https://api.github.com/repos/moufmouf/simplex/tags","blobs_url":"https://api.github.com/repos/moufmouf/simplex/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moufmouf/simplex/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moufmouf/simplex/git/refs{/sha}","trees_url":"https://api.github.com/repos/moufmouf/simplex/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moufmouf/simplex/statuses/{sha}","languages_url":"https://api.github.com/repos/moufmouf/simplex/languages","stargazers_url":"https://api.github.com/repos/moufmouf/simplex/stargazers","contributors_url":"https://api.github.com/repos/moufmouf/simplex/contributors","subscribers_url":"https://api.github.com/repos/moufmouf/simplex/subscribers","subscription_url":"https://api.github.com/repos/moufmouf/simplex/subscription","commits_url":"https://api.github.com/repos/moufmouf/simplex/commits{/sha}","git_commits_url":"https://api.github.com/repos/moufmouf/simplex/git/commits{/sha}","comments_url":"https://api.github.com/repos/moufmouf/simplex/comments{/number}","issue_comment_url":"https://api.github.com/repos/moufmouf/simplex/issues/comments{/number}","contents_url":"https://api.github.com/repos/moufmouf/simplex/contents/{+path}","compare_url":"https://api.github.com/repos/moufmouf/simplex/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moufmouf/simplex/merges","archive_url":"https://api.github.com/repos/moufmouf/simplex/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moufmouf/simplex/downloads","issues_url":"https://api.github.com/repos/moufmouf/simplex/issues{/number}","pulls_url":"https://api.github.com/repos/moufmouf/simplex/pulls{/number}","milestones_url":"https://api.github.com/repos/moufmouf/simplex/milestones{/number}","notifications_url":"https://api.github.com/repos/moufmouf/simplex/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moufmouf/simplex/labels{/name}","releases_url":"https://api.github.com/repos/moufmouf/simplex/releases{/id}","deployments_url":"https://api.github.com/repos/moufmouf/simplex/deployments","created_at":"2016-04-11T20:54:49Z","updated_at":"2016-04-11T20:54:50Z","pushed_at":"2016-04-13T13:03:41Z","git_url":"git://github.com/moufmouf/simplex.git","ssh_url":"git@github.com:moufmouf/simplex.git","clone_url":"https://github.com/moufmouf/simplex.git","svn_url":"https://github.com/moufmouf/simplex","homepage":"","size":167,"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":"mnapoli:master","ref":"master","sha":"629f37a32b2b7153e8f820994ac5b0bec32c9f25","user":{"login":"mnapoli","id":720328,"avatar_url":"https://avatars.githubusercontent.com/u/720328?v=3","gravatar_id":"","url":"https://api.github.com/users/mnapoli","html_url":"https://github.com/mnapoli","followers_url":"https://api.github.com/users/mnapoli/followers","following_url":"https://api.github.com/users/mnapoli/following{/other_user}","gists_url":"https://api.github.com/users/mnapoli/gists{/gist_id}","starred_url":"https://api.github.com/users/mnapoli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnapoli/subscriptions","organizations_url":"https://api.github.com/users/mnapoli/orgs","repos_url":"https://api.github.com/users/mnapoli/repos","events_url":"https://api.github.com/users/mnapoli/events{/privacy}","received_events_url":"https://api.github.com/users/mnapoli/received_events","type":"User","site_admin":false},"repo":{"id":51669914,"name":"simplex","full_name":"mnapoli/simplex","owner":{"login":"mnapoli","id":720328,"avatar_url":"https://avatars.githubusercontent.com/u/720328?v=3","gravatar_id":"","url":"https://api.github.com/users/mnapoli","html_url":"https://github.com/mnapoli","followers_url":"https://api.github.com/users/mnapoli/followers","following_url":"https://api.github.com/users/mnapoli/following{/other_user}","gists_url":"https://api.github.com/users/mnapoli/gists{/gist_id}","starred_url":"https://api.github.com/users/mnapoli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnapoli/subscriptions","organizations_url":"https://api.github.com/users/mnapoli/orgs","repos_url":"https://api.github.com/users/mnapoli/repos","events_url":"https://api.github.com/users/mnapoli/events{/privacy}","received_events_url":"https://api.github.com/users/mnapoli/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mnapoli/simplex","description":"Pimple fork with full container-interop support","fork":false,"url":"https://api.github.com/repos/mnapoli/simplex","forks_url":"https://api.github.com/repos/mnapoli/simplex/forks","keys_url":"https://api.github.com/repos/mnapoli/simplex/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mnapoli/simplex/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mnapoli/simplex/teams","hooks_url":"https://api.github.com/repos/mnapoli/simplex/hooks","issue_events_url":"https://api.github.com/repos/mnapoli/simplex/issues/events{/number}","events_url":"https://api.github.com/repos/mnapoli/simplex/events","assignees_url":"https://api.github.com/repos/mnapoli/simplex/assignees{/user}","branches_url":"https://api.github.com/repos/mnapoli/simplex/branches{/branch}","tags_url":"https://api.github.com/repos/mnapoli/simplex/tags","blobs_url":"https://api.github.com/repos/mnapoli/simplex/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mnapoli/simplex/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mnapoli/simplex/git/refs{/sha}","trees_url":"https://api.github.com/repos/mnapoli/simplex/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mnapoli/simplex/statuses/{sha}","languages_url":"https://api.github.com/repos/mnapoli/simplex/languages","stargazers_url":"https://api.github.com/repos/mnapoli/simplex/stargazers","contributors_url":"https://api.github.com/repos/mnapoli/simplex/contributors","subscribers_url":"https://api.github.com/repos/mnapoli/simplex/subscribers","subscription_url":"https://api.github.com/repos/mnapoli/simplex/subscription","commits_url":"https://api.github.com/repos/mnapoli/simplex/commits{/sha}","git_commits_url":"https://api.github.com/repos/mnapoli/simplex/git/commits{/sha}","comments_url":"https://api.github.com/repos/mnapoli/simplex/comments{/number}","issue_comment_url":"https://api.github.com/repos/mnapoli/simplex/issues/comments{/number}","contents_url":"https://api.github.com/repos/mnapoli/simplex/contents/{+path}","compare_url":"https://api.github.com/repos/mnapoli/simplex/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mnapoli/simplex/merges","archive_url":"https://api.github.com/repos/mnapoli/simplex/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mnapoli/simplex/downloads","issues_url":"https://api.github.com/repos/mnapoli/simplex/issues{/number}","pulls_url":"https://api.github.com/repos/mnapoli/simplex/pulls{/number}","milestones_url":"https://api.github.com/repos/mnapoli/simplex/milestones{/number}","notifications_url":"https://api.github.com/repos/mnapoli/simplex/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mnapoli/simplex/labels{/name}","releases_url":"https://api.github.com/repos/mnapoli/simplex/releases{/id}","deployments_url":"https://api.github.com/repos/mnapoli/simplex/deployments","created_at":"2016-02-13T23:02:03Z","updated_at":"2016-04-13T10:04:53Z","pushed_at":"2016-04-13T13:03:41Z","git_url":"git://github.com/mnapoli/simplex.git","ssh_url":"git@github.com:mnapoli/simplex.git","clone_url":"https://github.com/mnapoli/simplex.git","svn_url":"https://github.com/mnapoli/simplex","homepage":"","size":176,"stargazers_count":4,"watchers_count":4,"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":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mnapoli/simplex/pulls/2"},"html":{"href":"https://github.com/mnapoli/simplex/pull/2"},"issue":{"href":"https://api.github.com/repos/mnapoli/simplex/issues/2"},"comments":{"href":"https://api.github.com/repos/mnapoli/simplex/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/mnapoli/simplex/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/mnapoli/simplex/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mnapoli/simplex/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/mnapoli/simplex/statuses/094de7c17e1c162781e51b3fb014ffb136e7192e"}}}}