{"action":"opened","number":94,"pull_request":{"url":"https://api.github.com/repos/bzikarsky/gelf-php/pulls/94","id":174244692,"html_url":"https://github.com/bzikarsky/gelf-php/pull/94","diff_url":"https://github.com/bzikarsky/gelf-php/pull/94.diff","patch_url":"https://github.com/bzikarsky/gelf-php/pull/94.patch","issue_url":"https://api.github.com/repos/bzikarsky/gelf-php/issues/94","number":94,"state":"open","locked":false,"title":"Fix issue when using strict types","user":{"login":"chrisandchris","id":2905794,"avatar_url":"https://avatars2.githubusercontent.com/u/2905794?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisandchris","html_url":"https://github.com/chrisandchris","followers_url":"https://api.github.com/users/chrisandchris/followers","following_url":"https://api.github.com/users/chrisandchris/following{/other_user}","gists_url":"https://api.github.com/users/chrisandchris/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisandchris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisandchris/subscriptions","organizations_url":"https://api.github.com/users/chrisandchris/orgs","repos_url":"https://api.github.com/users/chrisandchris/repos","events_url":"https://api.github.com/users/chrisandchris/events{/privacy}","received_events_url":"https://api.github.com/users/chrisandchris/received_events","type":"User","site_admin":false},"body":"When using PHP 7 and strict types, the array filter used when creating an array from the `Message` will throw an error when any containing data element is an array.\r\n\r\nBy adding a test `is_string` and comparing also using `empty`, this will be prevented.","created_at":"2018-03-11T21:52:26Z","updated_at":"2018-03-11T21:52:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/bzikarsky/gelf-php/pulls/94/commits","review_comments_url":"https://api.github.com/repos/bzikarsky/gelf-php/pulls/94/comments","review_comment_url":"https://api.github.com/repos/bzikarsky/gelf-php/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bzikarsky/gelf-php/issues/94/comments","statuses_url":"https://api.github.com/repos/bzikarsky/gelf-php/statuses/1ccdb973bc6941f9ac8f787080987cd93083745b","head":{"label":"chrisandchris:master","ref":"master","sha":"1ccdb973bc6941f9ac8f787080987cd93083745b","user":{"login":"chrisandchris","id":2905794,"avatar_url":"https://avatars2.githubusercontent.com/u/2905794?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisandchris","html_url":"https://github.com/chrisandchris","followers_url":"https://api.github.com/users/chrisandchris/followers","following_url":"https://api.github.com/users/chrisandchris/following{/other_user}","gists_url":"https://api.github.com/users/chrisandchris/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisandchris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisandchris/subscriptions","organizations_url":"https://api.github.com/users/chrisandchris/orgs","repos_url":"https://api.github.com/users/chrisandchris/repos","events_url":"https://api.github.com/users/chrisandchris/events{/privacy}","received_events_url":"https://api.github.com/users/chrisandchris/received_events","type":"User","site_admin":false},"repo":{"id":124801998,"name":"gelf-php","full_name":"chrisandchris/gelf-php","owner":{"login":"chrisandchris","id":2905794,"avatar_url":"https://avatars2.githubusercontent.com/u/2905794?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisandchris","html_url":"https://github.com/chrisandchris","followers_url":"https://api.github.com/users/chrisandchris/followers","following_url":"https://api.github.com/users/chrisandchris/following{/other_user}","gists_url":"https://api.github.com/users/chrisandchris/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisandchris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisandchris/subscriptions","organizations_url":"https://api.github.com/users/chrisandchris/orgs","repos_url":"https://api.github.com/users/chrisandchris/repos","events_url":"https://api.github.com/users/chrisandchris/events{/privacy}","received_events_url":"https://api.github.com/users/chrisandchris/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chrisandchris/gelf-php","description":"A php implementation to send log-files to a gelf compatible backend like graylog","fork":true,"url":"https://api.github.com/repos/chrisandchris/gelf-php","forks_url":"https://api.github.com/repos/chrisandchris/gelf-php/forks","keys_url":"https://api.github.com/repos/chrisandchris/gelf-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chrisandchris/gelf-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chrisandchris/gelf-php/teams","hooks_url":"https://api.github.com/repos/chrisandchris/gelf-php/hooks","issue_events_url":"https://api.github.com/repos/chrisandchris/gelf-php/issues/events{/number}","events_url":"https://api.github.com/repos/chrisandchris/gelf-php/events","assignees_url":"https://api.github.com/repos/chrisandchris/gelf-php/assignees{/user}","branches_url":"https://api.github.com/repos/chrisandchris/gelf-php/branches{/branch}","tags_url":"https://api.github.com/repos/chrisandchris/gelf-php/tags","blobs_url":"https://api.github.com/repos/chrisandchris/gelf-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chrisandchris/gelf-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chrisandchris/gelf-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/chrisandchris/gelf-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chrisandchris/gelf-php/statuses/{sha}","languages_url":"https://api.github.com/repos/chrisandchris/gelf-php/languages","stargazers_url":"https://api.github.com/repos/chrisandchris/gelf-php/stargazers","contributors_url":"https://api.github.com/repos/chrisandchris/gelf-php/contributors","subscribers_url":"https://api.github.com/repos/chrisandchris/gelf-php/subscribers","subscription_url":"https://api.github.com/repos/chrisandchris/gelf-php/subscription","commits_url":"https://api.github.com/repos/chrisandchris/gelf-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/chrisandchris/gelf-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/chrisandchris/gelf-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/chrisandchris/gelf-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/chrisandchris/gelf-php/contents/{+path}","compare_url":"https://api.github.com/repos/chrisandchris/gelf-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chrisandchris/gelf-php/merges","archive_url":"https://api.github.com/repos/chrisandchris/gelf-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chrisandchris/gelf-php/downloads","issues_url":"https://api.github.com/repos/chrisandchris/gelf-php/issues{/number}","pulls_url":"https://api.github.com/repos/chrisandchris/gelf-php/pulls{/number}","milestones_url":"https://api.github.com/repos/chrisandchris/gelf-php/milestones{/number}","notifications_url":"https://api.github.com/repos/chrisandchris/gelf-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chrisandchris/gelf-php/labels{/name}","releases_url":"https://api.github.com/repos/chrisandchris/gelf-php/releases{/id}","deployments_url":"https://api.github.com/repos/chrisandchris/gelf-php/deployments","created_at":"2018-03-11T21:40:02Z","updated_at":"2018-03-11T21:40:04Z","pushed_at":"2018-03-11T21:50:57Z","git_url":"git://github.com/chrisandchris/gelf-php.git","ssh_url":"git@github.com:chrisandchris/gelf-php.git","clone_url":"https://github.com/chrisandchris/gelf-php.git","svn_url":"https://github.com/chrisandchris/gelf-php","homepage":null,"size":238,"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":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bzikarsky:master","ref":"master","sha":"dbb272b1545d6bd61dce11ec30dc64ac8348d872","user":{"login":"bzikarsky","id":225374,"avatar_url":"https://avatars1.githubusercontent.com/u/225374?v=4","gravatar_id":"","url":"https://api.github.com/users/bzikarsky","html_url":"https://github.com/bzikarsky","followers_url":"https://api.github.com/users/bzikarsky/followers","following_url":"https://api.github.com/users/bzikarsky/following{/other_user}","gists_url":"https://api.github.com/users/bzikarsky/gists{/gist_id}","starred_url":"https://api.github.com/users/bzikarsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bzikarsky/subscriptions","organizations_url":"https://api.github.com/users/bzikarsky/orgs","repos_url":"https://api.github.com/users/bzikarsky/repos","events_url":"https://api.github.com/users/bzikarsky/events{/privacy}","received_events_url":"https://api.github.com/users/bzikarsky/received_events","type":"User","site_admin":false},"repo":{"id":9767200,"name":"gelf-php","full_name":"bzikarsky/gelf-php","owner":{"login":"bzikarsky","id":225374,"avatar_url":"https://avatars1.githubusercontent.com/u/225374?v=4","gravatar_id":"","url":"https://api.github.com/users/bzikarsky","html_url":"https://github.com/bzikarsky","followers_url":"https://api.github.com/users/bzikarsky/followers","following_url":"https://api.github.com/users/bzikarsky/following{/other_user}","gists_url":"https://api.github.com/users/bzikarsky/gists{/gist_id}","starred_url":"https://api.github.com/users/bzikarsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bzikarsky/subscriptions","organizations_url":"https://api.github.com/users/bzikarsky/orgs","repos_url":"https://api.github.com/users/bzikarsky/repos","events_url":"https://api.github.com/users/bzikarsky/events{/privacy}","received_events_url":"https://api.github.com/users/bzikarsky/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bzikarsky/gelf-php","description":"A php implementation to send log-files to a gelf compatible backend like graylog","fork":false,"url":"https://api.github.com/repos/bzikarsky/gelf-php","forks_url":"https://api.github.com/repos/bzikarsky/gelf-php/forks","keys_url":"https://api.github.com/repos/bzikarsky/gelf-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bzikarsky/gelf-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bzikarsky/gelf-php/teams","hooks_url":"https://api.github.com/repos/bzikarsky/gelf-php/hooks","issue_events_url":"https://api.github.com/repos/bzikarsky/gelf-php/issues/events{/number}","events_url":"https://api.github.com/repos/bzikarsky/gelf-php/events","assignees_url":"https://api.github.com/repos/bzikarsky/gelf-php/assignees{/user}","branches_url":"https://api.github.com/repos/bzikarsky/gelf-php/branches{/branch}","tags_url":"https://api.github.com/repos/bzikarsky/gelf-php/tags","blobs_url":"https://api.github.com/repos/bzikarsky/gelf-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bzikarsky/gelf-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bzikarsky/gelf-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/bzikarsky/gelf-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bzikarsky/gelf-php/statuses/{sha}","languages_url":"https://api.github.com/repos/bzikarsky/gelf-php/languages","stargazers_url":"https://api.github.com/repos/bzikarsky/gelf-php/stargazers","contributors_url":"https://api.github.com/repos/bzikarsky/gelf-php/contributors","subscribers_url":"https://api.github.com/repos/bzikarsky/gelf-php/subscribers","subscription_url":"https://api.github.com/repos/bzikarsky/gelf-php/subscription","commits_url":"https://api.github.com/repos/bzikarsky/gelf-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/bzikarsky/gelf-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/bzikarsky/gelf-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/bzikarsky/gelf-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/bzikarsky/gelf-php/contents/{+path}","compare_url":"https://api.github.com/repos/bzikarsky/gelf-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bzikarsky/gelf-php/merges","archive_url":"https://api.github.com/repos/bzikarsky/gelf-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bzikarsky/gelf-php/downloads","issues_url":"https://api.github.com/repos/bzikarsky/gelf-php/issues{/number}","pulls_url":"https://api.github.com/repos/bzikarsky/gelf-php/pulls{/number}","milestones_url":"https://api.github.com/repos/bzikarsky/gelf-php/milestones{/number}","notifications_url":"https://api.github.com/repos/bzikarsky/gelf-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bzikarsky/gelf-php/labels{/name}","releases_url":"https://api.github.com/repos/bzikarsky/gelf-php/releases{/id}","deployments_url":"https://api.github.com/repos/bzikarsky/gelf-php/deployments","created_at":"2013-04-30T08:42:29Z","updated_at":"2018-03-07T13:49:06Z","pushed_at":"2018-03-05T07:52:43Z","git_url":"git://github.com/bzikarsky/gelf-php.git","ssh_url":"git@github.com:bzikarsky/gelf-php.git","clone_url":"https://github.com/bzikarsky/gelf-php.git","svn_url":"https://github.com/bzikarsky/gelf-php","homepage":null,"size":238,"stargazers_count":193,"watchers_count":193,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":62,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":62,"open_issues":13,"watchers":193,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bzikarsky/gelf-php/pulls/94"},"html":{"href":"https://github.com/bzikarsky/gelf-php/pull/94"},"issue":{"href":"https://api.github.com/repos/bzikarsky/gelf-php/issues/94"},"comments":{"href":"https://api.github.com/repos/bzikarsky/gelf-php/issues/94/comments"},"review_comments":{"href":"https://api.github.com/repos/bzikarsky/gelf-php/pulls/94/comments"},"review_comment":{"href":"https://api.github.com/repos/bzikarsky/gelf-php/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bzikarsky/gelf-php/pulls/94/commits"},"statuses":{"href":"https://api.github.com/repos/bzikarsky/gelf-php/statuses/1ccdb973bc6941f9ac8f787080987cd93083745b"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":39,"deletions":3,"changed_files":2}}
{"actor":{"display_login":"chrisandchris"}}