{"action":"opened","number":14,"pull_request":{"url":"https://api.github.com/repos/pedro151/starumlPHP/pulls/14","id":54413428,"html_url":"https://github.com/pedro151/starumlPHP/pull/14","diff_url":"https://github.com/pedro151/starumlPHP/pull/14.diff","patch_url":"https://github.com/pedro151/starumlPHP/pull/14.patch","issue_url":"https://api.github.com/repos/pedro151/starumlPHP/issues/14","number":14,"state":"open","locked":false,"title":"Updates","user":{"login":"designermonkey","id":221344,"avatar_url":"https://avatars.githubusercontent.com/u/221344?v=3","gravatar_id":"","url":"https://api.github.com/users/designermonkey","html_url":"https://github.com/designermonkey","followers_url":"https://api.github.com/users/designermonkey/followers","following_url":"https://api.github.com/users/designermonkey/following{/other_user}","gists_url":"https://api.github.com/users/designermonkey/gists{/gist_id}","starred_url":"https://api.github.com/users/designermonkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/designermonkey/subscriptions","organizations_url":"https://api.github.com/users/designermonkey/orgs","repos_url":"https://api.github.com/users/designermonkey/repos","events_url":"https://api.github.com/users/designermonkey/events{/privacy}","received_events_url":"https://api.github.com/users/designermonkey/received_events","type":"User","site_admin":false},"body":"There's a few things here that I wanted to offer to help.\r\n\r\n1. PSR2 standards ask for newlines before opening braces, and as it is generally the accepted standard, I've done this.\r\n2. In PHP, interfaces don't have a visibility keyword.\r\n3. Sadly, in PHP, enum doesn't exist, but there is a core class to emulate it.\r\n4. Linked to an issue I spotted (but didn't log in favour of fixing it), there should be allowance to not set a visibility, and as 'package' isn't a PHP thing, it maps nicely.\r\n\r\nI hope this is helpful, it certainly is for me using this package.","created_at":"2015-12-22T20:49:57Z","updated_at":"2015-12-22T20:49:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pedro151/starumlPHP/pulls/14/commits","review_comments_url":"https://api.github.com/repos/pedro151/starumlPHP/pulls/14/comments","review_comment_url":"https://api.github.com/repos/pedro151/starumlPHP/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pedro151/starumlPHP/issues/14/comments","statuses_url":"https://api.github.com/repos/pedro151/starumlPHP/statuses/0be5b3516f20d30c62f7d22a8ad67498b605f357","head":{"label":"embarknow:updates","ref":"updates","sha":"0be5b3516f20d30c62f7d22a8ad67498b605f357","user":{"login":"embarknow","id":7386507,"avatar_url":"https://avatars.githubusercontent.com/u/7386507?v=3","gravatar_id":"","url":"https://api.github.com/users/embarknow","html_url":"https://github.com/embarknow","followers_url":"https://api.github.com/users/embarknow/followers","following_url":"https://api.github.com/users/embarknow/following{/other_user}","gists_url":"https://api.github.com/users/embarknow/gists{/gist_id}","starred_url":"https://api.github.com/users/embarknow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/embarknow/subscriptions","organizations_url":"https://api.github.com/users/embarknow/orgs","repos_url":"https://api.github.com/users/embarknow/repos","events_url":"https://api.github.com/users/embarknow/events{/privacy}","received_events_url":"https://api.github.com/users/embarknow/received_events","type":"Organization","site_admin":false},"repo":{"id":48447827,"name":"starumlPHP","full_name":"embarknow/starumlPHP","owner":{"login":"embarknow","id":7386507,"avatar_url":"https://avatars.githubusercontent.com/u/7386507?v=3","gravatar_id":"","url":"https://api.github.com/users/embarknow","html_url":"https://github.com/embarknow","followers_url":"https://api.github.com/users/embarknow/followers","following_url":"https://api.github.com/users/embarknow/following{/other_user}","gists_url":"https://api.github.com/users/embarknow/gists{/gist_id}","starred_url":"https://api.github.com/users/embarknow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/embarknow/subscriptions","organizations_url":"https://api.github.com/users/embarknow/orgs","repos_url":"https://api.github.com/users/embarknow/repos","events_url":"https://api.github.com/users/embarknow/events{/privacy}","received_events_url":"https://api.github.com/users/embarknow/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/embarknow/starumlPHP","description":" PHP extension for StarUML 2","fork":true,"url":"https://api.github.com/repos/embarknow/starumlPHP","forks_url":"https://api.github.com/repos/embarknow/starumlPHP/forks","keys_url":"https://api.github.com/repos/embarknow/starumlPHP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/embarknow/starumlPHP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/embarknow/starumlPHP/teams","hooks_url":"https://api.github.com/repos/embarknow/starumlPHP/hooks","issue_events_url":"https://api.github.com/repos/embarknow/starumlPHP/issues/events{/number}","events_url":"https://api.github.com/repos/embarknow/starumlPHP/events","assignees_url":"https://api.github.com/repos/embarknow/starumlPHP/assignees{/user}","branches_url":"https://api.github.com/repos/embarknow/starumlPHP/branches{/branch}","tags_url":"https://api.github.com/repos/embarknow/starumlPHP/tags","blobs_url":"https://api.github.com/repos/embarknow/starumlPHP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/embarknow/starumlPHP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/embarknow/starumlPHP/git/refs{/sha}","trees_url":"https://api.github.com/repos/embarknow/starumlPHP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/embarknow/starumlPHP/statuses/{sha}","languages_url":"https://api.github.com/repos/embarknow/starumlPHP/languages","stargazers_url":"https://api.github.com/repos/embarknow/starumlPHP/stargazers","contributors_url":"https://api.github.com/repos/embarknow/starumlPHP/contributors","subscribers_url":"https://api.github.com/repos/embarknow/starumlPHP/subscribers","subscription_url":"https://api.github.com/repos/embarknow/starumlPHP/subscription","commits_url":"https://api.github.com/repos/embarknow/starumlPHP/commits{/sha}","git_commits_url":"https://api.github.com/repos/embarknow/starumlPHP/git/commits{/sha}","comments_url":"https://api.github.com/repos/embarknow/starumlPHP/comments{/number}","issue_comment_url":"https://api.github.com/repos/embarknow/starumlPHP/issues/comments{/number}","contents_url":"https://api.github.com/repos/embarknow/starumlPHP/contents/{+path}","compare_url":"https://api.github.com/repos/embarknow/starumlPHP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/embarknow/starumlPHP/merges","archive_url":"https://api.github.com/repos/embarknow/starumlPHP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/embarknow/starumlPHP/downloads","issues_url":"https://api.github.com/repos/embarknow/starumlPHP/issues{/number}","pulls_url":"https://api.github.com/repos/embarknow/starumlPHP/pulls{/number}","milestones_url":"https://api.github.com/repos/embarknow/starumlPHP/milestones{/number}","notifications_url":"https://api.github.com/repos/embarknow/starumlPHP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/embarknow/starumlPHP/labels{/name}","releases_url":"https://api.github.com/repos/embarknow/starumlPHP/releases{/id}","created_at":"2015-12-22T18:34:43Z","updated_at":"2015-12-22T18:34:43Z","pushed_at":"2015-12-22T20:38:55Z","git_url":"git://github.com/embarknow/starumlPHP.git","ssh_url":"git@github.com:embarknow/starumlPHP.git","clone_url":"https://github.com/embarknow/starumlPHP.git","svn_url":"https://github.com/embarknow/starumlPHP","homepage":"","size":54,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"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":0,"default_branch":"master"}},"base":{"label":"pedro151:master","ref":"master","sha":"24b6608dbb0950e3e7c6e0537f9e149fea7bc2a7","user":{"login":"pedro151","id":6169925,"avatar_url":"https://avatars.githubusercontent.com/u/6169925?v=3","gravatar_id":"","url":"https://api.github.com/users/pedro151","html_url":"https://github.com/pedro151","followers_url":"https://api.github.com/users/pedro151/followers","following_url":"https://api.github.com/users/pedro151/following{/other_user}","gists_url":"https://api.github.com/users/pedro151/gists{/gist_id}","starred_url":"https://api.github.com/users/pedro151/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedro151/subscriptions","organizations_url":"https://api.github.com/users/pedro151/orgs","repos_url":"https://api.github.com/users/pedro151/repos","events_url":"https://api.github.com/users/pedro151/events{/privacy}","received_events_url":"https://api.github.com/users/pedro151/received_events","type":"User","site_admin":false},"repo":{"id":23227401,"name":"starumlPHP","full_name":"pedro151/starumlPHP","owner":{"login":"pedro151","id":6169925,"avatar_url":"https://avatars.githubusercontent.com/u/6169925?v=3","gravatar_id":"","url":"https://api.github.com/users/pedro151","html_url":"https://github.com/pedro151","followers_url":"https://api.github.com/users/pedro151/followers","following_url":"https://api.github.com/users/pedro151/following{/other_user}","gists_url":"https://api.github.com/users/pedro151/gists{/gist_id}","starred_url":"https://api.github.com/users/pedro151/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedro151/subscriptions","organizations_url":"https://api.github.com/users/pedro151/orgs","repos_url":"https://api.github.com/users/pedro151/repos","events_url":"https://api.github.com/users/pedro151/events{/privacy}","received_events_url":"https://api.github.com/users/pedro151/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pedro151/starumlPHP","description":" PHP extension for StarUML 2","fork":false,"url":"https://api.github.com/repos/pedro151/starumlPHP","forks_url":"https://api.github.com/repos/pedro151/starumlPHP/forks","keys_url":"https://api.github.com/repos/pedro151/starumlPHP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pedro151/starumlPHP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pedro151/starumlPHP/teams","hooks_url":"https://api.github.com/repos/pedro151/starumlPHP/hooks","issue_events_url":"https://api.github.com/repos/pedro151/starumlPHP/issues/events{/number}","events_url":"https://api.github.com/repos/pedro151/starumlPHP/events","assignees_url":"https://api.github.com/repos/pedro151/starumlPHP/assignees{/user}","branches_url":"https://api.github.com/repos/pedro151/starumlPHP/branches{/branch}","tags_url":"https://api.github.com/repos/pedro151/starumlPHP/tags","blobs_url":"https://api.github.com/repos/pedro151/starumlPHP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pedro151/starumlPHP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pedro151/starumlPHP/git/refs{/sha}","trees_url":"https://api.github.com/repos/pedro151/starumlPHP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pedro151/starumlPHP/statuses/{sha}","languages_url":"https://api.github.com/repos/pedro151/starumlPHP/languages","stargazers_url":"https://api.github.com/repos/pedro151/starumlPHP/stargazers","contributors_url":"https://api.github.com/repos/pedro151/starumlPHP/contributors","subscribers_url":"https://api.github.com/repos/pedro151/starumlPHP/subscribers","subscription_url":"https://api.github.com/repos/pedro151/starumlPHP/subscription","commits_url":"https://api.github.com/repos/pedro151/starumlPHP/commits{/sha}","git_commits_url":"https://api.github.com/repos/pedro151/starumlPHP/git/commits{/sha}","comments_url":"https://api.github.com/repos/pedro151/starumlPHP/comments{/number}","issue_comment_url":"https://api.github.com/repos/pedro151/starumlPHP/issues/comments{/number}","contents_url":"https://api.github.com/repos/pedro151/starumlPHP/contents/{+path}","compare_url":"https://api.github.com/repos/pedro151/starumlPHP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pedro151/starumlPHP/merges","archive_url":"https://api.github.com/repos/pedro151/starumlPHP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pedro151/starumlPHP/downloads","issues_url":"https://api.github.com/repos/pedro151/starumlPHP/issues{/number}","pulls_url":"https://api.github.com/repos/pedro151/starumlPHP/pulls{/number}","milestones_url":"https://api.github.com/repos/pedro151/starumlPHP/milestones{/number}","notifications_url":"https://api.github.com/repos/pedro151/starumlPHP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pedro151/starumlPHP/labels{/name}","releases_url":"https://api.github.com/repos/pedro151/starumlPHP/releases{/id}","created_at":"2014-08-22T14:08:23Z","updated_at":"2015-12-20T21:01:01Z","pushed_at":"2015-12-22T20:49:57Z","git_url":"git://github.com/pedro151/starumlPHP.git","ssh_url":"git@github.com:pedro151/starumlPHP.git","clone_url":"https://github.com/pedro151/starumlPHP.git","svn_url":"https://github.com/pedro151/starumlPHP","homepage":"","size":55,"stargazers_count":29,"watchers_count":29,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":7,"forks":8,"open_issues":7,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pedro151/starumlPHP/pulls/14"},"html":{"href":"https://github.com/pedro151/starumlPHP/pull/14"},"issue":{"href":"https://api.github.com/repos/pedro151/starumlPHP/issues/14"},"comments":{"href":"https://api.github.com/repos/pedro151/starumlPHP/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/pedro151/starumlPHP/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/pedro151/starumlPHP/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pedro151/starumlPHP/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/pedro151/starumlPHP/statuses/0be5b3516f20d30c62f7d22a8ad67498b605f357"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":27,"deletions":27,"changed_files":1}}