{"action":"created","comment":{"url":"https://api.github.com/repos/Gizra/message/pulls/comments/84347639","pull_request_review_id":5131155,"id":84347639,"diff_hunk":"@@ -282,7 +305,9 @@ public static function create(array $values = []) {\n    * {@inheritdoc}\n    */\n   public function preSave(EntityStorageInterface $storage) {\n-    $this->text = array_filter($this->text);\n+    $this->text = array_filter($this->text, function ($a) {","path":"src/Entity/MessageTemplate.php","position":55,"original_position":55,"commit_id":"a4cc1a3fb655d8ab765fa53af7b0ef1cda7d485a","original_commit_id":"a4cc1a3fb655d8ab765fa53af7b0ef1cda7d485a","user":{"login":"amitaibu","id":125707,"avatar_url":"https://avatars.githubusercontent.com/u/125707?v=3","gravatar_id":"","url":"https://api.github.com/users/amitaibu","html_url":"https://github.com/amitaibu","followers_url":"https://api.github.com/users/amitaibu/followers","following_url":"https://api.github.com/users/amitaibu/following{/other_user}","gists_url":"https://api.github.com/users/amitaibu/gists{/gist_id}","starred_url":"https://api.github.com/users/amitaibu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amitaibu/subscriptions","organizations_url":"https://api.github.com/users/amitaibu/orgs","repos_url":"https://api.github.com/users/amitaibu/repos","events_url":"https://api.github.com/users/amitaibu/events{/privacy}","received_events_url":"https://api.github.com/users/amitaibu/received_events","type":"User","site_admin":false},"body":"I'm not totaly clear what we do here. also I think `$a` should get a more descriptive name. maybe `$delta`, or `$partial`?","created_at":"2016-10-20T18:30:58Z","updated_at":"2016-10-20T18:30:58Z","html_url":"https://github.com/Gizra/message/pull/140#discussion_r84347639","pull_request_url":"https://api.github.com/repos/Gizra/message/pulls/140","_links":{"self":{"href":"https://api.github.com/repos/Gizra/message/pulls/comments/84347639"},"html":{"href":"https://github.com/Gizra/message/pull/140#discussion_r84347639"},"pull_request":{"href":"https://api.github.com/repos/Gizra/message/pulls/140"}}},"pull_request":{"url":"https://api.github.com/repos/Gizra/message/pulls/140","id":89874632,"html_url":"https://github.com/Gizra/message/pull/140","diff_url":"https://github.com/Gizra/message/pull/140.diff","patch_url":"https://github.com/Gizra/message/pull/140.patch","issue_url":"https://api.github.com/repos/Gizra/message/issues/140","number":140,"state":"open","locked":false,"title":"Store input format for message templates","user":{"login":"jhedstrom","id":76833,"avatar_url":"https://avatars.githubusercontent.com/u/76833?v=3","gravatar_id":"","url":"https://api.github.com/users/jhedstrom","html_url":"https://github.com/jhedstrom","followers_url":"https://api.github.com/users/jhedstrom/followers","following_url":"https://api.github.com/users/jhedstrom/following{/other_user}","gists_url":"https://api.github.com/users/jhedstrom/gists{/gist_id}","starred_url":"https://api.github.com/users/jhedstrom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhedstrom/subscriptions","organizations_url":"https://api.github.com/users/jhedstrom/orgs","repos_url":"https://api.github.com/users/jhedstrom/repos","events_url":"https://api.github.com/users/jhedstrom/events{/privacy}","received_events_url":"https://api.github.com/users/jhedstrom/received_events","type":"User","site_admin":false},"body":"- Fixes #128 \r\n\r\nRelated #139 ","created_at":"2016-10-18T18:41:43Z","updated_at":"2016-10-20T18:44:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b0394d1e9272ded14733cdf0c05c5bf18b4b853b","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/Gizra/message/milestones/1","html_url":"https://github.com/Gizra/message/milestones/8.x-1.0%20beta","labels_url":"https://api.github.com/repos/Gizra/message/milestones/1/labels","id":2055561,"number":1,"title":"8.x-1.0 beta","description":"","creator":{"login":"jhedstrom","id":76833,"avatar_url":"https://avatars.githubusercontent.com/u/76833?v=3","gravatar_id":"","url":"https://api.github.com/users/jhedstrom","html_url":"https://github.com/jhedstrom","followers_url":"https://api.github.com/users/jhedstrom/followers","following_url":"https://api.github.com/users/jhedstrom/following{/other_user}","gists_url":"https://api.github.com/users/jhedstrom/gists{/gist_id}","starred_url":"https://api.github.com/users/jhedstrom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhedstrom/subscriptions","organizations_url":"https://api.github.com/users/jhedstrom/orgs","repos_url":"https://api.github.com/users/jhedstrom/repos","events_url":"https://api.github.com/users/jhedstrom/events{/privacy}","received_events_url":"https://api.github.com/users/jhedstrom/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":12,"state":"open","created_at":"2016-10-07T18:30:43Z","updated_at":"2016-10-20T18:27:58Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/Gizra/message/pulls/140/commits","review_comments_url":"https://api.github.com/repos/Gizra/message/pulls/140/comments","review_comment_url":"https://api.github.com/repos/Gizra/message/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Gizra/message/issues/140/comments","statuses_url":"https://api.github.com/repos/Gizra/message/statuses/a4cc1a3fb655d8ab765fa53af7b0ef1cda7d485a","head":{"label":"Gizra:128-text-format","ref":"128-text-format","sha":"a4cc1a3fb655d8ab765fa53af7b0ef1cda7d485a","user":{"login":"Gizra","id":2484795,"avatar_url":"https://avatars.githubusercontent.com/u/2484795?v=3","gravatar_id":"","url":"https://api.github.com/users/Gizra","html_url":"https://github.com/Gizra","followers_url":"https://api.github.com/users/Gizra/followers","following_url":"https://api.github.com/users/Gizra/following{/other_user}","gists_url":"https://api.github.com/users/Gizra/gists{/gist_id}","starred_url":"https://api.github.com/users/Gizra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gizra/subscriptions","organizations_url":"https://api.github.com/users/Gizra/orgs","repos_url":"https://api.github.com/users/Gizra/repos","events_url":"https://api.github.com/users/Gizra/events{/privacy}","received_events_url":"https://api.github.com/users/Gizra/received_events","type":"Organization","site_admin":false},"repo":{"id":25658582,"name":"message","full_name":"Gizra/message","owner":{"login":"Gizra","id":2484795,"avatar_url":"https://avatars.githubusercontent.com/u/2484795?v=3","gravatar_id":"","url":"https://api.github.com/users/Gizra","html_url":"https://github.com/Gizra","followers_url":"https://api.github.com/users/Gizra/followers","following_url":"https://api.github.com/users/Gizra/following{/other_user}","gists_url":"https://api.github.com/users/Gizra/gists{/gist_id}","starred_url":"https://api.github.com/users/Gizra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gizra/subscriptions","organizations_url":"https://api.github.com/users/Gizra/orgs","repos_url":"https://api.github.com/users/Gizra/repos","events_url":"https://api.github.com/users/Gizra/events{/privacy}","received_events_url":"https://api.github.com/users/Gizra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Gizra/message","description":"https://www.drupal.org/project/message","fork":false,"url":"https://api.github.com/repos/Gizra/message","forks_url":"https://api.github.com/repos/Gizra/message/forks","keys_url":"https://api.github.com/repos/Gizra/message/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Gizra/message/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Gizra/message/teams","hooks_url":"https://api.github.com/repos/Gizra/message/hooks","issue_events_url":"https://api.github.com/repos/Gizra/message/issues/events{/number}","events_url":"https://api.github.com/repos/Gizra/message/events","assignees_url":"https://api.github.com/repos/Gizra/message/assignees{/user}","branches_url":"https://api.github.com/repos/Gizra/message/branches{/branch}","tags_url":"https://api.github.com/repos/Gizra/message/tags","blobs_url":"https://api.github.com/repos/Gizra/message/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Gizra/message/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Gizra/message/git/refs{/sha}","trees_url":"https://api.github.com/repos/Gizra/message/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Gizra/message/statuses/{sha}","languages_url":"https://api.github.com/repos/Gizra/message/languages","stargazers_url":"https://api.github.com/repos/Gizra/message/stargazers","contributors_url":"https://api.github.com/repos/Gizra/message/contributors","subscribers_url":"https://api.github.com/repos/Gizra/message/subscribers","subscription_url":"https://api.github.com/repos/Gizra/message/subscription","commits_url":"https://api.github.com/repos/Gizra/message/commits{/sha}","git_commits_url":"https://api.github.com/repos/Gizra/message/git/commits{/sha}","comments_url":"https://api.github.com/repos/Gizra/message/comments{/number}","issue_comment_url":"https://api.github.com/repos/Gizra/message/issues/comments{/number}","contents_url":"https://api.github.com/repos/Gizra/message/contents/{+path}","compare_url":"https://api.github.com/repos/Gizra/message/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Gizra/message/merges","archive_url":"https://api.github.com/repos/Gizra/message/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Gizra/message/downloads","issues_url":"https://api.github.com/repos/Gizra/message/issues{/number}","pulls_url":"https://api.github.com/repos/Gizra/message/pulls{/number}","milestones_url":"https://api.github.com/repos/Gizra/message/milestones{/number}","notifications_url":"https://api.github.com/repos/Gizra/message/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Gizra/message/labels{/name}","releases_url":"https://api.github.com/repos/Gizra/message/releases{/id}","deployments_url":"https://api.github.com/repos/Gizra/message/deployments","created_at":"2014-10-23T21:24:36Z","updated_at":"2016-08-25T04:20:55Z","pushed_at":"2016-10-20T18:28:01Z","git_url":"git://github.com/Gizra/message.git","ssh_url":"git@github.com:Gizra/message.git","clone_url":"https://github.com/Gizra/message.git","svn_url":"https://github.com/Gizra/message","homepage":"","size":1159,"stargazers_count":14,"watchers_count":14,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":29,"forks":23,"open_issues":29,"watchers":14,"default_branch":"8.x-1.x"}},"base":{"label":"Gizra:8.x-1.x","ref":"8.x-1.x","sha":"339c73a86cc04dde254b689f9f1a0149a7e9a39e","user":{"login":"Gizra","id":2484795,"avatar_url":"https://avatars.githubusercontent.com/u/2484795?v=3","gravatar_id":"","url":"https://api.github.com/users/Gizra","html_url":"https://github.com/Gizra","followers_url":"https://api.github.com/users/Gizra/followers","following_url":"https://api.github.com/users/Gizra/following{/other_user}","gists_url":"https://api.github.com/users/Gizra/gists{/gist_id}","starred_url":"https://api.github.com/users/Gizra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gizra/subscriptions","organizations_url":"https://api.github.com/users/Gizra/orgs","repos_url":"https://api.github.com/users/Gizra/repos","events_url":"https://api.github.com/users/Gizra/events{/privacy}","received_events_url":"https://api.github.com/users/Gizra/received_events","type":"Organization","site_admin":false},"repo":{"id":25658582,"name":"message","full_name":"Gizra/message","owner":{"login":"Gizra","id":2484795,"avatar_url":"https://avatars.githubusercontent.com/u/2484795?v=3","gravatar_id":"","url":"https://api.github.com/users/Gizra","html_url":"https://github.com/Gizra","followers_url":"https://api.github.com/users/Gizra/followers","following_url":"https://api.github.com/users/Gizra/following{/other_user}","gists_url":"https://api.github.com/users/Gizra/gists{/gist_id}","starred_url":"https://api.github.com/users/Gizra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gizra/subscriptions","organizations_url":"https://api.github.com/users/Gizra/orgs","repos_url":"https://api.github.com/users/Gizra/repos","events_url":"https://api.github.com/users/Gizra/events{/privacy}","received_events_url":"https://api.github.com/users/Gizra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Gizra/message","description":"https://www.drupal.org/project/message","fork":false,"url":"https://api.github.com/repos/Gizra/message","forks_url":"https://api.github.com/repos/Gizra/message/forks","keys_url":"https://api.github.com/repos/Gizra/message/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Gizra/message/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Gizra/message/teams","hooks_url":"https://api.github.com/repos/Gizra/message/hooks","issue_events_url":"https://api.github.com/repos/Gizra/message/issues/events{/number}","events_url":"https://api.github.com/repos/Gizra/message/events","assignees_url":"https://api.github.com/repos/Gizra/message/assignees{/user}","branches_url":"https://api.github.com/repos/Gizra/message/branches{/branch}","tags_url":"https://api.github.com/repos/Gizra/message/tags","blobs_url":"https://api.github.com/repos/Gizra/message/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Gizra/message/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Gizra/message/git/refs{/sha}","trees_url":"https://api.github.com/repos/Gizra/message/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Gizra/message/statuses/{sha}","languages_url":"https://api.github.com/repos/Gizra/message/languages","stargazers_url":"https://api.github.com/repos/Gizra/message/stargazers","contributors_url":"https://api.github.com/repos/Gizra/message/contributors","subscribers_url":"https://api.github.com/repos/Gizra/message/subscribers","subscription_url":"https://api.github.com/repos/Gizra/message/subscription","commits_url":"https://api.github.com/repos/Gizra/message/commits{/sha}","git_commits_url":"https://api.github.com/repos/Gizra/message/git/commits{/sha}","comments_url":"https://api.github.com/repos/Gizra/message/comments{/number}","issue_comment_url":"https://api.github.com/repos/Gizra/message/issues/comments{/number}","contents_url":"https://api.github.com/repos/Gizra/message/contents/{+path}","compare_url":"https://api.github.com/repos/Gizra/message/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Gizra/message/merges","archive_url":"https://api.github.com/repos/Gizra/message/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Gizra/message/downloads","issues_url":"https://api.github.com/repos/Gizra/message/issues{/number}","pulls_url":"https://api.github.com/repos/Gizra/message/pulls{/number}","milestones_url":"https://api.github.com/repos/Gizra/message/milestones{/number}","notifications_url":"https://api.github.com/repos/Gizra/message/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Gizra/message/labels{/name}","releases_url":"https://api.github.com/repos/Gizra/message/releases{/id}","deployments_url":"https://api.github.com/repos/Gizra/message/deployments","created_at":"2014-10-23T21:24:36Z","updated_at":"2016-08-25T04:20:55Z","pushed_at":"2016-10-20T18:28:01Z","git_url":"git://github.com/Gizra/message.git","ssh_url":"git@github.com:Gizra/message.git","clone_url":"https://github.com/Gizra/message.git","svn_url":"https://github.com/Gizra/message","homepage":"","size":1159,"stargazers_count":14,"watchers_count":14,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":29,"forks":23,"open_issues":29,"watchers":14,"default_branch":"8.x-1.x"}},"_links":{"self":{"href":"https://api.github.com/repos/Gizra/message/pulls/140"},"html":{"href":"https://github.com/Gizra/message/pull/140"},"issue":{"href":"https://api.github.com/repos/Gizra/message/issues/140"},"comments":{"href":"https://api.github.com/repos/Gizra/message/issues/140/comments"},"review_comments":{"href":"https://api.github.com/repos/Gizra/message/pulls/140/comments"},"review_comment":{"href":"https://api.github.com/repos/Gizra/message/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Gizra/message/pulls/140/commits"},"statuses":{"href":"https://api.github.com/repos/Gizra/message/statuses/a4cc1a3fb655d8ab765fa53af7b0ef1cda7d485a"}}}}
{"actor":{"display_login":"amitaibu"}}