{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/oguz463/php-gedcom/pulls/1","id":248644817,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQ4NjQ0ODE3","html_url":"https://github.com/oguz463/php-gedcom/pull/1","diff_url":"https://github.com/oguz463/php-gedcom/pull/1.diff","patch_url":"https://github.com/oguz463/php-gedcom/pull/1.patch","issue_url":"https://api.github.com/repos/oguz463/php-gedcom/issues/1","number":1,"state":"closed","locked":false,"title":"Eliminate PHP throws notices","user":{"login":"juliolopez78","id":5769504,"node_id":"MDQ6VXNlcjU3Njk1MDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/5769504?v=4","gravatar_id":"","url":"https://api.github.com/users/juliolopez78","html_url":"https://github.com/juliolopez78","followers_url":"https://api.github.com/users/juliolopez78/followers","following_url":"https://api.github.com/users/juliolopez78/following{/other_user}","gists_url":"https://api.github.com/users/juliolopez78/gists{/gist_id}","starred_url":"https://api.github.com/users/juliolopez78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliolopez78/subscriptions","organizations_url":"https://api.github.com/users/juliolopez78/orgs","repos_url":"https://api.github.com/users/juliolopez78/repos","events_url":"https://api.github.com/users/juliolopez78/events{/privacy}","received_events_url":"https://api.github.com/users/juliolopez78/received_events","type":"User","site_admin":false},"body":"Sometimes a gedcom file might have missing data in the event of the researcher only knowing a first name or last name. In these cases a gedcom file might end up with empty `SURN` or `GIVN` records for an individual.\r\n\r\nWhen your code finds such records there is no `$record[2]` in the record array. I just added a quick and dirty fix to add an empty string at index 2 in such cases.","created_at":"2019-01-29T20:21:12Z","updated_at":"2019-02-08T06:51:55Z","closed_at":"2019-02-08T06:51:54Z","merged_at":"2019-02-08T06:51:54Z","merge_commit_sha":"c1007b4e0e9f9a3e0359adb19d66f72c4e1260b7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/oguz463/php-gedcom/pulls/1/commits","review_comments_url":"https://api.github.com/repos/oguz463/php-gedcom/pulls/1/comments","review_comment_url":"https://api.github.com/repos/oguz463/php-gedcom/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oguz463/php-gedcom/issues/1/comments","statuses_url":"https://api.github.com/repos/oguz463/php-gedcom/statuses/dcbea36e58c06415f8904969f00e39528928b4e7","head":{"label":"juliolopez78:fix-php-name-parsing-notices","ref":"fix-php-name-parsing-notices","sha":"dcbea36e58c06415f8904969f00e39528928b4e7","user":{"login":"juliolopez78","id":5769504,"node_id":"MDQ6VXNlcjU3Njk1MDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/5769504?v=4","gravatar_id":"","url":"https://api.github.com/users/juliolopez78","html_url":"https://github.com/juliolopez78","followers_url":"https://api.github.com/users/juliolopez78/followers","following_url":"https://api.github.com/users/juliolopez78/following{/other_user}","gists_url":"https://api.github.com/users/juliolopez78/gists{/gist_id}","starred_url":"https://api.github.com/users/juliolopez78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliolopez78/subscriptions","organizations_url":"https://api.github.com/users/juliolopez78/orgs","repos_url":"https://api.github.com/users/juliolopez78/repos","events_url":"https://api.github.com/users/juliolopez78/events{/privacy}","received_events_url":"https://api.github.com/users/juliolopez78/received_events","type":"User","site_admin":false},"repo":{"id":168220587,"node_id":"MDEwOlJlcG9zaXRvcnkxNjgyMjA1ODc=","name":"php-gedcom","full_name":"juliolopez78/php-gedcom","private":false,"owner":{"login":"juliolopez78","id":5769504,"node_id":"MDQ6VXNlcjU3Njk1MDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/5769504?v=4","gravatar_id":"","url":"https://api.github.com/users/juliolopez78","html_url":"https://github.com/juliolopez78","followers_url":"https://api.github.com/users/juliolopez78/followers","following_url":"https://api.github.com/users/juliolopez78/following{/other_user}","gists_url":"https://api.github.com/users/juliolopez78/gists{/gist_id}","starred_url":"https://api.github.com/users/juliolopez78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliolopez78/subscriptions","organizations_url":"https://api.github.com/users/juliolopez78/orgs","repos_url":"https://api.github.com/users/juliolopez78/repos","events_url":"https://api.github.com/users/juliolopez78/events{/privacy}","received_events_url":"https://api.github.com/users/juliolopez78/received_events","type":"User","site_admin":false},"html_url":"https://github.com/juliolopez78/php-gedcom","description":"A library for reading and writing GEDCOM files in PHP.","fork":true,"url":"https://api.github.com/repos/juliolopez78/php-gedcom","forks_url":"https://api.github.com/repos/juliolopez78/php-gedcom/forks","keys_url":"https://api.github.com/repos/juliolopez78/php-gedcom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/juliolopez78/php-gedcom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/juliolopez78/php-gedcom/teams","hooks_url":"https://api.github.com/repos/juliolopez78/php-gedcom/hooks","issue_events_url":"https://api.github.com/repos/juliolopez78/php-gedcom/issues/events{/number}","events_url":"https://api.github.com/repos/juliolopez78/php-gedcom/events","assignees_url":"https://api.github.com/repos/juliolopez78/php-gedcom/assignees{/user}","branches_url":"https://api.github.com/repos/juliolopez78/php-gedcom/branches{/branch}","tags_url":"https://api.github.com/repos/juliolopez78/php-gedcom/tags","blobs_url":"https://api.github.com/repos/juliolopez78/php-gedcom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/juliolopez78/php-gedcom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/juliolopez78/php-gedcom/git/refs{/sha}","trees_url":"https://api.github.com/repos/juliolopez78/php-gedcom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/juliolopez78/php-gedcom/statuses/{sha}","languages_url":"https://api.github.com/repos/juliolopez78/php-gedcom/languages","stargazers_url":"https://api.github.com/repos/juliolopez78/php-gedcom/stargazers","contributors_url":"https://api.github.com/repos/juliolopez78/php-gedcom/contributors","subscribers_url":"https://api.github.com/repos/juliolopez78/php-gedcom/subscribers","subscription_url":"https://api.github.com/repos/juliolopez78/php-gedcom/subscription","commits_url":"https://api.github.com/repos/juliolopez78/php-gedcom/commits{/sha}","git_commits_url":"https://api.github.com/repos/juliolopez78/php-gedcom/git/commits{/sha}","comments_url":"https://api.github.com/repos/juliolopez78/php-gedcom/comments{/number}","issue_comment_url":"https://api.github.com/repos/juliolopez78/php-gedcom/issues/comments{/number}","contents_url":"https://api.github.com/repos/juliolopez78/php-gedcom/contents/{+path}","compare_url":"https://api.github.com/repos/juliolopez78/php-gedcom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/juliolopez78/php-gedcom/merges","archive_url":"https://api.github.com/repos/juliolopez78/php-gedcom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/juliolopez78/php-gedcom/downloads","issues_url":"https://api.github.com/repos/juliolopez78/php-gedcom/issues{/number}","pulls_url":"https://api.github.com/repos/juliolopez78/php-gedcom/pulls{/number}","milestones_url":"https://api.github.com/repos/juliolopez78/php-gedcom/milestones{/number}","notifications_url":"https://api.github.com/repos/juliolopez78/php-gedcom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/juliolopez78/php-gedcom/labels{/name}","releases_url":"https://api.github.com/repos/juliolopez78/php-gedcom/releases{/id}","deployments_url":"https://api.github.com/repos/juliolopez78/php-gedcom/deployments","created_at":"2019-01-29T20:07:53Z","updated_at":"2019-01-29T20:07:55Z","pushed_at":"2019-01-29T20:15:51Z","git_url":"git://github.com/juliolopez78/php-gedcom.git","ssh_url":"git@github.com:juliolopez78/php-gedcom.git","clone_url":"https://github.com/juliolopez78/php-gedcom.git","svn_url":"https://github.com/juliolopez78/php-gedcom","homepage":null,"size":687,"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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"oguz463:master","ref":"master","sha":"631e696897be3e892beaad33e56b35ed28ff2d8a","user":{"login":"oguz463","id":22803432,"node_id":"MDQ6VXNlcjIyODAzNDMy","avatar_url":"https://avatars0.githubusercontent.com/u/22803432?v=4","gravatar_id":"","url":"https://api.github.com/users/oguz463","html_url":"https://github.com/oguz463","followers_url":"https://api.github.com/users/oguz463/followers","following_url":"https://api.github.com/users/oguz463/following{/other_user}","gists_url":"https://api.github.com/users/oguz463/gists{/gist_id}","starred_url":"https://api.github.com/users/oguz463/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oguz463/subscriptions","organizations_url":"https://api.github.com/users/oguz463/orgs","repos_url":"https://api.github.com/users/oguz463/repos","events_url":"https://api.github.com/users/oguz463/events{/privacy}","received_events_url":"https://api.github.com/users/oguz463/received_events","type":"User","site_admin":false},"repo":{"id":139637203,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk2MzcyMDM=","name":"php-gedcom","full_name":"oguz463/php-gedcom","private":false,"owner":{"login":"oguz463","id":22803432,"node_id":"MDQ6VXNlcjIyODAzNDMy","avatar_url":"https://avatars0.githubusercontent.com/u/22803432?v=4","gravatar_id":"","url":"https://api.github.com/users/oguz463","html_url":"https://github.com/oguz463","followers_url":"https://api.github.com/users/oguz463/followers","following_url":"https://api.github.com/users/oguz463/following{/other_user}","gists_url":"https://api.github.com/users/oguz463/gists{/gist_id}","starred_url":"https://api.github.com/users/oguz463/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oguz463/subscriptions","organizations_url":"https://api.github.com/users/oguz463/orgs","repos_url":"https://api.github.com/users/oguz463/repos","events_url":"https://api.github.com/users/oguz463/events{/privacy}","received_events_url":"https://api.github.com/users/oguz463/received_events","type":"User","site_admin":false},"html_url":"https://github.com/oguz463/php-gedcom","description":"A library for reading and writing GEDCOM files in PHP.","fork":true,"url":"https://api.github.com/repos/oguz463/php-gedcom","forks_url":"https://api.github.com/repos/oguz463/php-gedcom/forks","keys_url":"https://api.github.com/repos/oguz463/php-gedcom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oguz463/php-gedcom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oguz463/php-gedcom/teams","hooks_url":"https://api.github.com/repos/oguz463/php-gedcom/hooks","issue_events_url":"https://api.github.com/repos/oguz463/php-gedcom/issues/events{/number}","events_url":"https://api.github.com/repos/oguz463/php-gedcom/events","assignees_url":"https://api.github.com/repos/oguz463/php-gedcom/assignees{/user}","branches_url":"https://api.github.com/repos/oguz463/php-gedcom/branches{/branch}","tags_url":"https://api.github.com/repos/oguz463/php-gedcom/tags","blobs_url":"https://api.github.com/repos/oguz463/php-gedcom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oguz463/php-gedcom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oguz463/php-gedcom/git/refs{/sha}","trees_url":"https://api.github.com/repos/oguz463/php-gedcom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oguz463/php-gedcom/statuses/{sha}","languages_url":"https://api.github.com/repos/oguz463/php-gedcom/languages","stargazers_url":"https://api.github.com/repos/oguz463/php-gedcom/stargazers","contributors_url":"https://api.github.com/repos/oguz463/php-gedcom/contributors","subscribers_url":"https://api.github.com/repos/oguz463/php-gedcom/subscribers","subscription_url":"https://api.github.com/repos/oguz463/php-gedcom/subscription","commits_url":"https://api.github.com/repos/oguz463/php-gedcom/commits{/sha}","git_commits_url":"https://api.github.com/repos/oguz463/php-gedcom/git/commits{/sha}","comments_url":"https://api.github.com/repos/oguz463/php-gedcom/comments{/number}","issue_comment_url":"https://api.github.com/repos/oguz463/php-gedcom/issues/comments{/number}","contents_url":"https://api.github.com/repos/oguz463/php-gedcom/contents/{+path}","compare_url":"https://api.github.com/repos/oguz463/php-gedcom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oguz463/php-gedcom/merges","archive_url":"https://api.github.com/repos/oguz463/php-gedcom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oguz463/php-gedcom/downloads","issues_url":"https://api.github.com/repos/oguz463/php-gedcom/issues{/number}","pulls_url":"https://api.github.com/repos/oguz463/php-gedcom/pulls{/number}","milestones_url":"https://api.github.com/repos/oguz463/php-gedcom/milestones{/number}","notifications_url":"https://api.github.com/repos/oguz463/php-gedcom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oguz463/php-gedcom/labels{/name}","releases_url":"https://api.github.com/repos/oguz463/php-gedcom/releases{/id}","deployments_url":"https://api.github.com/repos/oguz463/php-gedcom/deployments","created_at":"2018-07-03T21:08:32Z","updated_at":"2018-11-27T23:06:21Z","pushed_at":"2019-02-08T06:51:54Z","git_url":"git://github.com/oguz463/php-gedcom.git","ssh_url":"git@github.com:oguz463/php-gedcom.git","clone_url":"https://github.com/oguz463/php-gedcom.git","svn_url":"https://github.com/oguz463/php-gedcom","homepage":null,"size":691,"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":3,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":3,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/oguz463/php-gedcom/pulls/1"},"html":{"href":"https://github.com/oguz463/php-gedcom/pull/1"},"issue":{"href":"https://api.github.com/repos/oguz463/php-gedcom/issues/1"},"comments":{"href":"https://api.github.com/repos/oguz463/php-gedcom/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/oguz463/php-gedcom/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/oguz463/php-gedcom/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oguz463/php-gedcom/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/oguz463/php-gedcom/statuses/dcbea36e58c06415f8904969f00e39528928b4e7"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"oguz463","id":22803432,"node_id":"MDQ6VXNlcjIyODAzNDMy","avatar_url":"https://avatars0.githubusercontent.com/u/22803432?v=4","gravatar_id":"","url":"https://api.github.com/users/oguz463","html_url":"https://github.com/oguz463","followers_url":"https://api.github.com/users/oguz463/followers","following_url":"https://api.github.com/users/oguz463/following{/other_user}","gists_url":"https://api.github.com/users/oguz463/gists{/gist_id}","starred_url":"https://api.github.com/users/oguz463/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oguz463/subscriptions","organizations_url":"https://api.github.com/users/oguz463/orgs","repos_url":"https://api.github.com/users/oguz463/repos","events_url":"https://api.github.com/users/oguz463/events{/privacy}","received_events_url":"https://api.github.com/users/oguz463/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":4,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"oguz463"}}