{"action":"created","comment":{"url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/pulls/comments/242519429","pull_request_review_id":186045453,"id":242519429,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MjUxOTQyOQ==","diff_hunk":"@@ -0,0 +1,206 @@\n+<?php\n+\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+ */\n+declare(strict_types=1);\n+\n+namespace EzSystems\\EzPlatformAdminUi\\Tests\\EventListener;\n+\n+use eZ\\Publish\\Core\\MVC\\Symfony\\Security\\Authorization\\Attribute;\n+use eZ\\Publish\\Core\\MVC\\Symfony\\SiteAccess;\n+use EzSystems\\EzPlatformAdminUi\\EventListener\\RequestLocaleListener;\n+use Symfony\\Component\\HttpFoundation\\Request;\n+use Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent;\n+use Symfony\\Component\\HttpKernel\\HttpKernelInterface;\n+use Symfony\\Component\\HttpKernel\\KernelEvents;\n+use PHPUnit\\Framework\\TestCase;\n+use PHPUnit_Framework_MockObject_MockObject as MockObject;\n+use Symfony\\Component\\Translation\\TranslatorInterface;\n+use EzSystems\\EzPlatformAdminUi\\Exception\\InvalidArgumentException;\n+\n+class RequestLocaleListenerTest extends TestCase\n+{\n+    /** @var Request */\n+    private $request;\n+\n+    /** @var HttpKernelInterface|MockObject */\n+    private $httpKernel;\n+\n+    private const ADMIN_SITEACCESS = 'admin_siteaccess';\n+\n+    private const NON_ADMIN_SITEACCESS = 'non_admin_siteaccess';\n+\n+    /** @var \\Symfony\\Component\\Translation\\TranslatorInterface */\n+    private $translator;\n+\n+    protected function setUp()\n+    {\n+        parent::setUp();\n+\n+        $this->translator = $this->createMock(TranslatorInterface::class);\n+\n+        $this->request = $this\n+            ->getMockBuilder(Request::class)\n+            ->setMethods(['getSession', 'hasSession', 'setLocale'])\n+            ->getMock();\n+\n+        $this->request->attributes->set('siteaccess', new SiteAccess(self::ADMIN_SITEACCESS));\n+\n+        $this->httpKernel = $this->createMock(HttpKernelInterface::class);\n+    }\n+\n+    public function testLocaleIsNotSetOnNonAdminSiteaccess(): void\n+    {\n+        $translator = $this->translatorWithSetLocaleExpectsNever();\n+\n+        $request = $this->requestWithSetLocaleExpectsNever();\n+\n+        $request->attributes->set('siteaccess', new SiteAccess(self::NON_ADMIN_SITEACCESS));\n+\n+        $event = new GetResponseEvent(\n+            $this->httpKernel,\n+            $request,\n+            HttpKernelInterface::MASTER_REQUEST\n+        );\n+\n+        $requestLocaleListener = new RequestLocaleListener(['admin_group' => [self::ADMIN_SITEACCESS]], [], $translator);\n+\n+        $requestLocaleListener->onKernelRequest($event);\n+    }\n+\n+    public function testLocaleIsNotSetOnSubRequest(): void\n+    {\n+        $translator = $this->translatorWithSetLocaleExpectsNever();\n+\n+        $request = $this->requestWithSetLocaleExpectsNever();\n+\n+        $request->attributes->set('siteaccess', new SiteAccess(self::ADMIN_SITEACCESS));\n+\n+        $event = new GetResponseEvent(\n+            $this->httpKernel,\n+            $request,\n+            HttpKernelInterface::SUB_REQUEST\n+        );\n+\n+        $requestLocaleListener = new RequestLocaleListener([], [], $translator);\n+\n+        $requestLocaleListener->onKernelRequest($event);\n+    }\n+\n+    public function testLocaleIsSetWithoutAvailableTranslations(): void\n+    {\n+        $availableTranslations = ['de-CH'];\n+\n+        $this->translator\n+            ->expects($this->once())\n+            ->method('setLocale')\n+            ->with('en-US');\n+\n+        $this->request\n+            ->expects($this->once())\n+            ->method('setLocale')\n+            ->with('en-US');\n+\n+        $this->request->headers->set('Accept-Language', 'en-US,en;q=0.5');\n+\n+        $event = new GetResponseEvent(\n+            $this->httpKernel,\n+            $this->request,\n+            HttpKernelInterface::MASTER_REQUEST\n+        );\n+\n+        $requestLocaleListener = new RequestLocaleListener(\n+            ['admin_group' => [self::ADMIN_SITEACCESS]],\n+            $availableTranslations,\n+            $this->translator\n+        );\n+\n+        $requestLocaleListener->onKernelRequest($event);\n+    }\n+\n+    public function testLocaleIsSetWithAvailableTranslations(): void\n+    {\n+        $availableTranslations = ['de-CH'];\n+        $this->translator\n+            ->expects($this->once())\n+            ->method('setLocale')\n+            ->with('de-CH');\n+\n+        $this->request\n+            ->expects($this->once())\n+            ->method('setLocale')\n+            ->with('de-CH');\n+\n+        $this->request->headers->set('Accept-Language', 'en-US,en;q=0.5,de-CH;q=0.4');\n+\n+        $event = new GetResponseEvent(\n+            $this->httpKernel,\n+            $this->request,\n+            HttpKernelInterface::MASTER_REQUEST\n+        );\n+\n+        $requestLocaleListener = new RequestLocaleListener(\n+            ['admin_group' => [self::ADMIN_SITEACCESS]],\n+            $availableTranslations,\n+            $this->translator\n+        );\n+\n+        $requestLocaleListener->onKernelRequest($event);\n+    }\n+\n+    public function testSubscribedEvents(): void\n+    {\n+        $requestLocaleListener = new RequestLocaleListener(['admin_group' => [self::ADMIN_SITEACCESS]], [], $this->translator);\n+\n+        $this->assertSame([KernelEvents::REQUEST => ['onKernelRequest', 6]], $requestLocaleListener::getSubscribedEvents());\n+    }\n+\n+    public function testNonSiteaccessInRequest(): void\n+    {\n+        $this->expectException(InvalidArgumentException::class);\n+        $this->expectExceptionMessage(sprintf('Must be instance of %s', SiteAccess::class));\n+\n+        $this->request->attributes->set('siteaccess', new Attribute());\n+\n+        $event = new GetResponseEvent(\n+            $this->httpKernel,\n+            $this->request,\n+            HttpKernelInterface::MASTER_REQUEST\n+        );\n+\n+        $requestLocaleListener = new RequestLocaleListener(['admin_group' => [self::ADMIN_SITEACCESS]], [], $this->translator);\n+\n+        $requestLocaleListener->onKernelRequest($event);\n+    }\n+\n+    /**\n+     * @return \\PHPUnit\\Framework\\MockObject\\MockObject|\\Symfony\\Component\\Translation\\TranslatorInterface\n+     */\n+    private function translatorWithSetLocaleExpectsNever()\n+    {\n+        $translator = $this->createMock(TranslatorInterface::class);\n+        $translator\n+            ->expects($this->never())\n+            ->method('setLocale');\n+\n+        return $translator;\n+    }\n+\n+    /**\n+     * @return \\PHPUnit\\Framework\\MockObject\\MockObject|\\Symfony\\Component\\HttpFoundation\\Request\n+     */\n+    private function requestWithSetLocaleExpectsNever()","path":"src/lib/Tests/EventListener/RequestLocaleListenerTest.php","position":194,"original_position":194,"commit_id":"7879a9f93dea8414907f585e39e07fa460debc39","original_commit_id":"7879a9f93dea8414907f585e39e07fa460debc39","user":{"login":"adamwojs","id":211967,"node_id":"MDQ6VXNlcjIxMTk2Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/211967?v=4","gravatar_id":"","url":"https://api.github.com/users/adamwojs","html_url":"https://github.com/adamwojs","followers_url":"https://api.github.com/users/adamwojs/followers","following_url":"https://api.github.com/users/adamwojs/following{/other_user}","gists_url":"https://api.github.com/users/adamwojs/gists{/gist_id}","starred_url":"https://api.github.com/users/adamwojs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamwojs/subscriptions","organizations_url":"https://api.github.com/users/adamwojs/orgs","repos_url":"https://api.github.com/users/adamwojs/repos","events_url":"https://api.github.com/users/adamwojs/events{/privacy}","received_events_url":"https://api.github.com/users/adamwojs/received_events","type":"User","site_admin":false},"body":"Nitpick: Missing return type hint","created_at":"2018-12-18T12:35:04Z","updated_at":"2018-12-18T12:36:29Z","html_url":"https://github.com/ezsystems/ezplatform-admin-ui/pull/765#discussion_r242519429","pull_request_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/pulls/765","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/pulls/comments/242519429"},"html":{"href":"https://github.com/ezsystems/ezplatform-admin-ui/pull/765#discussion_r242519429"},"pull_request":{"href":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/pulls/765"}}},"pull_request":{"url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/pulls/765","id":239472816,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5NDcyODE2","html_url":"https://github.com/ezsystems/ezplatform-admin-ui/pull/765","diff_url":"https://github.com/ezsystems/ezplatform-admin-ui/pull/765.diff","patch_url":"https://github.com/ezsystems/ezplatform-admin-ui/pull/765.patch","issue_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/issues/765","number":765,"state":"open","locked":false,"title":"EZP-29923: Add unit tests to RequestLocaleListener","user":{"login":"mikadamczyk","id":1654712,"node_id":"MDQ6VXNlcjE2NTQ3MTI=","avatar_url":"https://avatars2.githubusercontent.com/u/1654712?v=4","gravatar_id":"","url":"https://api.github.com/users/mikadamczyk","html_url":"https://github.com/mikadamczyk","followers_url":"https://api.github.com/users/mikadamczyk/followers","following_url":"https://api.github.com/users/mikadamczyk/following{/other_user}","gists_url":"https://api.github.com/users/mikadamczyk/gists{/gist_id}","starred_url":"https://api.github.com/users/mikadamczyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikadamczyk/subscriptions","organizations_url":"https://api.github.com/users/mikadamczyk/orgs","repos_url":"https://api.github.com/users/mikadamczyk/repos","events_url":"https://api.github.com/users/mikadamczyk/events{/privacy}","received_events_url":"https://api.github.com/users/mikadamczyk/received_events","type":"User","site_admin":false},"body":"| Question      | Answer\r\n| ------------- | ---\r\n| Tickets       | https://jira.ez.no/browse/EZP-29923\r\n| Bug fix?      |no\r\n| New feature?  | yes\r\n| BC breaks?    |no\r\n| Tests pass?   | yes\r\n| Doc needed?   |no\r\n| License       | [GPL-2.0](https://github.com/ezsystems/ezplatform-admin-ui/blob/master/LICENSE)\r\n<!-- Keep in mind: Your contribution has to be compatible with GPL-2.0 as well: https://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.html#GPLModuleLicense -->\r\n\r\n\r\n<!-- Replace this comment with Pull Request description -->\r\n\r\n\r\n#### Checklist:\r\n- [x] Coding standards (`$ composer fix-cs`)\r\n- [x] Ready for Code Review\r\n","created_at":"2018-12-18T12:32:52Z","updated_at":"2018-12-18T12:36:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cb109a9d49c36d24a1e01ec08d4bf02218b2d47b","assignee":{"login":"mikadamczyk","id":1654712,"node_id":"MDQ6VXNlcjE2NTQ3MTI=","avatar_url":"https://avatars2.githubusercontent.com/u/1654712?v=4","gravatar_id":"","url":"https://api.github.com/users/mikadamczyk","html_url":"https://github.com/mikadamczyk","followers_url":"https://api.github.com/users/mikadamczyk/followers","following_url":"https://api.github.com/users/mikadamczyk/following{/other_user}","gists_url":"https://api.github.com/users/mikadamczyk/gists{/gist_id}","starred_url":"https://api.github.com/users/mikadamczyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikadamczyk/subscriptions","organizations_url":"https://api.github.com/users/mikadamczyk/orgs","repos_url":"https://api.github.com/users/mikadamczyk/repos","events_url":"https://api.github.com/users/mikadamczyk/events{/privacy}","received_events_url":"https://api.github.com/users/mikadamczyk/received_events","type":"User","site_admin":false},"assignees":[{"login":"mikadamczyk","id":1654712,"node_id":"MDQ6VXNlcjE2NTQ3MTI=","avatar_url":"https://avatars2.githubusercontent.com/u/1654712?v=4","gravatar_id":"","url":"https://api.github.com/users/mikadamczyk","html_url":"https://github.com/mikadamczyk","followers_url":"https://api.github.com/users/mikadamczyk/followers","following_url":"https://api.github.com/users/mikadamczyk/following{/other_user}","gists_url":"https://api.github.com/users/mikadamczyk/gists{/gist_id}","starred_url":"https://api.github.com/users/mikadamczyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikadamczyk/subscriptions","organizations_url":"https://api.github.com/users/mikadamczyk/orgs","repos_url":"https://api.github.com/users/mikadamczyk/repos","events_url":"https://api.github.com/users/mikadamczyk/events{/privacy}","received_events_url":"https://api.github.com/users/mikadamczyk/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"pawbuj","id":6184173,"node_id":"MDQ6VXNlcjYxODQxNzM=","avatar_url":"https://avatars0.githubusercontent.com/u/6184173?v=4","gravatar_id":"","url":"https://api.github.com/users/pawbuj","html_url":"https://github.com/pawbuj","followers_url":"https://api.github.com/users/pawbuj/followers","following_url":"https://api.github.com/users/pawbuj/following{/other_user}","gists_url":"https://api.github.com/users/pawbuj/gists{/gist_id}","starred_url":"https://api.github.com/users/pawbuj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pawbuj/subscriptions","organizations_url":"https://api.github.com/users/pawbuj/orgs","repos_url":"https://api.github.com/users/pawbuj/repos","events_url":"https://api.github.com/users/pawbuj/events{/privacy}","received_events_url":"https://api.github.com/users/pawbuj/received_events","type":"User","site_admin":false},{"login":"ViniTou","id":19517274,"node_id":"MDQ6VXNlcjE5NTE3Mjc0","avatar_url":"https://avatars1.githubusercontent.com/u/19517274?v=4","gravatar_id":"","url":"https://api.github.com/users/ViniTou","html_url":"https://github.com/ViniTou","followers_url":"https://api.github.com/users/ViniTou/followers","following_url":"https://api.github.com/users/ViniTou/following{/other_user}","gists_url":"https://api.github.com/users/ViniTou/gists{/gist_id}","starred_url":"https://api.github.com/users/ViniTou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ViniTou/subscriptions","organizations_url":"https://api.github.com/users/ViniTou/orgs","repos_url":"https://api.github.com/users/ViniTou/repos","events_url":"https://api.github.com/users/ViniTou/events{/privacy}","received_events_url":"https://api.github.com/users/ViniTou/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":750166707,"node_id":"MDU6TGFiZWw3NTAxNjY3MDc=","url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/labels/Ready%20for%20review","name":"Ready for review","color":"fff505","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/pulls/765/commits","review_comments_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/pulls/765/comments","review_comment_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/issues/765/comments","statuses_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/statuses/7879a9f93dea8414907f585e39e07fa460debc39","head":{"label":"mikadamczyk:EZP-29923","ref":"EZP-29923","sha":"7879a9f93dea8414907f585e39e07fa460debc39","user":{"login":"mikadamczyk","id":1654712,"node_id":"MDQ6VXNlcjE2NTQ3MTI=","avatar_url":"https://avatars2.githubusercontent.com/u/1654712?v=4","gravatar_id":"","url":"https://api.github.com/users/mikadamczyk","html_url":"https://github.com/mikadamczyk","followers_url":"https://api.github.com/users/mikadamczyk/followers","following_url":"https://api.github.com/users/mikadamczyk/following{/other_user}","gists_url":"https://api.github.com/users/mikadamczyk/gists{/gist_id}","starred_url":"https://api.github.com/users/mikadamczyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikadamczyk/subscriptions","organizations_url":"https://api.github.com/users/mikadamczyk/orgs","repos_url":"https://api.github.com/users/mikadamczyk/repos","events_url":"https://api.github.com/users/mikadamczyk/events{/privacy}","received_events_url":"https://api.github.com/users/mikadamczyk/received_events","type":"User","site_admin":false},"repo":{"id":106812392,"node_id":"MDEwOlJlcG9zaXRvcnkxMDY4MTIzOTI=","name":"ezplatform-admin-ui","full_name":"mikadamczyk/ezplatform-admin-ui","private":false,"owner":{"login":"mikadamczyk","id":1654712,"node_id":"MDQ6VXNlcjE2NTQ3MTI=","avatar_url":"https://avatars2.githubusercontent.com/u/1654712?v=4","gravatar_id":"","url":"https://api.github.com/users/mikadamczyk","html_url":"https://github.com/mikadamczyk","followers_url":"https://api.github.com/users/mikadamczyk/followers","following_url":"https://api.github.com/users/mikadamczyk/following{/other_user}","gists_url":"https://api.github.com/users/mikadamczyk/gists{/gist_id}","starred_url":"https://api.github.com/users/mikadamczyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikadamczyk/subscriptions","organizations_url":"https://api.github.com/users/mikadamczyk/orgs","repos_url":"https://api.github.com/users/mikadamczyk/repos","events_url":"https://api.github.com/users/mikadamczyk/events{/privacy}","received_events_url":"https://api.github.com/users/mikadamczyk/received_events","type":"User","site_admin":false},"html_url":"https://github.com/mikadamczyk/ezplatform-admin-ui","description":"Repository dedicated to the eZ Platform Admin UI Bundle","fork":true,"url":"https://api.github.com/repos/mikadamczyk/ezplatform-admin-ui","forks_url":"https://api.github.com/repos/mikadamczyk/ezplatform-admin-ui/forks","keys_url":"https://api.github.com/repos/mikadamczyk/ezplatform-admin-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mikadamczyk/ezplatform-admin-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mikadamczyk/ezplatform-admin-ui/teams","hooks_url":"https://api.github.com/repos/mikadamczyk/ezplatform-admin-ui/hooks","issue_events_url":"https://api.github.com/repos/mikadamczyk/ezplatform-admin-ui/issues/events{/number}","events_url":"https://api.github.com/repos/mikadamczyk/ezplatform-admin-ui/events","assignees_url":"https://api.github.com/repos/mikadamczyk/ezplatform-admin-ui/assignees{/user}","branches_url":"https://api.github.com/repos/mikadamczyk/ezplatform-admin-ui/branches{/branch}","tags_url":"https://api.github.com/repos/mikadamczyk/ezplatform-admin-ui/tags","blobs_url":"https://api.github.com/repos/mikadamczyk/ezplatform-admin-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mikadamczyk/ezplatform-admin-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mikadamczyk/ezplatform-admin-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/mikadamczyk/ezplatform-admin-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mikadamczyk/ezplatform-admin-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/mikadamczyk/ezplatform-admin-ui/languages","stargazers_url":"https://api.github.com/repos/mikadamczyk/ezplatform-admin-ui/stargazers","contributors_url":"https://api.github.com/repos/mikadamczyk/ezplatform-admin-ui/contributors","subscribers_url":"https://api.github.com/repos/mikadamczyk/ezplatform-admin-ui/subscribers","subscription_url":"https://api.github.com/repos/mikadamczyk/ezplatform-admin-ui/subscription","commits_url":"https://api.github.com/repos/mikadamczyk/ezplatform-admin-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/mikadamczyk/ezplatform-admin-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/mikadamczyk/ezplatform-admin-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/mikadamczyk/ezplatform-admin-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/mikadamczyk/ezplatform-admin-ui/contents/{+path}","compare_url":"https://api.github.com/repos/mikadamczyk/ezplatform-admin-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mikadamczyk/ezplatform-admin-ui/merges","archive_url":"https://api.github.com/repos/mikadamczyk/ezplatform-admin-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mikadamczyk/ezplatform-admin-ui/downloads","issues_url":"https://api.github.com/repos/mikadamczyk/ezplatform-admin-ui/issues{/number}","pulls_url":"https://api.github.com/repos/mikadamczyk/ezplatform-admin-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/mikadamczyk/ezplatform-admin-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/mikadamczyk/ezplatform-admin-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mikadamczyk/ezplatform-admin-ui/labels{/name}","releases_url":"https://api.github.com/repos/mikadamczyk/ezplatform-admin-ui/releases{/id}","deployments_url":"https://api.github.com/repos/mikadamczyk/ezplatform-admin-ui/deployments","created_at":"2017-10-13T10:45:01Z","updated_at":"2018-12-18T08:23:46Z","pushed_at":"2018-12-18T12:32:48Z","git_url":"git://github.com/mikadamczyk/ezplatform-admin-ui.git","ssh_url":"git@github.com:mikadamczyk/ezplatform-admin-ui.git","clone_url":"https://github.com/mikadamczyk/ezplatform-admin-ui.git","svn_url":"https://github.com/mikadamczyk/ezplatform-admin-ui","homepage":"","size":5414,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ezsystems:master","ref":"master","sha":"4578b9366dd78a425959dc204f6d5b277db6721e","user":{"login":"ezsystems","id":295311,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NTMxMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/295311?v=4","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":104727697,"node_id":"MDEwOlJlcG9zaXRvcnkxMDQ3Mjc2OTc=","name":"ezplatform-admin-ui","full_name":"ezsystems/ezplatform-admin-ui","private":false,"owner":{"login":"ezsystems","id":295311,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NTMxMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/295311?v=4","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},"html_url":"https://github.com/ezsystems/ezplatform-admin-ui","description":"Repository dedicated to the eZ Platform Admin UI Bundle, Admin UI for eZ Platform v2+","fork":false,"url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui","forks_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/forks","keys_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/teams","hooks_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/hooks","issue_events_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/issues/events{/number}","events_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/events","assignees_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/assignees{/user}","branches_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/branches{/branch}","tags_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/tags","blobs_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/languages","stargazers_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/stargazers","contributors_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/contributors","subscribers_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/subscribers","subscription_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/subscription","commits_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/contents/{+path}","compare_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/merges","archive_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/downloads","issues_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/issues{/number}","pulls_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/labels{/name}","releases_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/releases{/id}","deployments_url":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/deployments","created_at":"2017-09-25T09:09:12Z","updated_at":"2018-12-18T10:42:02Z","pushed_at":"2018-12-18T12:32:53Z","git_url":"git://github.com/ezsystems/ezplatform-admin-ui.git","ssh_url":"git@github.com:ezsystems/ezplatform-admin-ui.git","clone_url":"https://github.com/ezsystems/ezplatform-admin-ui.git","svn_url":"https://github.com/ezsystems/ezplatform-admin-ui","homepage":"https://ezplatform.com/","size":5436,"stargazers_count":22,"watchers_count":22,"language":"PHP","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":33,"mirror_url":null,"archived":false,"open_issues_count":14,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":33,"open_issues":14,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/pulls/765"},"html":{"href":"https://github.com/ezsystems/ezplatform-admin-ui/pull/765"},"issue":{"href":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/issues/765"},"comments":{"href":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/issues/765/comments"},"review_comments":{"href":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/pulls/765/comments"},"review_comment":{"href":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/pulls/765/commits"},"statuses":{"href":"https://api.github.com/repos/ezsystems/ezplatform-admin-ui/statuses/7879a9f93dea8414907f585e39e07fa460debc39"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"adamwojs"}}