{"action":"closed","number":17,"pull_request":{"url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/pulls/17","id":103088304,"html_url":"https://github.com/eliksir/mailmojo-wp-widget/pull/17","diff_url":"https://github.com/eliksir/mailmojo-wp-widget/pull/17.diff","patch_url":"https://github.com/eliksir/mailmojo-wp-widget/pull/17.patch","issue_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/issues/17","number":17,"state":"closed","locked":false,"title":"Fix syntax error in PHP 5.4","user":{"login":"fdanielsen","id":343098,"avatar_url":"https://avatars.githubusercontent.com/u/343098?v=3","gravatar_id":"","url":"https://api.github.com/users/fdanielsen","html_url":"https://github.com/fdanielsen","followers_url":"https://api.github.com/users/fdanielsen/followers","following_url":"https://api.github.com/users/fdanielsen/following{/other_user}","gists_url":"https://api.github.com/users/fdanielsen/gists{/gist_id}","starred_url":"https://api.github.com/users/fdanielsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fdanielsen/subscriptions","organizations_url":"https://api.github.com/users/fdanielsen/orgs","repos_url":"https://api.github.com/users/fdanielsen/repos","events_url":"https://api.github.com/users/fdanielsen/events{/privacy}","received_events_url":"https://api.github.com/users/fdanielsen/received_events","type":"User","site_admin":false},"body":"There was still one syntax usage that is only supported from PHP 5.5+, giving `Fatal error: Can't use method return value in write context` in PHP 5.4. This is a simple fix of not passing a method return value directly into the `empty()` construct, but rather via a variable. Similarly we can't pass statically bound variables directly into `empty()`.\r\n\r\nThis fixes it and bumps version to 1.0.1 for a patch release.","created_at":"2017-01-25T10:09:33Z","updated_at":"2017-01-25T10:35:20Z","closed_at":"2017-01-25T10:35:20Z","merged_at":"2017-01-25T10:35:20Z","merge_commit_sha":"6319b8b91fa37a1f5e80d563556e21bdd5245daa","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/pulls/17/commits","review_comments_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/pulls/17/comments","review_comment_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/issues/17/comments","statuses_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/statuses/6319b8b91fa37a1f5e80d563556e21bdd5245daa","head":{"label":"eliksir:php-54-fix","ref":"php-54-fix","sha":"6319b8b91fa37a1f5e80d563556e21bdd5245daa","user":{"login":"eliksir","id":904807,"avatar_url":"https://avatars.githubusercontent.com/u/904807?v=3","gravatar_id":"","url":"https://api.github.com/users/eliksir","html_url":"https://github.com/eliksir","followers_url":"https://api.github.com/users/eliksir/followers","following_url":"https://api.github.com/users/eliksir/following{/other_user}","gists_url":"https://api.github.com/users/eliksir/gists{/gist_id}","starred_url":"https://api.github.com/users/eliksir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliksir/subscriptions","organizations_url":"https://api.github.com/users/eliksir/orgs","repos_url":"https://api.github.com/users/eliksir/repos","events_url":"https://api.github.com/users/eliksir/events{/privacy}","received_events_url":"https://api.github.com/users/eliksir/received_events","type":"Organization","site_admin":false},"repo":{"id":2083079,"name":"mailmojo-wp-widget","full_name":"eliksir/mailmojo-wp-widget","owner":{"login":"eliksir","id":904807,"avatar_url":"https://avatars.githubusercontent.com/u/904807?v=3","gravatar_id":"","url":"https://api.github.com/users/eliksir","html_url":"https://github.com/eliksir","followers_url":"https://api.github.com/users/eliksir/followers","following_url":"https://api.github.com/users/eliksir/following{/other_user}","gists_url":"https://api.github.com/users/eliksir/gists{/gist_id}","starred_url":"https://api.github.com/users/eliksir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliksir/subscriptions","organizations_url":"https://api.github.com/users/eliksir/orgs","repos_url":"https://api.github.com/users/eliksir/repos","events_url":"https://api.github.com/users/eliksir/events{/privacy}","received_events_url":"https://api.github.com/users/eliksir/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eliksir/mailmojo-wp-widget","description":"MailMojo widget plugin for WordPress.","fork":false,"url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget","forks_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/forks","keys_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/teams","hooks_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/hooks","issue_events_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/issues/events{/number}","events_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/events","assignees_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/assignees{/user}","branches_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/branches{/branch}","tags_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/tags","blobs_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/git/refs{/sha}","trees_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/statuses/{sha}","languages_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/languages","stargazers_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/stargazers","contributors_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/contributors","subscribers_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/subscribers","subscription_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/subscription","commits_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/commits{/sha}","git_commits_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/git/commits{/sha}","comments_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/comments{/number}","issue_comment_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/issues/comments{/number}","contents_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/contents/{+path}","compare_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/merges","archive_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/downloads","issues_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/issues{/number}","pulls_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/pulls{/number}","milestones_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/milestones{/number}","notifications_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/labels{/name}","releases_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/releases{/id}","deployments_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/deployments","created_at":"2011-07-21T11:32:00Z","updated_at":"2016-11-22T14:30:41Z","pushed_at":"2017-01-25T10:35:19Z","git_url":"git://github.com/eliksir/mailmojo-wp-widget.git","ssh_url":"git@github.com:eliksir/mailmojo-wp-widget.git","clone_url":"https://github.com/eliksir/mailmojo-wp-widget.git","svn_url":"https://github.com/eliksir/mailmojo-wp-widget","homepage":"","size":1529,"stargazers_count":3,"watchers_count":3,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":3,"default_branch":"master"}},"base":{"label":"eliksir:master","ref":"master","sha":"568974224203788096df226902cdf408a08279f6","user":{"login":"eliksir","id":904807,"avatar_url":"https://avatars.githubusercontent.com/u/904807?v=3","gravatar_id":"","url":"https://api.github.com/users/eliksir","html_url":"https://github.com/eliksir","followers_url":"https://api.github.com/users/eliksir/followers","following_url":"https://api.github.com/users/eliksir/following{/other_user}","gists_url":"https://api.github.com/users/eliksir/gists{/gist_id}","starred_url":"https://api.github.com/users/eliksir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliksir/subscriptions","organizations_url":"https://api.github.com/users/eliksir/orgs","repos_url":"https://api.github.com/users/eliksir/repos","events_url":"https://api.github.com/users/eliksir/events{/privacy}","received_events_url":"https://api.github.com/users/eliksir/received_events","type":"Organization","site_admin":false},"repo":{"id":2083079,"name":"mailmojo-wp-widget","full_name":"eliksir/mailmojo-wp-widget","owner":{"login":"eliksir","id":904807,"avatar_url":"https://avatars.githubusercontent.com/u/904807?v=3","gravatar_id":"","url":"https://api.github.com/users/eliksir","html_url":"https://github.com/eliksir","followers_url":"https://api.github.com/users/eliksir/followers","following_url":"https://api.github.com/users/eliksir/following{/other_user}","gists_url":"https://api.github.com/users/eliksir/gists{/gist_id}","starred_url":"https://api.github.com/users/eliksir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliksir/subscriptions","organizations_url":"https://api.github.com/users/eliksir/orgs","repos_url":"https://api.github.com/users/eliksir/repos","events_url":"https://api.github.com/users/eliksir/events{/privacy}","received_events_url":"https://api.github.com/users/eliksir/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eliksir/mailmojo-wp-widget","description":"MailMojo widget plugin for WordPress.","fork":false,"url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget","forks_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/forks","keys_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/teams","hooks_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/hooks","issue_events_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/issues/events{/number}","events_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/events","assignees_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/assignees{/user}","branches_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/branches{/branch}","tags_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/tags","blobs_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/git/refs{/sha}","trees_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/statuses/{sha}","languages_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/languages","stargazers_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/stargazers","contributors_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/contributors","subscribers_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/subscribers","subscription_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/subscription","commits_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/commits{/sha}","git_commits_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/git/commits{/sha}","comments_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/comments{/number}","issue_comment_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/issues/comments{/number}","contents_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/contents/{+path}","compare_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/merges","archive_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/downloads","issues_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/issues{/number}","pulls_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/pulls{/number}","milestones_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/milestones{/number}","notifications_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/labels{/name}","releases_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/releases{/id}","deployments_url":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/deployments","created_at":"2011-07-21T11:32:00Z","updated_at":"2016-11-22T14:30:41Z","pushed_at":"2017-01-25T10:35:19Z","git_url":"git://github.com/eliksir/mailmojo-wp-widget.git","ssh_url":"git@github.com:eliksir/mailmojo-wp-widget.git","clone_url":"https://github.com/eliksir/mailmojo-wp-widget.git","svn_url":"https://github.com/eliksir/mailmojo-wp-widget","homepage":"","size":1529,"stargazers_count":3,"watchers_count":3,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/pulls/17"},"html":{"href":"https://github.com/eliksir/mailmojo-wp-widget/pull/17"},"issue":{"href":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/issues/17"},"comments":{"href":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/eliksir/mailmojo-wp-widget/statuses/6319b8b91fa37a1f5e80d563556e21bdd5245daa"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"fdanielsen","id":343098,"avatar_url":"https://avatars.githubusercontent.com/u/343098?v=3","gravatar_id":"","url":"https://api.github.com/users/fdanielsen","html_url":"https://github.com/fdanielsen","followers_url":"https://api.github.com/users/fdanielsen/followers","following_url":"https://api.github.com/users/fdanielsen/following{/other_user}","gists_url":"https://api.github.com/users/fdanielsen/gists{/gist_id}","starred_url":"https://api.github.com/users/fdanielsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fdanielsen/subscriptions","organizations_url":"https://api.github.com/users/fdanielsen/orgs","repos_url":"https://api.github.com/users/fdanielsen/repos","events_url":"https://api.github.com/users/fdanielsen/events{/privacy}","received_events_url":"https://api.github.com/users/fdanielsen/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":14,"deletions":6,"changed_files":4}}
{"actor":{"display_login":"fdanielsen"}}