{"action":"created","comment":{"url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/pulls/comments/90405731","pull_request_review_id":10923116,"id":90405731,"diff_hunk":"@@ -0,0 +1,154 @@\n+<?php\n+\n+namespace Tests\\Bootstrap;\n+\n+use ETNA\\FeatureContext\\BaseContext;\n+\n+use Symfony\\Component\\HttpFoundation\\Request;\n+use Symfony\\Component\\HttpFoundation\\Response;\n+use Symfony\\Component\\HttpKernel\\HttpKernelInterface;\n+\n+/**\n+ * Features context\n+ */\n+class FeatureContext extends BaseContext\n+{\n+    private $base_url;\n+    private $request;\n+    private $response;\n+\n+    /**\n+     * Initializes context.\n+     * Every scenario gets it's own context object.\n+     */\n+    public function __construct()\n+    {\n+        $this->base_url = \"http://localhost:8080\";\n+        $this->request  = [\n+            \"headers\" => [],\n+            \"cookies\" => [],\n+            \"files\"   => [],\n+        ];\n+    }\n+\n+    public function getRequest()\n+    {\n+        return $this->request;\n+    }\n+\n+    public function setRequest($request)\n+    {\n+        $this->request = $request;\n+    }\n+\n+    public function getResponse()\n+    {\n+        return $this->response;\n+    }\n+\n+    /**\n+     * @Then /^je devrais avoir un résultat d\\'API en JSON$/\n+     */\n+    public function jeDevraisAvoirUnResultatDApiEnJSON()","path":"Tests/Bootstrap/FeatureContext.php","position":52,"original_position":52,"commit_id":"2868c56983168f509579f438fa4ea532b044289b","original_commit_id":"7cd6fa5e5704e5a15afddb709f0a2d51ea08b582","user":{"login":"gdubost","id":9316275,"avatar_url":"https://avatars.githubusercontent.com/u/9316275?v=3","gravatar_id":"","url":"https://api.github.com/users/gdubost","html_url":"https://github.com/gdubost","followers_url":"https://api.github.com/users/gdubost/followers","following_url":"https://api.github.com/users/gdubost/following{/other_user}","gists_url":"https://api.github.com/users/gdubost/gists{/gist_id}","starred_url":"https://api.github.com/users/gdubost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdubost/subscriptions","organizations_url":"https://api.github.com/users/gdubost/orgs","repos_url":"https://api.github.com/users/gdubost/repos","events_url":"https://api.github.com/users/gdubost/events{/privacy}","received_events_url":"https://api.github.com/users/gdubost/received_events","type":"User","site_admin":false},"body":"On a fait un composer pour éviter ce genre de choses, surtout que le doctrine context a priori t'es pas sense l'utiliser ^^ ","created_at":"2016-12-01T09:04:03Z","updated_at":"2016-12-01T09:04:03Z","html_url":"https://github.com/etna-alternance/composer-translation-provider/pull/1#discussion_r90405731","pull_request_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/etna-alternance/composer-translation-provider/pulls/comments/90405731"},"html":{"href":"https://github.com/etna-alternance/composer-translation-provider/pull/1#discussion_r90405731"},"pull_request":{"href":"https://api.github.com/repos/etna-alternance/composer-translation-provider/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/pulls/1","id":91632793,"html_url":"https://github.com/etna-alternance/composer-translation-provider/pull/1","diff_url":"https://github.com/etna-alternance/composer-translation-provider/pull/1.diff","patch_url":"https://github.com/etna-alternance/composer-translation-provider/pull/1.patch","issue_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/issues/1","number":1,"state":"open","locked":false,"title":"[FEATURE#35371] Provider de traduction Abort Api","user":{"login":"rinaz-a","id":15831677,"avatar_url":"https://avatars.githubusercontent.com/u/15831677?v=3","gravatar_id":"","url":"https://api.github.com/users/rinaz-a","html_url":"https://github.com/rinaz-a","followers_url":"https://api.github.com/users/rinaz-a/followers","following_url":"https://api.github.com/users/rinaz-a/following{/other_user}","gists_url":"https://api.github.com/users/rinaz-a/gists{/gist_id}","starred_url":"https://api.github.com/users/rinaz-a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rinaz-a/subscriptions","organizations_url":"https://api.github.com/users/rinaz-a/orgs","repos_url":"https://api.github.com/users/rinaz-a/repos","events_url":"https://api.github.com/users/rinaz-a/events{/privacy}","received_events_url":"https://api.github.com/users/rinaz-a/received_events","type":"User","site_admin":false},"body":"On crée ce petit provider afin de traduire les messages abort de l'api dans le language de l'utilisateur, le reste est dans le readMe :)","created_at":"2016-10-31T15:41:47Z","updated_at":"2016-12-01T09:04:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f8116bf6d1a94298d7a4fd61880fc7298edaf8cf","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/pulls/1/commits","review_comments_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/pulls/1/comments","review_comment_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/pulls/comments{/number}","comments_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/issues/1/comments","statuses_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/statuses/2868c56983168f509579f438fa4ea532b044289b","head":{"label":"rinaz-a:feature/35371","ref":"feature/35371","sha":"2868c56983168f509579f438fa4ea532b044289b","user":{"login":"rinaz-a","id":15831677,"avatar_url":"https://avatars.githubusercontent.com/u/15831677?v=3","gravatar_id":"","url":"https://api.github.com/users/rinaz-a","html_url":"https://github.com/rinaz-a","followers_url":"https://api.github.com/users/rinaz-a/followers","following_url":"https://api.github.com/users/rinaz-a/following{/other_user}","gists_url":"https://api.github.com/users/rinaz-a/gists{/gist_id}","starred_url":"https://api.github.com/users/rinaz-a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rinaz-a/subscriptions","organizations_url":"https://api.github.com/users/rinaz-a/orgs","repos_url":"https://api.github.com/users/rinaz-a/repos","events_url":"https://api.github.com/users/rinaz-a/events{/privacy}","received_events_url":"https://api.github.com/users/rinaz-a/received_events","type":"User","site_admin":false},"repo":{"id":72439635,"name":"composer-translation-provider","full_name":"rinaz-a/composer-translation-provider","owner":{"login":"rinaz-a","id":15831677,"avatar_url":"https://avatars.githubusercontent.com/u/15831677?v=3","gravatar_id":"","url":"https://api.github.com/users/rinaz-a","html_url":"https://github.com/rinaz-a","followers_url":"https://api.github.com/users/rinaz-a/followers","following_url":"https://api.github.com/users/rinaz-a/following{/other_user}","gists_url":"https://api.github.com/users/rinaz-a/gists{/gist_id}","starred_url":"https://api.github.com/users/rinaz-a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rinaz-a/subscriptions","organizations_url":"https://api.github.com/users/rinaz-a/orgs","repos_url":"https://api.github.com/users/rinaz-a/repos","events_url":"https://api.github.com/users/rinaz-a/events{/privacy}","received_events_url":"https://api.github.com/users/rinaz-a/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rinaz-a/composer-translation-provider","description":null,"fork":true,"url":"https://api.github.com/repos/rinaz-a/composer-translation-provider","forks_url":"https://api.github.com/repos/rinaz-a/composer-translation-provider/forks","keys_url":"https://api.github.com/repos/rinaz-a/composer-translation-provider/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rinaz-a/composer-translation-provider/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rinaz-a/composer-translation-provider/teams","hooks_url":"https://api.github.com/repos/rinaz-a/composer-translation-provider/hooks","issue_events_url":"https://api.github.com/repos/rinaz-a/composer-translation-provider/issues/events{/number}","events_url":"https://api.github.com/repos/rinaz-a/composer-translation-provider/events","assignees_url":"https://api.github.com/repos/rinaz-a/composer-translation-provider/assignees{/user}","branches_url":"https://api.github.com/repos/rinaz-a/composer-translation-provider/branches{/branch}","tags_url":"https://api.github.com/repos/rinaz-a/composer-translation-provider/tags","blobs_url":"https://api.github.com/repos/rinaz-a/composer-translation-provider/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rinaz-a/composer-translation-provider/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rinaz-a/composer-translation-provider/git/refs{/sha}","trees_url":"https://api.github.com/repos/rinaz-a/composer-translation-provider/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rinaz-a/composer-translation-provider/statuses/{sha}","languages_url":"https://api.github.com/repos/rinaz-a/composer-translation-provider/languages","stargazers_url":"https://api.github.com/repos/rinaz-a/composer-translation-provider/stargazers","contributors_url":"https://api.github.com/repos/rinaz-a/composer-translation-provider/contributors","subscribers_url":"https://api.github.com/repos/rinaz-a/composer-translation-provider/subscribers","subscription_url":"https://api.github.com/repos/rinaz-a/composer-translation-provider/subscription","commits_url":"https://api.github.com/repos/rinaz-a/composer-translation-provider/commits{/sha}","git_commits_url":"https://api.github.com/repos/rinaz-a/composer-translation-provider/git/commits{/sha}","comments_url":"https://api.github.com/repos/rinaz-a/composer-translation-provider/comments{/number}","issue_comment_url":"https://api.github.com/repos/rinaz-a/composer-translation-provider/issues/comments{/number}","contents_url":"https://api.github.com/repos/rinaz-a/composer-translation-provider/contents/{+path}","compare_url":"https://api.github.com/repos/rinaz-a/composer-translation-provider/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rinaz-a/composer-translation-provider/merges","archive_url":"https://api.github.com/repos/rinaz-a/composer-translation-provider/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rinaz-a/composer-translation-provider/downloads","issues_url":"https://api.github.com/repos/rinaz-a/composer-translation-provider/issues{/number}","pulls_url":"https://api.github.com/repos/rinaz-a/composer-translation-provider/pulls{/number}","milestones_url":"https://api.github.com/repos/rinaz-a/composer-translation-provider/milestones{/number}","notifications_url":"https://api.github.com/repos/rinaz-a/composer-translation-provider/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rinaz-a/composer-translation-provider/labels{/name}","releases_url":"https://api.github.com/repos/rinaz-a/composer-translation-provider/releases{/id}","deployments_url":"https://api.github.com/repos/rinaz-a/composer-translation-provider/deployments","created_at":"2016-10-31T13:37:26Z","updated_at":"2016-10-31T11:01:13Z","pushed_at":"2016-11-30T16:30:48Z","git_url":"git://github.com/rinaz-a/composer-translation-provider.git","ssh_url":"git@github.com:rinaz-a/composer-translation-provider.git","clone_url":"https://github.com/rinaz-a/composer-translation-provider.git","svn_url":"https://github.com/rinaz-a/composer-translation-provider","homepage":null,"size":37,"stargazers_count":0,"watchers_count":0,"language":null,"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":"etna-alternance:master","ref":"master","sha":"f9c010a05ae1831aabde1eb942a2f0471f06a591","user":{"login":"etna-alternance","id":2188965,"avatar_url":"https://avatars.githubusercontent.com/u/2188965?v=3","gravatar_id":"","url":"https://api.github.com/users/etna-alternance","html_url":"https://github.com/etna-alternance","followers_url":"https://api.github.com/users/etna-alternance/followers","following_url":"https://api.github.com/users/etna-alternance/following{/other_user}","gists_url":"https://api.github.com/users/etna-alternance/gists{/gist_id}","starred_url":"https://api.github.com/users/etna-alternance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etna-alternance/subscriptions","organizations_url":"https://api.github.com/users/etna-alternance/orgs","repos_url":"https://api.github.com/users/etna-alternance/repos","events_url":"https://api.github.com/users/etna-alternance/events{/privacy}","received_events_url":"https://api.github.com/users/etna-alternance/received_events","type":"Organization","site_admin":false},"repo":{"id":72428418,"name":"composer-translation-provider","full_name":"etna-alternance/composer-translation-provider","owner":{"login":"etna-alternance","id":2188965,"avatar_url":"https://avatars.githubusercontent.com/u/2188965?v=3","gravatar_id":"","url":"https://api.github.com/users/etna-alternance","html_url":"https://github.com/etna-alternance","followers_url":"https://api.github.com/users/etna-alternance/followers","following_url":"https://api.github.com/users/etna-alternance/following{/other_user}","gists_url":"https://api.github.com/users/etna-alternance/gists{/gist_id}","starred_url":"https://api.github.com/users/etna-alternance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etna-alternance/subscriptions","organizations_url":"https://api.github.com/users/etna-alternance/orgs","repos_url":"https://api.github.com/users/etna-alternance/repos","events_url":"https://api.github.com/users/etna-alternance/events{/privacy}","received_events_url":"https://api.github.com/users/etna-alternance/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/etna-alternance/composer-translation-provider","description":null,"fork":false,"url":"https://api.github.com/repos/etna-alternance/composer-translation-provider","forks_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/forks","keys_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/keys{/key_id}","collaborators_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/teams","hooks_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/hooks","issue_events_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/issues/events{/number}","events_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/events","assignees_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/assignees{/user}","branches_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/branches{/branch}","tags_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/tags","blobs_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/git/refs{/sha}","trees_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/git/trees{/sha}","statuses_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/statuses/{sha}","languages_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/languages","stargazers_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/stargazers","contributors_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/contributors","subscribers_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/subscribers","subscription_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/subscription","commits_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/commits{/sha}","git_commits_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/git/commits{/sha}","comments_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/comments{/number}","issue_comment_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/issues/comments{/number}","contents_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/contents/{+path}","compare_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/compare/{base}...{head}","merges_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/merges","archive_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/downloads","issues_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/issues{/number}","pulls_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/pulls{/number}","milestones_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/milestones{/number}","notifications_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/labels{/name}","releases_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/releases{/id}","deployments_url":"https://api.github.com/repos/etna-alternance/composer-translation-provider/deployments","created_at":"2016-10-31T11:01:13Z","updated_at":"2016-10-31T11:01:13Z","pushed_at":"2016-11-30T16:30:49Z","git_url":"git://github.com/etna-alternance/composer-translation-provider.git","ssh_url":"git@github.com:etna-alternance/composer-translation-provider.git","clone_url":"https://github.com/etna-alternance/composer-translation-provider.git","svn_url":"https://github.com/etna-alternance/composer-translation-provider","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/etna-alternance/composer-translation-provider/pulls/1"},"html":{"href":"https://github.com/etna-alternance/composer-translation-provider/pull/1"},"issue":{"href":"https://api.github.com/repos/etna-alternance/composer-translation-provider/issues/1"},"comments":{"href":"https://api.github.com/repos/etna-alternance/composer-translation-provider/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/etna-alternance/composer-translation-provider/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/etna-alternance/composer-translation-provider/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/etna-alternance/composer-translation-provider/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/etna-alternance/composer-translation-provider/statuses/2868c56983168f509579f438fa4ea532b044289b"}}}}
{"actor":{"display_login":"gdubost"}}