{"action":"created","comment":{"url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/pulls/comments/199808168","pull_request_review_id":133998469,"id":199808168,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5OTgwODE2OA==","diff_hunk":"@@ -139,31 +140,29 @@ private function createDeleteForm(Variable $variable)\n     }\n \n     /**\n-     * @Route(\"/add-template-variable/{variableName}/{variableCategory}/{variableTemplate}\", name=\"add_template_variable\")\n+     * @Route(\"/add-template-variable/{variableName}/{variableCategoryId}/{templateId}\", name=\"add_template_variable\")\n      * @Method(\"GET\")\n+     * @Security(\"has_role('ROLE_ADMIN')\")\n      * @param string $variableName\n-     * @param int $variableCategory\n-     * @param int $variableTemplate\n+     * @param VariableCategory $variableCategoryId\n+     * @param Template $templateId\n      * @param ValidatorInterface $validator\n-     * @throws \\Exception\n      * @return JsonResponse\n+     * @throws Exception\n      */\n     public function addTemplateVariable(\n         string $variableName,\n-        int $variableCategory,\n-        int $variableTemplate,\n+        VariableCategory $variableCategoryId,","path":"src/AppBundle/Controller/VariableController.php","position":39,"original_position":39,"commit_id":"9b87c537ae0fee4bdb417bb78b77033bc93b2873","original_commit_id":"9b87c537ae0fee4bdb417bb78b77033bc93b2873","user":{"login":"sblondeau","id":6573541,"node_id":"MDQ6VXNlcjY1NzM1NDE=","avatar_url":"https://avatars3.githubusercontent.com/u/6573541?v=4","gravatar_id":"","url":"https://api.github.com/users/sblondeau","html_url":"https://github.com/sblondeau","followers_url":"https://api.github.com/users/sblondeau/followers","following_url":"https://api.github.com/users/sblondeau/following{/other_user}","gists_url":"https://api.github.com/users/sblondeau/gists{/gist_id}","starred_url":"https://api.github.com/users/sblondeau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sblondeau/subscriptions","organizations_url":"https://api.github.com/users/sblondeau/orgs","repos_url":"https://api.github.com/users/sblondeau/repos","events_url":"https://api.github.com/users/sblondeau/events{/privacy}","received_events_url":"https://api.github.com/users/sblondeau/received_events","type":"User","site_admin":false},"body":"bah ok mais tu n'as pas renommé tes variables... du coup tu as un objet VariableCategory dans une variable $variableCategoryId (et pareil pour Template)","created_at":"2018-07-03T13:33:25Z","updated_at":"2018-07-03T13:33:38Z","html_url":"https://github.com/WildCodeSchool/orleans-0218-projetio/pull/129#discussion_r199808168","pull_request_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/pulls/129","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/pulls/comments/199808168"},"html":{"href":"https://github.com/WildCodeSchool/orleans-0218-projetio/pull/129#discussion_r199808168"},"pull_request":{"href":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/pulls/129"}}},"pull_request":{"url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/pulls/129","id":198897574,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4ODk3NTc0","html_url":"https://github.com/WildCodeSchool/orleans-0218-projetio/pull/129","diff_url":"https://github.com/WildCodeSchool/orleans-0218-projetio/pull/129.diff","patch_url":"https://github.com/WildCodeSchool/orleans-0218-projetio/pull/129.patch","issue_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/issues/129","number":129,"state":"open","locked":false,"title":"S7 us91 suppression var doc","user":{"login":"jeromelegrand","id":20427810,"node_id":"MDQ6VXNlcjIwNDI3ODEw","avatar_url":"https://avatars0.githubusercontent.com/u/20427810?v=4","gravatar_id":"","url":"https://api.github.com/users/jeromelegrand","html_url":"https://github.com/jeromelegrand","followers_url":"https://api.github.com/users/jeromelegrand/followers","following_url":"https://api.github.com/users/jeromelegrand/following{/other_user}","gists_url":"https://api.github.com/users/jeromelegrand/gists{/gist_id}","starred_url":"https://api.github.com/users/jeromelegrand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeromelegrand/subscriptions","organizations_url":"https://api.github.com/users/jeromelegrand/orgs","repos_url":"https://api.github.com/users/jeromelegrand/repos","events_url":"https://api.github.com/users/jeromelegrand/events{/privacy}","received_events_url":"https://api.github.com/users/jeromelegrand/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-07-03T09:11:30Z","updated_at":"2018-07-03T13:33:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"08ecbfed6035873b9027bd557ebe72c400016cab","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":940810774,"node_id":"MDU6TGFiZWw5NDA4MTA3NzQ=","url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/labels/Correction%20done","name":"Correction done","color":"0e8a16","default":false},{"id":940810045,"node_id":"MDU6TGFiZWw5NDA4MTAwNDU=","url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/labels/Reviewed%20by%20PO","name":"Reviewed by PO","color":"5319e7","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/pulls/129/commits","review_comments_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/pulls/129/comments","review_comment_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/pulls/comments{/number}","comments_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/issues/129/comments","statuses_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/statuses/9b87c537ae0fee4bdb417bb78b77033bc93b2873","head":{"label":"WildCodeSchool:S7_US91_suppression_var_doc","ref":"S7_US91_suppression_var_doc","sha":"9b87c537ae0fee4bdb417bb78b77033bc93b2873","user":{"login":"WildCodeSchool","id":8874047,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4NzQwNDc=","avatar_url":"https://avatars3.githubusercontent.com/u/8874047?v=4","gravatar_id":"","url":"https://api.github.com/users/WildCodeSchool","html_url":"https://github.com/WildCodeSchool","followers_url":"https://api.github.com/users/WildCodeSchool/followers","following_url":"https://api.github.com/users/WildCodeSchool/following{/other_user}","gists_url":"https://api.github.com/users/WildCodeSchool/gists{/gist_id}","starred_url":"https://api.github.com/users/WildCodeSchool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WildCodeSchool/subscriptions","organizations_url":"https://api.github.com/users/WildCodeSchool/orgs","repos_url":"https://api.github.com/users/WildCodeSchool/repos","events_url":"https://api.github.com/users/WildCodeSchool/events{/privacy}","received_events_url":"https://api.github.com/users/WildCodeSchool/received_events","type":"Organization","site_admin":false},"repo":{"id":133515559,"node_id":"MDEwOlJlcG9zaXRvcnkxMzM1MTU1NTk=","name":"orleans-0218-projetio","full_name":"WildCodeSchool/orleans-0218-projetio","owner":{"login":"WildCodeSchool","id":8874047,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4NzQwNDc=","avatar_url":"https://avatars3.githubusercontent.com/u/8874047?v=4","gravatar_id":"","url":"https://api.github.com/users/WildCodeSchool","html_url":"https://github.com/WildCodeSchool","followers_url":"https://api.github.com/users/WildCodeSchool/followers","following_url":"https://api.github.com/users/WildCodeSchool/following{/other_user}","gists_url":"https://api.github.com/users/WildCodeSchool/gists{/gist_id}","starred_url":"https://api.github.com/users/WildCodeSchool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WildCodeSchool/subscriptions","organizations_url":"https://api.github.com/users/WildCodeSchool/orgs","repos_url":"https://api.github.com/users/WildCodeSchool/repos","events_url":"https://api.github.com/users/WildCodeSchool/events{/privacy}","received_events_url":"https://api.github.com/users/WildCodeSchool/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WildCodeSchool/orleans-0218-projetio","description":null,"fork":false,"url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio","forks_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/forks","keys_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/teams","hooks_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/hooks","issue_events_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/issues/events{/number}","events_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/events","assignees_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/assignees{/user}","branches_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/branches{/branch}","tags_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/tags","blobs_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/git/refs{/sha}","trees_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/statuses/{sha}","languages_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/languages","stargazers_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/stargazers","contributors_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/contributors","subscribers_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/subscribers","subscription_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/subscription","commits_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/commits{/sha}","git_commits_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/git/commits{/sha}","comments_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/comments{/number}","issue_comment_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/issues/comments{/number}","contents_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/contents/{+path}","compare_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/merges","archive_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/downloads","issues_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/issues{/number}","pulls_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/pulls{/number}","milestones_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/milestones{/number}","notifications_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/labels{/name}","releases_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/releases{/id}","deployments_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/deployments","created_at":"2018-05-15T12:51:35Z","updated_at":"2018-07-02T11:43:32Z","pushed_at":"2018-07-03T12:30:30Z","git_url":"git://github.com/WildCodeSchool/orleans-0218-projetio.git","ssh_url":"git@github.com:WildCodeSchool/orleans-0218-projetio.git","clone_url":"https://github.com/WildCodeSchool/orleans-0218-projetio.git","svn_url":"https://github.com/WildCodeSchool/orleans-0218-projetio","homepage":null,"size":958,"stargazers_count":3,"watchers_count":3,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":8,"license":null,"forks":0,"open_issues":8,"watchers":3,"default_branch":"master"}},"base":{"label":"WildCodeSchool:dev","ref":"dev","sha":"3b4574e4665fbc256be505e48d35cef87f506a05","user":{"login":"WildCodeSchool","id":8874047,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4NzQwNDc=","avatar_url":"https://avatars3.githubusercontent.com/u/8874047?v=4","gravatar_id":"","url":"https://api.github.com/users/WildCodeSchool","html_url":"https://github.com/WildCodeSchool","followers_url":"https://api.github.com/users/WildCodeSchool/followers","following_url":"https://api.github.com/users/WildCodeSchool/following{/other_user}","gists_url":"https://api.github.com/users/WildCodeSchool/gists{/gist_id}","starred_url":"https://api.github.com/users/WildCodeSchool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WildCodeSchool/subscriptions","organizations_url":"https://api.github.com/users/WildCodeSchool/orgs","repos_url":"https://api.github.com/users/WildCodeSchool/repos","events_url":"https://api.github.com/users/WildCodeSchool/events{/privacy}","received_events_url":"https://api.github.com/users/WildCodeSchool/received_events","type":"Organization","site_admin":false},"repo":{"id":133515559,"node_id":"MDEwOlJlcG9zaXRvcnkxMzM1MTU1NTk=","name":"orleans-0218-projetio","full_name":"WildCodeSchool/orleans-0218-projetio","owner":{"login":"WildCodeSchool","id":8874047,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4NzQwNDc=","avatar_url":"https://avatars3.githubusercontent.com/u/8874047?v=4","gravatar_id":"","url":"https://api.github.com/users/WildCodeSchool","html_url":"https://github.com/WildCodeSchool","followers_url":"https://api.github.com/users/WildCodeSchool/followers","following_url":"https://api.github.com/users/WildCodeSchool/following{/other_user}","gists_url":"https://api.github.com/users/WildCodeSchool/gists{/gist_id}","starred_url":"https://api.github.com/users/WildCodeSchool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WildCodeSchool/subscriptions","organizations_url":"https://api.github.com/users/WildCodeSchool/orgs","repos_url":"https://api.github.com/users/WildCodeSchool/repos","events_url":"https://api.github.com/users/WildCodeSchool/events{/privacy}","received_events_url":"https://api.github.com/users/WildCodeSchool/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WildCodeSchool/orleans-0218-projetio","description":null,"fork":false,"url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio","forks_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/forks","keys_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/teams","hooks_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/hooks","issue_events_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/issues/events{/number}","events_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/events","assignees_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/assignees{/user}","branches_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/branches{/branch}","tags_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/tags","blobs_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/git/refs{/sha}","trees_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/statuses/{sha}","languages_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/languages","stargazers_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/stargazers","contributors_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/contributors","subscribers_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/subscribers","subscription_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/subscription","commits_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/commits{/sha}","git_commits_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/git/commits{/sha}","comments_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/comments{/number}","issue_comment_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/issues/comments{/number}","contents_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/contents/{+path}","compare_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/merges","archive_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/downloads","issues_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/issues{/number}","pulls_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/pulls{/number}","milestones_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/milestones{/number}","notifications_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/labels{/name}","releases_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/releases{/id}","deployments_url":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/deployments","created_at":"2018-05-15T12:51:35Z","updated_at":"2018-07-02T11:43:32Z","pushed_at":"2018-07-03T12:30:30Z","git_url":"git://github.com/WildCodeSchool/orleans-0218-projetio.git","ssh_url":"git@github.com:WildCodeSchool/orleans-0218-projetio.git","clone_url":"https://github.com/WildCodeSchool/orleans-0218-projetio.git","svn_url":"https://github.com/WildCodeSchool/orleans-0218-projetio","homepage":null,"size":958,"stargazers_count":3,"watchers_count":3,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":8,"license":null,"forks":0,"open_issues":8,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/pulls/129"},"html":{"href":"https://github.com/WildCodeSchool/orleans-0218-projetio/pull/129"},"issue":{"href":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/issues/129"},"comments":{"href":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/issues/129/comments"},"review_comments":{"href":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/pulls/129/comments"},"review_comment":{"href":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/pulls/129/commits"},"statuses":{"href":"https://api.github.com/repos/WildCodeSchool/orleans-0218-projetio/statuses/9b87c537ae0fee4bdb417bb78b77033bc93b2873"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"sblondeau"}}