{"action":"created","comment":{"url":"https://api.github.com/repos/TIS2017/Nobelisti/pulls/comments/167832692","pull_request_review_id":96104958,"id":167832692,"diff_hunk":"@@ -167,7 +169,19 @@ public function testEventLanguagesAction($eventTypeId, Request $request)\n                 }\n             }\n \n-            return $this->redirectToRoute('event_types_edit', ['id' => $eventType->getId(), 'notFoundLanguages' => $notFoundLanguages]);\n+            $this->showNotFoundLanguagesFlash($notFoundLanguages);\n+\n+            return $this->redirectToRoute('event_types_edit', ['id' => $eventType->getId()]);\n+        }\n+    }\n+\n+    private function showNotFoundLanguagesFlash($notFoundLanguages)\n+    {\n+        if(empty($notFoundLanguages)) {\n+            $this->addFlash('success', \"All languages are set correctly.\");\n+        } else {\n+            $message = \"The following messages are missing: \" . join(\", \", $notFoundLanguages);","path":"src/src/TemplateBundle/Controller/WebTestController.php","position":27,"original_position":27,"commit_id":"ce8f45e036d993514ef24065a771a0d6b668b854","original_commit_id":"ce8f45e036d993514ef24065a771a0d6b668b854","user":{"login":"viktorria","id":20443134,"avatar_url":"https://avatars0.githubusercontent.com/u/20443134?v=4","gravatar_id":"","url":"https://api.github.com/users/viktorria","html_url":"https://github.com/viktorria","followers_url":"https://api.github.com/users/viktorria/followers","following_url":"https://api.github.com/users/viktorria/following{/other_user}","gists_url":"https://api.github.com/users/viktorria/gists{/gist_id}","starred_url":"https://api.github.com/users/viktorria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viktorria/subscriptions","organizations_url":"https://api.github.com/users/viktorria/orgs","repos_url":"https://api.github.com/users/viktorria/repos","events_url":"https://api.github.com/users/viktorria/events{/privacy}","received_events_url":"https://api.github.com/users/viktorria/received_events","type":"User","site_admin":false},"body":"The following languages?","created_at":"2018-02-13T11:13:38Z","updated_at":"2018-02-13T11:14:13Z","html_url":"https://github.com/TIS2017/Nobelisti/pull/130#discussion_r167832692","pull_request_url":"https://api.github.com/repos/TIS2017/Nobelisti/pulls/130","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/TIS2017/Nobelisti/pulls/comments/167832692"},"html":{"href":"https://github.com/TIS2017/Nobelisti/pull/130#discussion_r167832692"},"pull_request":{"href":"https://api.github.com/repos/TIS2017/Nobelisti/pulls/130"}}},"pull_request":{"url":"https://api.github.com/repos/TIS2017/Nobelisti/pulls/130","id":168814762,"html_url":"https://github.com/TIS2017/Nobelisti/pull/130","diff_url":"https://github.com/TIS2017/Nobelisti/pull/130.diff","patch_url":"https://github.com/TIS2017/Nobelisti/pull/130.patch","issue_url":"https://api.github.com/repos/TIS2017/Nobelisti/issues/130","number":130,"state":"open","locked":false,"title":"Issue #128 - Fix language testing - it's not a rocket science...","user":{"login":"ZoltanOnody","id":1943747,"avatar_url":"https://avatars2.githubusercontent.com/u/1943747?v=4","gravatar_id":"","url":"https://api.github.com/users/ZoltanOnody","html_url":"https://github.com/ZoltanOnody","followers_url":"https://api.github.com/users/ZoltanOnody/followers","following_url":"https://api.github.com/users/ZoltanOnody/following{/other_user}","gists_url":"https://api.github.com/users/ZoltanOnody/gists{/gist_id}","starred_url":"https://api.github.com/users/ZoltanOnody/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZoltanOnody/subscriptions","organizations_url":"https://api.github.com/users/ZoltanOnody/orgs","repos_url":"https://api.github.com/users/ZoltanOnody/repos","events_url":"https://api.github.com/users/ZoltanOnody/events{/privacy}","received_events_url":"https://api.github.com/users/ZoltanOnody/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-13T11:04:10Z","updated_at":"2018-02-13T11:14:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"35bdff8373f38de986f0223b0e0628f38d65ca12","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/TIS2017/Nobelisti/pulls/130/commits","review_comments_url":"https://api.github.com/repos/TIS2017/Nobelisti/pulls/130/comments","review_comment_url":"https://api.github.com/repos/TIS2017/Nobelisti/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TIS2017/Nobelisti/issues/130/comments","statuses_url":"https://api.github.com/repos/TIS2017/Nobelisti/statuses/ce8f45e036d993514ef24065a771a0d6b668b854","head":{"label":"TIS2017:issue-128-bugfix","ref":"issue-128-bugfix","sha":"ce8f45e036d993514ef24065a771a0d6b668b854","user":{"login":"TIS2017","id":31984936,"avatar_url":"https://avatars1.githubusercontent.com/u/31984936?v=4","gravatar_id":"","url":"https://api.github.com/users/TIS2017","html_url":"https://github.com/TIS2017","followers_url":"https://api.github.com/users/TIS2017/followers","following_url":"https://api.github.com/users/TIS2017/following{/other_user}","gists_url":"https://api.github.com/users/TIS2017/gists{/gist_id}","starred_url":"https://api.github.com/users/TIS2017/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TIS2017/subscriptions","organizations_url":"https://api.github.com/users/TIS2017/orgs","repos_url":"https://api.github.com/users/TIS2017/repos","events_url":"https://api.github.com/users/TIS2017/events{/privacy}","received_events_url":"https://api.github.com/users/TIS2017/received_events","type":"Organization","site_admin":false},"repo":{"id":105979039,"name":"Nobelisti","full_name":"TIS2017/Nobelisti","owner":{"login":"TIS2017","id":31984936,"avatar_url":"https://avatars1.githubusercontent.com/u/31984936?v=4","gravatar_id":"","url":"https://api.github.com/users/TIS2017","html_url":"https://github.com/TIS2017","followers_url":"https://api.github.com/users/TIS2017/followers","following_url":"https://api.github.com/users/TIS2017/following{/other_user}","gists_url":"https://api.github.com/users/TIS2017/gists{/gist_id}","starred_url":"https://api.github.com/users/TIS2017/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TIS2017/subscriptions","organizations_url":"https://api.github.com/users/TIS2017/orgs","repos_url":"https://api.github.com/users/TIS2017/repos","events_url":"https://api.github.com/users/TIS2017/events{/privacy}","received_events_url":"https://api.github.com/users/TIS2017/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TIS2017/Nobelisti","description":null,"fork":false,"url":"https://api.github.com/repos/TIS2017/Nobelisti","forks_url":"https://api.github.com/repos/TIS2017/Nobelisti/forks","keys_url":"https://api.github.com/repos/TIS2017/Nobelisti/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TIS2017/Nobelisti/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TIS2017/Nobelisti/teams","hooks_url":"https://api.github.com/repos/TIS2017/Nobelisti/hooks","issue_events_url":"https://api.github.com/repos/TIS2017/Nobelisti/issues/events{/number}","events_url":"https://api.github.com/repos/TIS2017/Nobelisti/events","assignees_url":"https://api.github.com/repos/TIS2017/Nobelisti/assignees{/user}","branches_url":"https://api.github.com/repos/TIS2017/Nobelisti/branches{/branch}","tags_url":"https://api.github.com/repos/TIS2017/Nobelisti/tags","blobs_url":"https://api.github.com/repos/TIS2017/Nobelisti/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TIS2017/Nobelisti/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TIS2017/Nobelisti/git/refs{/sha}","trees_url":"https://api.github.com/repos/TIS2017/Nobelisti/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TIS2017/Nobelisti/statuses/{sha}","languages_url":"https://api.github.com/repos/TIS2017/Nobelisti/languages","stargazers_url":"https://api.github.com/repos/TIS2017/Nobelisti/stargazers","contributors_url":"https://api.github.com/repos/TIS2017/Nobelisti/contributors","subscribers_url":"https://api.github.com/repos/TIS2017/Nobelisti/subscribers","subscription_url":"https://api.github.com/repos/TIS2017/Nobelisti/subscription","commits_url":"https://api.github.com/repos/TIS2017/Nobelisti/commits{/sha}","git_commits_url":"https://api.github.com/repos/TIS2017/Nobelisti/git/commits{/sha}","comments_url":"https://api.github.com/repos/TIS2017/Nobelisti/comments{/number}","issue_comment_url":"https://api.github.com/repos/TIS2017/Nobelisti/issues/comments{/number}","contents_url":"https://api.github.com/repos/TIS2017/Nobelisti/contents/{+path}","compare_url":"https://api.github.com/repos/TIS2017/Nobelisti/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TIS2017/Nobelisti/merges","archive_url":"https://api.github.com/repos/TIS2017/Nobelisti/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TIS2017/Nobelisti/downloads","issues_url":"https://api.github.com/repos/TIS2017/Nobelisti/issues{/number}","pulls_url":"https://api.github.com/repos/TIS2017/Nobelisti/pulls{/number}","milestones_url":"https://api.github.com/repos/TIS2017/Nobelisti/milestones{/number}","notifications_url":"https://api.github.com/repos/TIS2017/Nobelisti/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TIS2017/Nobelisti/labels{/name}","releases_url":"https://api.github.com/repos/TIS2017/Nobelisti/releases{/id}","deployments_url":"https://api.github.com/repos/TIS2017/Nobelisti/deployments","created_at":"2017-10-06T07:39:17Z","updated_at":"2017-12-09T08:31:20Z","pushed_at":"2018-02-13T11:12:17Z","git_url":"git://github.com/TIS2017/Nobelisti.git","ssh_url":"git@github.com:TIS2017/Nobelisti.git","clone_url":"https://github.com/TIS2017/Nobelisti.git","svn_url":"https://github.com/TIS2017/Nobelisti","homepage":null,"size":2915,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":4,"license":null,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"TIS2017:master","ref":"master","sha":"0b9ecd0338ecb17917cb760ded9d24acdc892ef0","user":{"login":"TIS2017","id":31984936,"avatar_url":"https://avatars1.githubusercontent.com/u/31984936?v=4","gravatar_id":"","url":"https://api.github.com/users/TIS2017","html_url":"https://github.com/TIS2017","followers_url":"https://api.github.com/users/TIS2017/followers","following_url":"https://api.github.com/users/TIS2017/following{/other_user}","gists_url":"https://api.github.com/users/TIS2017/gists{/gist_id}","starred_url":"https://api.github.com/users/TIS2017/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TIS2017/subscriptions","organizations_url":"https://api.github.com/users/TIS2017/orgs","repos_url":"https://api.github.com/users/TIS2017/repos","events_url":"https://api.github.com/users/TIS2017/events{/privacy}","received_events_url":"https://api.github.com/users/TIS2017/received_events","type":"Organization","site_admin":false},"repo":{"id":105979039,"name":"Nobelisti","full_name":"TIS2017/Nobelisti","owner":{"login":"TIS2017","id":31984936,"avatar_url":"https://avatars1.githubusercontent.com/u/31984936?v=4","gravatar_id":"","url":"https://api.github.com/users/TIS2017","html_url":"https://github.com/TIS2017","followers_url":"https://api.github.com/users/TIS2017/followers","following_url":"https://api.github.com/users/TIS2017/following{/other_user}","gists_url":"https://api.github.com/users/TIS2017/gists{/gist_id}","starred_url":"https://api.github.com/users/TIS2017/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TIS2017/subscriptions","organizations_url":"https://api.github.com/users/TIS2017/orgs","repos_url":"https://api.github.com/users/TIS2017/repos","events_url":"https://api.github.com/users/TIS2017/events{/privacy}","received_events_url":"https://api.github.com/users/TIS2017/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TIS2017/Nobelisti","description":null,"fork":false,"url":"https://api.github.com/repos/TIS2017/Nobelisti","forks_url":"https://api.github.com/repos/TIS2017/Nobelisti/forks","keys_url":"https://api.github.com/repos/TIS2017/Nobelisti/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TIS2017/Nobelisti/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TIS2017/Nobelisti/teams","hooks_url":"https://api.github.com/repos/TIS2017/Nobelisti/hooks","issue_events_url":"https://api.github.com/repos/TIS2017/Nobelisti/issues/events{/number}","events_url":"https://api.github.com/repos/TIS2017/Nobelisti/events","assignees_url":"https://api.github.com/repos/TIS2017/Nobelisti/assignees{/user}","branches_url":"https://api.github.com/repos/TIS2017/Nobelisti/branches{/branch}","tags_url":"https://api.github.com/repos/TIS2017/Nobelisti/tags","blobs_url":"https://api.github.com/repos/TIS2017/Nobelisti/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TIS2017/Nobelisti/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TIS2017/Nobelisti/git/refs{/sha}","trees_url":"https://api.github.com/repos/TIS2017/Nobelisti/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TIS2017/Nobelisti/statuses/{sha}","languages_url":"https://api.github.com/repos/TIS2017/Nobelisti/languages","stargazers_url":"https://api.github.com/repos/TIS2017/Nobelisti/stargazers","contributors_url":"https://api.github.com/repos/TIS2017/Nobelisti/contributors","subscribers_url":"https://api.github.com/repos/TIS2017/Nobelisti/subscribers","subscription_url":"https://api.github.com/repos/TIS2017/Nobelisti/subscription","commits_url":"https://api.github.com/repos/TIS2017/Nobelisti/commits{/sha}","git_commits_url":"https://api.github.com/repos/TIS2017/Nobelisti/git/commits{/sha}","comments_url":"https://api.github.com/repos/TIS2017/Nobelisti/comments{/number}","issue_comment_url":"https://api.github.com/repos/TIS2017/Nobelisti/issues/comments{/number}","contents_url":"https://api.github.com/repos/TIS2017/Nobelisti/contents/{+path}","compare_url":"https://api.github.com/repos/TIS2017/Nobelisti/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TIS2017/Nobelisti/merges","archive_url":"https://api.github.com/repos/TIS2017/Nobelisti/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TIS2017/Nobelisti/downloads","issues_url":"https://api.github.com/repos/TIS2017/Nobelisti/issues{/number}","pulls_url":"https://api.github.com/repos/TIS2017/Nobelisti/pulls{/number}","milestones_url":"https://api.github.com/repos/TIS2017/Nobelisti/milestones{/number}","notifications_url":"https://api.github.com/repos/TIS2017/Nobelisti/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TIS2017/Nobelisti/labels{/name}","releases_url":"https://api.github.com/repos/TIS2017/Nobelisti/releases{/id}","deployments_url":"https://api.github.com/repos/TIS2017/Nobelisti/deployments","created_at":"2017-10-06T07:39:17Z","updated_at":"2017-12-09T08:31:20Z","pushed_at":"2018-02-13T11:12:17Z","git_url":"git://github.com/TIS2017/Nobelisti.git","ssh_url":"git@github.com:TIS2017/Nobelisti.git","clone_url":"https://github.com/TIS2017/Nobelisti.git","svn_url":"https://github.com/TIS2017/Nobelisti","homepage":null,"size":2915,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":4,"license":null,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TIS2017/Nobelisti/pulls/130"},"html":{"href":"https://github.com/TIS2017/Nobelisti/pull/130"},"issue":{"href":"https://api.github.com/repos/TIS2017/Nobelisti/issues/130"},"comments":{"href":"https://api.github.com/repos/TIS2017/Nobelisti/issues/130/comments"},"review_comments":{"href":"https://api.github.com/repos/TIS2017/Nobelisti/pulls/130/comments"},"review_comment":{"href":"https://api.github.com/repos/TIS2017/Nobelisti/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TIS2017/Nobelisti/pulls/130/commits"},"statuses":{"href":"https://api.github.com/repos/TIS2017/Nobelisti/statuses/ce8f45e036d993514ef24065a771a0d6b668b854"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"viktorria"}}