GitHub PullRequestEvent at 2014-08-05 02:56:13
Repository: Commander
Actor: bruno-barros
Payload: {"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/ratiw/Commander/pulls/1","id":19320075,"html_url":"https://github.com/ratiw/Commander/pull/1","diff_url":"https://github.com/ratiw/Commander/pull/1.diff","patch_url":"https://github.com/ratiw/Commander/pull/1.patch","issue_url":"https://api.github.com/repos/ratiw/Commander/issues/1","number":1,"state":"open","title":"prevent throw exception if has default value","user":{"login":"bruno-barros","id":1840784,"avatar_url":"https://avatars.githubusercontent.com/u/1840784?v=2","gravatar_id":"baea179816fe4ab92952d13a9b398976","url":"https://api.github.com/users/bruno-barros","html_url":"https://github.com/bruno-barros","followers_url":"https://api.github.com/users/bruno-barros/followers","following_url":"https://api.github.com/users/bruno-barros/following{/other_user}","gists_url":"https://api.github.com/users/bruno-barros/gists{/gist_id}","starred_url":"https://api.github.com/users/bruno-barros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bruno-barros/subscriptions","organizations_url":"https://api.github.com/users/bruno-barros/orgs","repos_url":"https://api.github.com/users/bruno-barros/repos","events_url":"https://api.github.com/users/bruno-barros/events{/privacy}","received_events_url":"https://api.github.com/users/bruno-barros/received_events","type":"User","site_admin":false},"body":"prevent throw exception if parameter has default value.\r\n\r\nNow we can have default parameters that will prevent throw an exception if do not exists on input data.\r\n\r\n`class ExampleCommand {\r\n\tpublic  $id;\r\n\tpublic  $attrb = 'default'; // optional on input data\r\n}`","created_at":"2014-08-05T02:56:11Z","updated_at":"2014-08-05T02:56:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"256e33bae9d55c809c37a5a0c4fd50d838db3cd3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ratiw/Commander/pulls/1/commits","review_comments_url":"https://api.github.com/repos/ratiw/Commander/pulls/1/comments","review_comment_url":"https://api.github.com/repos/ratiw/Commander/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ratiw/Commander/issues/1/comments","statuses_url":"https://api.github.com/repos/ratiw/Commander/statuses/a514cef62d5e1546aaa9161e62431715cababbb7","head":{"label":"bruno-barros:master","ref":"master","sha":"a514cef62d5e1546aaa9161e62431715cababbb7","user":{"login":"bruno-barros","id":1840784,"avatar_url":"https://avatars.githubusercontent.com/u/1840784?v=2","gravatar_id":"baea179816fe4ab92952d13a9b398976","url":"https://api.github.com/users/bruno-barros","html_url":"https://github.com/bruno-barros","followers_url":"https://api.github.com/users/bruno-barros/followers","following_url":"https://api.github.com/users/bruno-barros/following{/other_user}","gists_url":"https://api.github.com/users/bruno-barros/gists{/gist_id}","starred_url":"https://api.github.com/users/bruno-barros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bruno-barros/subscriptions","organizations_url":"https://api.github.com/users/bruno-barros/orgs","repos_url":"https://api.github.com/users/bruno-barros/repos","events_url":"https://api.github.com/users/bruno-barros/events{/privacy}","received_events_url":"https://api.github.com/users/bruno-barros/received_events","type":"User","site_admin":false},"repo":{"id":22627428,"name":"Commander","full_name":"bruno-barros/Commander","owner":{"login":"bruno-barros","id":1840784,"avatar_url":"https://avatars.githubusercontent.com/u/1840784?v=2","gravatar_id":"baea179816fe4ab92952d13a9b398976","url":"https://api.github.com/users/bruno-barros","html_url":"https://github.com/bruno-barros","followers_url":"https://api.github.com/users/bruno-barros/followers","following_url":"https://api.github.com/users/bruno-barros/following{/other_user}","gists_url":"https://api.github.com/users/bruno-barros/gists{/gist_id}","starred_url":"https://api.github.com/users/bruno-barros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bruno-barros/subscriptions","organizations_url":"https://api.github.com/users/bruno-barros/orgs","repos_url":"https://api.github.com/users/bruno-barros/repos","events_url":"https://api.github.com/users/bruno-barros/events{/privacy}","received_events_url":"https://api.github.com/users/bruno-barros/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bruno-barros/Commander","description":"Easily leverage commands and domain events in your Laravel projects.","fork":true,"url":"https://api.github.com/repos/bruno-barros/Commander","forks_url":"https://api.github.com/repos/bruno-barros/Commander/forks","keys_url":"https://api.github.com/repos/bruno-barros/Commander/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bruno-barros/Commander/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bruno-barros/Commander/teams","hooks_url":"https://api.github.com/repos/bruno-barros/Commander/hooks","issue_events_url":"https://api.github.com/repos/bruno-barros/Commander/issues/events{/number}","events_url":"https://api.github.com/repos/bruno-barros/Commander/events","assignees_url":"https://api.github.com/repos/bruno-barros/Commander/assignees{/user}","branches_url":"https://api.github.com/repos/bruno-barros/Commander/branches{/branch}","tags_url":"https://api.github.com/repos/bruno-barros/Commander/tags","blobs_url":"https://api.github.com/repos/bruno-barros/Commander/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bruno-barros/Commander/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bruno-barros/Commander/git/refs{/sha}","trees_url":"https://api.github.com/repos/bruno-barros/Commander/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bruno-barros/Commander/statuses/{sha}","languages_url":"https://api.github.com/repos/bruno-barros/Commander/languages","stargazers_url":"https://api.github.com/repos/bruno-barros/Commander/stargazers","contributors_url":"https://api.github.com/repos/bruno-barros/Commander/contributors","subscribers_url":"https://api.github.com/repos/bruno-barros/Commander/subscribers","subscription_url":"https://api.github.com/repos/bruno-barros/Commander/subscription","commits_url":"https://api.github.com/repos/bruno-barros/Commander/commits{/sha}","git_commits_url":"https://api.github.com/repos/bruno-barros/Commander/git/commits{/sha}","comments_url":"https://api.github.com/repos/bruno-barros/Commander/comments{/number}","issue_comment_url":"https://api.github.com/repos/bruno-barros/Commander/issues/comments/{number}","contents_url":"https://api.github.com/repos/bruno-barros/Commander/contents/{+path}","compare_url":"https://api.github.com/repos/bruno-barros/Commander/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bruno-barros/Commander/merges","archive_url":"https://api.github.com/repos/bruno-barros/Commander/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bruno-barros/Commander/downloads","issues_url":"https://api.github.com/repos/bruno-barros/Commander/issues{/number}","pulls_url":"https://api.github.com/repos/bruno-barros/Commander/pulls{/number}","milestones_url":"https://api.github.com/repos/bruno-barros/Commander/milestones{/number}","notifications_url":"https://api.github.com/repos/bruno-barros/Commander/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bruno-barros/Commander/labels{/name}","releases_url":"https://api.github.com/repos/bruno-barros/Commander/releases{/id}","created_at":"2014-08-05T02:32:46Z","updated_at":"2014-08-05T02:51:29Z","pushed_at":"2014-08-05T02:51:30Z","git_url":"git://github.com/bruno-barros/Commander.git","ssh_url":"git@github.com:bruno-barros/Commander.git","clone_url":"https://github.com/bruno-barros/Commander.git","svn_url":"https://github.com/bruno-barros/Commander","homepage":"https://laracasts.com/series/commands-and-domain-events","size":163,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ratiw:master","ref":"master","sha":"196555f354d4e4df13a8f60a2627aa6992e768c0","user":{"login":"ratiw","id":807017,"avatar_url":"https://avatars.githubusercontent.com/u/807017?v=2","gravatar_id":"3936425034bffef3447b4ce3f191d377","url":"https://api.github.com/users/ratiw","html_url":"https://github.com/ratiw","followers_url":"https://api.github.com/users/ratiw/followers","following_url":"https://api.github.com/users/ratiw/following{/other_user}","gists_url":"https://api.github.com/users/ratiw/gists{/gist_id}","starred_url":"https://api.github.com/users/ratiw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ratiw/subscriptions","organizations_url":"https://api.github.com/users/ratiw/orgs","repos_url":"https://api.github.com/users/ratiw/repos","events_url":"https://api.github.com/users/ratiw/events{/privacy}","received_events_url":"https://api.github.com/users/ratiw/received_events","type":"User","site_admin":false},"repo":{"id":22333624,"name":"Commander","full_name":"ratiw/Commander","owner":{"login":"ratiw","id":807017,"avatar_url":"https://avatars.githubusercontent.com/u/807017?v=2","gravatar_id":"3936425034bffef3447b4ce3f191d377","url":"https://api.github.com/users/ratiw","html_url":"https://github.com/ratiw","followers_url":"https://api.github.com/users/ratiw/followers","following_url":"https://api.github.com/users/ratiw/following{/other_user}","gists_url":"https://api.github.com/users/ratiw/gists{/gist_id}","starred_url":"https://api.github.com/users/ratiw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ratiw/subscriptions","organizations_url":"https://api.github.com/users/ratiw/orgs","repos_url":"https://api.github.com/users/ratiw/repos","events_url":"https://api.github.com/users/ratiw/events{/privacy}","received_events_url":"https://api.github.com/users/ratiw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ratiw/Commander","description":"Easily leverage commands and domain events in your Laravel projects.","fork":true,"url":"https://api.github.com/repos/ratiw/Commander","forks_url":"https://api.github.com/repos/ratiw/Commander/forks","keys_url":"https://api.github.com/repos/ratiw/Commander/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ratiw/Commander/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ratiw/Commander/teams","hooks_url":"https://api.github.com/repos/ratiw/Commander/hooks","issue_events_url":"https://api.github.com/repos/ratiw/Commander/issues/events{/number}","events_url":"https://api.github.com/repos/ratiw/Commander/events","assignees_url":"https://api.github.com/repos/ratiw/Commander/assignees{/user}","branches_url":"https://api.github.com/repos/ratiw/Commander/branches{/branch}","tags_url":"https://api.github.com/repos/ratiw/Commander/tags","blobs_url":"https://api.github.com/repos/ratiw/Commander/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ratiw/Commander/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ratiw/Commander/git/refs{/sha}","trees_url":"https://api.github.com/repos/ratiw/Commander/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ratiw/Commander/statuses/{sha}","languages_url":"https://api.github.com/repos/ratiw/Commander/languages","stargazers_url":"https://api.github.com/repos/ratiw/Commander/stargazers","contributors_url":"https://api.github.com/repos/ratiw/Commander/contributors","subscribers_url":"https://api.github.com/repos/ratiw/Commander/subscribers","subscription_url":"https://api.github.com/repos/ratiw/Commander/subscription","commits_url":"https://api.github.com/repos/ratiw/Commander/commits{/sha}","git_commits_url":"https://api.github.com/repos/ratiw/Commander/git/commits{/sha}","comments_url":"https://api.github.com/repos/ratiw/Commander/comments{/number}","issue_comment_url":"https://api.github.com/repos/ratiw/Commander/issues/comments/{number}","contents_url":"https://api.github.com/repos/ratiw/Commander/contents/{+path}","compare_url":"https://api.github.com/repos/ratiw/Commander/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ratiw/Commander/merges","archive_url":"https://api.github.com/repos/ratiw/Commander/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ratiw/Commander/downloads","issues_url":"https://api.github.com/repos/ratiw/Commander/issues{/number}","pulls_url":"https://api.github.com/repos/ratiw/Commander/pulls{/number}","milestones_url":"https://api.github.com/repos/ratiw/Commander/milestones{/number}","notifications_url":"https://api.github.com/repos/ratiw/Commander/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ratiw/Commander/labels{/name}","releases_url":"https://api.github.com/repos/ratiw/Commander/releases{/id}","created_at":"2014-07-28T06:49:56Z","updated_at":"2014-08-05T02:32:42Z","pushed_at":"2014-07-31T17:01:08Z","git_url":"git://github.com/ratiw/Commander.git","ssh_url":"git@github.com:ratiw/Commander.git","clone_url":"https://github.com/ratiw/Commander.git","svn_url":"https://github.com/ratiw/Commander","homepage":"https://laracasts.com/series/commands-and-domain-events","size":163,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ratiw/Commander/pulls/1"},"html":{"href":"https://github.com/ratiw/Commander/pull/1"},"issue":{"href":"https://api.github.com/repos/ratiw/Commander/issues/1"},"comments":{"href":"https://api.github.com/repos/ratiw/Commander/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/ratiw/Commander/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/ratiw/Commander/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ratiw/Commander/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/ratiw/Commander/statuses/a514cef62d5e1546aaa9161e62431715cababbb7"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":6,"deletions":2,"changed_files":1}}