{"action":"created","comment":{"url":"https://api.github.com/repos/ezsystems/repository-forms/pulls/comments/42722513","id":42722513,"diff_hunk":"@@ -0,0 +1,44 @@\n+<?php\n+/**\n+ * This file is part of the eZ RepositoryForms package.\n+ *\n+ * @copyright Copyright (C) eZ Systems AS. All rights reserved.\n+ * @license For full copyright and license information view LICENSE file distributed with this source code.\n+ * @version //autogentag//\n+ */\n+namespace EzSystems\\RepositoryForms\\Form\\Type\\Language;\n+\n+use eZ\\Publish\\API\\Repository\\LanguageService;\n+use Symfony\\Component\\Form\\AbstractType;\n+use Symfony\\Component\\Form\\FormBuilderInterface;\n+use Symfony\\Component\\OptionsResolver\\OptionsResolver;\n+\n+class LanguageDeleteType extends AbstractType\n+{\n+    /**\n+     * @var LanguageService\n+     */\n+    private $languageService;\n+\n+    public function __construct(LanguageService $languageService)\n+    {\n+        $this->languageService = $languageService;","path":"lib/Form/Type/Language/LanguageDeleteType.php","position":25,"original_position":25,"commit_id":"07315206fd23c1f1d9b2b76e120fc4665f9a1f9f","original_commit_id":"07315206fd23c1f1d9b2b76e120fc4665f9a1f9f","user":{"login":"lolautruche","id":313528,"avatar_url":"https://avatars.githubusercontent.com/u/313528?v=3","gravatar_id":"","url":"https://api.github.com/users/lolautruche","html_url":"https://github.com/lolautruche","followers_url":"https://api.github.com/users/lolautruche/followers","following_url":"https://api.github.com/users/lolautruche/following{/other_user}","gists_url":"https://api.github.com/users/lolautruche/gists{/gist_id}","starred_url":"https://api.github.com/users/lolautruche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lolautruche/subscriptions","organizations_url":"https://api.github.com/users/lolautruche/orgs","repos_url":"https://api.github.com/users/lolautruche/repos","events_url":"https://api.github.com/users/lolautruche/events{/privacy}","received_events_url":"https://api.github.com/users/lolautruche/received_events","type":"User","site_admin":false},"body":"You don't seem to need the language service here","created_at":"2015-10-22T08:27:56Z","updated_at":"2015-10-22T08:27:56Z","html_url":"https://github.com/ezsystems/repository-forms/pull/51#discussion_r42722513","pull_request_url":"https://api.github.com/repos/ezsystems/repository-forms/pulls/51","_links":{"self":{"href":"https://api.github.com/repos/ezsystems/repository-forms/pulls/comments/42722513"},"html":{"href":"https://github.com/ezsystems/repository-forms/pull/51#discussion_r42722513"},"pull_request":{"href":"https://api.github.com/repos/ezsystems/repository-forms/pulls/51"}}},"pull_request":{"url":"https://api.github.com/repos/ezsystems/repository-forms/pulls/51","id":48392877,"html_url":"https://github.com/ezsystems/repository-forms/pull/51","diff_url":"https://github.com/ezsystems/repository-forms/pull/51.diff","patch_url":"https://github.com/ezsystems/repository-forms/pull/51.patch","issue_url":"https://api.github.com/repos/ezsystems/repository-forms/issues/51","number":51,"state":"open","locked":false,"title":"EZP-22658: Add Repo form support for Languages","user":{"login":"andrerom","id":289757,"avatar_url":"https://avatars.githubusercontent.com/u/289757?v=3","gravatar_id":"","url":"https://api.github.com/users/andrerom","html_url":"https://github.com/andrerom","followers_url":"https://api.github.com/users/andrerom/followers","following_url":"https://api.github.com/users/andrerom/following{/other_user}","gists_url":"https://api.github.com/users/andrerom/gists{/gist_id}","starred_url":"https://api.github.com/users/andrerom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrerom/subscriptions","organizations_url":"https://api.github.com/users/andrerom/orgs","repos_url":"https://api.github.com/users/andrerom/repos","events_url":"https://api.github.com/users/andrerom/events{/privacy}","received_events_url":"https://api.github.com/users/andrerom/received_events","type":"User","site_admin":false},"body":"https://jira.ez.no/browse/EZP-22658","created_at":"2015-10-21T21:50:58Z","updated_at":"2015-10-22T08:27:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0bf2c47c274f655f3979b43dc95782bae4d04835","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ezsystems/repository-forms/pulls/51/commits","review_comments_url":"https://api.github.com/repos/ezsystems/repository-forms/pulls/51/comments","review_comment_url":"https://api.github.com/repos/ezsystems/repository-forms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ezsystems/repository-forms/issues/51/comments","statuses_url":"https://api.github.com/repos/ezsystems/repository-forms/statuses/07315206fd23c1f1d9b2b76e120fc4665f9a1f9f","head":{"label":"ezsystems:languages","ref":"languages","sha":"07315206fd23c1f1d9b2b76e120fc4665f9a1f9f","user":{"login":"ezsystems","id":295311,"avatar_url":"https://avatars.githubusercontent.com/u/295311?v=3","gravatar_id":"","url":"https://api.github.com/users/ezsystems","html_url":"https://github.com/ezsystems","followers_url":"https://api.github.com/users/ezsystems/followers","following_url":"https://api.github.com/users/ezsystems/following{/other_user}","gists_url":"https://api.github.com/users/ezsystems/gists{/gist_id}","starred_url":"https://api.github.com/users/ezsystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezsystems/subscriptions","organizations_url":"https://api.github.com/users/ezsystems/orgs","repos_url":"https://api.github.com/users/ezsystems/repos","events_url":"https://api.github.com/users/ezsystems/events{/privacy}","received_events_url":"https://api.github.com/users/ezsystems/received_events","type":"Organization","site_admin":false},"repo":{"id":34457958,"name":"repository-forms","full_name":"ezsystems/repository-forms","owner":{"login":"ezsystems","id":295311,"avatar_url":"https://avatars.githubusercontent.com/u/295311?v=3","gravatar_id":"","url":"https://api.github.com/users/ezsystems","html_url":"https://github.com/ezsystems","followers_url":"https://api.github.com/users/ezsystems/followers","following_url":"https://api.github.com/users/ezsystems/following{/other_user}","gists_url":"https://api.github.com/users/ezsystems/gists{/gist_id}","starred_url":"https://api.github.com/users/ezsystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezsystems/subscriptions","organizations_url":"https://api.github.com/users/ezsystems/orgs","repos_url":"https://api.github.com/users/ezsystems/repos","events_url":"https://api.github.com/users/ezsystems/events{/privacy}","received_events_url":"https://api.github.com/users/ezsystems/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ezsystems/repository-forms","description":"","fork":false,"url":"https://api.github.com/repos/ezsystems/repository-forms","forks_url":"https://api.github.com/repos/ezsystems/repository-forms/forks","keys_url":"https://api.github.com/repos/ezsystems/repository-forms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ezsystems/repository-forms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ezsystems/repository-forms/teams","hooks_url":"https://api.github.com/repos/ezsystems/repository-forms/hooks","issue_events_url":"https://api.github.com/repos/ezsystems/repository-forms/issues/events{/number}","events_url":"https://api.github.com/repos/ezsystems/repository-forms/events","assignees_url":"https://api.github.com/repos/ezsystems/repository-forms/assignees{/user}","branches_url":"https://api.github.com/repos/ezsystems/repository-forms/branches{/branch}","tags_url":"https://api.github.com/repos/ezsystems/repository-forms/tags","blobs_url":"https://api.github.com/repos/ezsystems/repository-forms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ezsystems/repository-forms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ezsystems/repository-forms/git/refs{/sha}","trees_url":"https://api.github.com/repos/ezsystems/repository-forms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ezsystems/repository-forms/statuses/{sha}","languages_url":"https://api.github.com/repos/ezsystems/repository-forms/languages","stargazers_url":"https://api.github.com/repos/ezsystems/repository-forms/stargazers","contributors_url":"https://api.github.com/repos/ezsystems/repository-forms/contributors","subscribers_url":"https://api.github.com/repos/ezsystems/repository-forms/subscribers","subscription_url":"https://api.github.com/repos/ezsystems/repository-forms/subscription","commits_url":"https://api.github.com/repos/ezsystems/repository-forms/commits{/sha}","git_commits_url":"https://api.github.com/repos/ezsystems/repository-forms/git/commits{/sha}","comments_url":"https://api.github.com/repos/ezsystems/repository-forms/comments{/number}","issue_comment_url":"https://api.github.com/repos/ezsystems/repository-forms/issues/comments{/number}","contents_url":"https://api.github.com/repos/ezsystems/repository-forms/contents/{+path}","compare_url":"https://api.github.com/repos/ezsystems/repository-forms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ezsystems/repository-forms/merges","archive_url":"https://api.github.com/repos/ezsystems/repository-forms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ezsystems/repository-forms/downloads","issues_url":"https://api.github.com/repos/ezsystems/repository-forms/issues{/number}","pulls_url":"https://api.github.com/repos/ezsystems/repository-forms/pulls{/number}","milestones_url":"https://api.github.com/repos/ezsystems/repository-forms/milestones{/number}","notifications_url":"https://api.github.com/repos/ezsystems/repository-forms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ezsystems/repository-forms/labels{/name}","releases_url":"https://api.github.com/repos/ezsystems/repository-forms/releases{/id}","created_at":"2015-04-23T13:30:07Z","updated_at":"2015-09-29T12:12:10Z","pushed_at":"2015-10-22T07:43:18Z","git_url":"git://github.com/ezsystems/repository-forms.git","ssh_url":"git@github.com:ezsystems/repository-forms.git","clone_url":"https://github.com/ezsystems/repository-forms.git","svn_url":"https://github.com/ezsystems/repository-forms","homepage":null,"size":1065,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":2,"forks":6,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"ezsystems:master","ref":"master","sha":"5bdd1c111d57c59f60bfb38bef5594870e093d47","user":{"login":"ezsystems","id":295311,"avatar_url":"https://avatars.githubusercontent.com/u/295311?v=3","gravatar_id":"","url":"https://api.github.com/users/ezsystems","html_url":"https://github.com/ezsystems","followers_url":"https://api.github.com/users/ezsystems/followers","following_url":"https://api.github.com/users/ezsystems/following{/other_user}","gists_url":"https://api.github.com/users/ezsystems/gists{/gist_id}","starred_url":"https://api.github.com/users/ezsystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezsystems/subscriptions","organizations_url":"https://api.github.com/users/ezsystems/orgs","repos_url":"https://api.github.com/users/ezsystems/repos","events_url":"https://api.github.com/users/ezsystems/events{/privacy}","received_events_url":"https://api.github.com/users/ezsystems/received_events","type":"Organization","site_admin":false},"repo":{"id":34457958,"name":"repository-forms","full_name":"ezsystems/repository-forms","owner":{"login":"ezsystems","id":295311,"avatar_url":"https://avatars.githubusercontent.com/u/295311?v=3","gravatar_id":"","url":"https://api.github.com/users/ezsystems","html_url":"https://github.com/ezsystems","followers_url":"https://api.github.com/users/ezsystems/followers","following_url":"https://api.github.com/users/ezsystems/following{/other_user}","gists_url":"https://api.github.com/users/ezsystems/gists{/gist_id}","starred_url":"https://api.github.com/users/ezsystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezsystems/subscriptions","organizations_url":"https://api.github.com/users/ezsystems/orgs","repos_url":"https://api.github.com/users/ezsystems/repos","events_url":"https://api.github.com/users/ezsystems/events{/privacy}","received_events_url":"https://api.github.com/users/ezsystems/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ezsystems/repository-forms","description":"","fork":false,"url":"https://api.github.com/repos/ezsystems/repository-forms","forks_url":"https://api.github.com/repos/ezsystems/repository-forms/forks","keys_url":"https://api.github.com/repos/ezsystems/repository-forms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ezsystems/repository-forms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ezsystems/repository-forms/teams","hooks_url":"https://api.github.com/repos/ezsystems/repository-forms/hooks","issue_events_url":"https://api.github.com/repos/ezsystems/repository-forms/issues/events{/number}","events_url":"https://api.github.com/repos/ezsystems/repository-forms/events","assignees_url":"https://api.github.com/repos/ezsystems/repository-forms/assignees{/user}","branches_url":"https://api.github.com/repos/ezsystems/repository-forms/branches{/branch}","tags_url":"https://api.github.com/repos/ezsystems/repository-forms/tags","blobs_url":"https://api.github.com/repos/ezsystems/repository-forms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ezsystems/repository-forms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ezsystems/repository-forms/git/refs{/sha}","trees_url":"https://api.github.com/repos/ezsystems/repository-forms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ezsystems/repository-forms/statuses/{sha}","languages_url":"https://api.github.com/repos/ezsystems/repository-forms/languages","stargazers_url":"https://api.github.com/repos/ezsystems/repository-forms/stargazers","contributors_url":"https://api.github.com/repos/ezsystems/repository-forms/contributors","subscribers_url":"https://api.github.com/repos/ezsystems/repository-forms/subscribers","subscription_url":"https://api.github.com/repos/ezsystems/repository-forms/subscription","commits_url":"https://api.github.com/repos/ezsystems/repository-forms/commits{/sha}","git_commits_url":"https://api.github.com/repos/ezsystems/repository-forms/git/commits{/sha}","comments_url":"https://api.github.com/repos/ezsystems/repository-forms/comments{/number}","issue_comment_url":"https://api.github.com/repos/ezsystems/repository-forms/issues/comments{/number}","contents_url":"https://api.github.com/repos/ezsystems/repository-forms/contents/{+path}","compare_url":"https://api.github.com/repos/ezsystems/repository-forms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ezsystems/repository-forms/merges","archive_url":"https://api.github.com/repos/ezsystems/repository-forms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ezsystems/repository-forms/downloads","issues_url":"https://api.github.com/repos/ezsystems/repository-forms/issues{/number}","pulls_url":"https://api.github.com/repos/ezsystems/repository-forms/pulls{/number}","milestones_url":"https://api.github.com/repos/ezsystems/repository-forms/milestones{/number}","notifications_url":"https://api.github.com/repos/ezsystems/repository-forms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ezsystems/repository-forms/labels{/name}","releases_url":"https://api.github.com/repos/ezsystems/repository-forms/releases{/id}","created_at":"2015-04-23T13:30:07Z","updated_at":"2015-09-29T12:12:10Z","pushed_at":"2015-10-22T07:43:18Z","git_url":"git://github.com/ezsystems/repository-forms.git","ssh_url":"git@github.com:ezsystems/repository-forms.git","clone_url":"https://github.com/ezsystems/repository-forms.git","svn_url":"https://github.com/ezsystems/repository-forms","homepage":null,"size":1065,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":2,"forks":6,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ezsystems/repository-forms/pulls/51"},"html":{"href":"https://github.com/ezsystems/repository-forms/pull/51"},"issue":{"href":"https://api.github.com/repos/ezsystems/repository-forms/issues/51"},"comments":{"href":"https://api.github.com/repos/ezsystems/repository-forms/issues/51/comments"},"review_comments":{"href":"https://api.github.com/repos/ezsystems/repository-forms/pulls/51/comments"},"review_comment":{"href":"https://api.github.com/repos/ezsystems/repository-forms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ezsystems/repository-forms/pulls/51/commits"},"statuses":{"href":"https://api.github.com/repos/ezsystems/repository-forms/statuses/07315206fd23c1f1d9b2b76e120fc4665f9a1f9f"}}}}