{"action":"created","comment":{"url":"https://api.github.com/repos/neontribe/ARCVService/pulls/comments/242851856","pull_request_review_id":186462389,"id":242851856,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0Mjg1MTg1Ng==","diff_hunk":"@@ -24,6 +27,53 @@ class StateToken extends Model\n     protected $hidden = [\n     ];\n \n+    /**\n+     * Makes and checks for an unused token\n+     *\n+     * @return string\n+    */\n+    public static function generateUnusedToken()\n+    {\n+        do {\n+            // TODO: Deal with possibility uuid4() may throw an exception of it's own?\n+            try {\n+                $candidate = Uuid::uuid4()->toString();\n+            } catch (\\Exception $e) {\n+                // Uuid4() throws exceptions, apparently! Log that and die, I guess?","path":"app/StateToken.php","position":29,"original_position":29,"commit_id":"bd9aeb986cd88d3a2c39f3aa2f9eaa78b7406f91","original_commit_id":"bd9aeb986cd88d3a2c39f3aa2f9eaa78b7406f91","user":{"login":"RpprRoger","id":1443409,"node_id":"MDQ6VXNlcjE0NDM0MDk=","avatar_url":"https://avatars0.githubusercontent.com/u/1443409?v=4","gravatar_id":"","url":"https://api.github.com/users/RpprRoger","html_url":"https://github.com/RpprRoger","followers_url":"https://api.github.com/users/RpprRoger/followers","following_url":"https://api.github.com/users/RpprRoger/following{/other_user}","gists_url":"https://api.github.com/users/RpprRoger/gists{/gist_id}","starred_url":"https://api.github.com/users/RpprRoger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RpprRoger/subscriptions","organizations_url":"https://api.github.com/users/RpprRoger/orgs","repos_url":"https://api.github.com/users/RpprRoger/repos","events_url":"https://api.github.com/users/RpprRoger/events{/privacy}","received_events_url":"https://api.github.com/users/RpprRoger/received_events","type":"User","site_admin":false},"body":"What. uuid4() throws? What's the error?","created_at":"2018-12-19T09:51:37Z","updated_at":"2018-12-19T09:51:37Z","html_url":"https://github.com/neontribe/ARCVService/pull/237#discussion_r242851856","pull_request_url":"https://api.github.com/repos/neontribe/ARCVService/pulls/237","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/neontribe/ARCVService/pulls/comments/242851856"},"html":{"href":"https://github.com/neontribe/ARCVService/pull/237#discussion_r242851856"},"pull_request":{"href":"https://api.github.com/repos/neontribe/ARCVService/pulls/237"}}},"pull_request":{"url":"https://api.github.com/repos/neontribe/ARCVService/pulls/237","id":239179839,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5MTc5ODM5","html_url":"https://github.com/neontribe/ARCVService/pull/237","diff_url":"https://github.com/neontribe/ARCVService/pull/237.diff","patch_url":"https://github.com/neontribe/ARCVService/pull/237.patch","issue_url":"https://api.github.com/repos/neontribe/ARCVService/issues/237","number":237,"state":"open","locked":false,"title":"1.5/1211 payment the payment request submission process generates a persistent UUID token","user":{"login":"charlesstrange2","id":25037036,"node_id":"MDQ6VXNlcjI1MDM3MDM2","avatar_url":"https://avatars3.githubusercontent.com/u/25037036?v=4","gravatar_id":"","url":"https://api.github.com/users/charlesstrange2","html_url":"https://github.com/charlesstrange2","followers_url":"https://api.github.com/users/charlesstrange2/followers","following_url":"https://api.github.com/users/charlesstrange2/following{/other_user}","gists_url":"https://api.github.com/users/charlesstrange2/gists{/gist_id}","starred_url":"https://api.github.com/users/charlesstrange2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charlesstrange2/subscriptions","organizations_url":"https://api.github.com/users/charlesstrange2/orgs","repos_url":"https://api.github.com/users/charlesstrange2/repos","events_url":"https://api.github.com/users/charlesstrange2/events{/privacy}","received_events_url":"https://api.github.com/users/charlesstrange2/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-12-17T15:15:57Z","updated_at":"2018-12-19T09:51:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"60799d5a11eff2e7d819351dbf6b2aa41473311c","assignee":null,"assignees":[],"requested_reviewers":[{"login":"karalan","id":14891163,"node_id":"MDQ6VXNlcjE0ODkxMTYz","avatar_url":"https://avatars1.githubusercontent.com/u/14891163?v=4","gravatar_id":"","url":"https://api.github.com/users/karalan","html_url":"https://github.com/karalan","followers_url":"https://api.github.com/users/karalan/followers","following_url":"https://api.github.com/users/karalan/following{/other_user}","gists_url":"https://api.github.com/users/karalan/gists{/gist_id}","starred_url":"https://api.github.com/users/karalan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karalan/subscriptions","organizations_url":"https://api.github.com/users/karalan/orgs","repos_url":"https://api.github.com/users/karalan/repos","events_url":"https://api.github.com/users/karalan/events{/privacy}","received_events_url":"https://api.github.com/users/karalan/received_events","type":"User","site_admin":false},{"login":"Nikomus","id":32434620,"node_id":"MDQ6VXNlcjMyNDM0NjIw","avatar_url":"https://avatars1.githubusercontent.com/u/32434620?v=4","gravatar_id":"","url":"https://api.github.com/users/Nikomus","html_url":"https://github.com/Nikomus","followers_url":"https://api.github.com/users/Nikomus/followers","following_url":"https://api.github.com/users/Nikomus/following{/other_user}","gists_url":"https://api.github.com/users/Nikomus/gists{/gist_id}","starred_url":"https://api.github.com/users/Nikomus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nikomus/subscriptions","organizations_url":"https://api.github.com/users/Nikomus/orgs","repos_url":"https://api.github.com/users/Nikomus/repos","events_url":"https://api.github.com/users/Nikomus/events{/privacy}","received_events_url":"https://api.github.com/users/Nikomus/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/neontribe/ARCVService/pulls/237/commits","review_comments_url":"https://api.github.com/repos/neontribe/ARCVService/pulls/237/comments","review_comment_url":"https://api.github.com/repos/neontribe/ARCVService/pulls/comments{/number}","comments_url":"https://api.github.com/repos/neontribe/ARCVService/issues/237/comments","statuses_url":"https://api.github.com/repos/neontribe/ARCVService/statuses/bd9aeb986cd88d3a2c39f3aa2f9eaa78b7406f91","head":{"label":"neontribe:1.5/1211-payment-the-payment-request-submission-process-generates-a-persistent-uuid-token","ref":"1.5/1211-payment-the-payment-request-submission-process-generates-a-persistent-uuid-token","sha":"bd9aeb986cd88d3a2c39f3aa2f9eaa78b7406f91","user":{"login":"neontribe","id":814085,"node_id":"MDEyOk9yZ2FuaXphdGlvbjgxNDA4NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/814085?v=4","gravatar_id":"","url":"https://api.github.com/users/neontribe","html_url":"https://github.com/neontribe","followers_url":"https://api.github.com/users/neontribe/followers","following_url":"https://api.github.com/users/neontribe/following{/other_user}","gists_url":"https://api.github.com/users/neontribe/gists{/gist_id}","starred_url":"https://api.github.com/users/neontribe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neontribe/subscriptions","organizations_url":"https://api.github.com/users/neontribe/orgs","repos_url":"https://api.github.com/users/neontribe/repos","events_url":"https://api.github.com/users/neontribe/events{/privacy}","received_events_url":"https://api.github.com/users/neontribe/received_events","type":"Organization","site_admin":false},"repo":{"id":88754893,"node_id":"MDEwOlJlcG9zaXRvcnk4ODc1NDg5Mw==","name":"ARCVService","full_name":"neontribe/ARCVService","private":false,"owner":{"login":"neontribe","id":814085,"node_id":"MDEyOk9yZ2FuaXphdGlvbjgxNDA4NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/814085?v=4","gravatar_id":"","url":"https://api.github.com/users/neontribe","html_url":"https://github.com/neontribe","followers_url":"https://api.github.com/users/neontribe/followers","following_url":"https://api.github.com/users/neontribe/following{/other_user}","gists_url":"https://api.github.com/users/neontribe/gists{/gist_id}","starred_url":"https://api.github.com/users/neontribe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neontribe/subscriptions","organizations_url":"https://api.github.com/users/neontribe/orgs","repos_url":"https://api.github.com/users/neontribe/repos","events_url":"https://api.github.com/users/neontribe/events{/privacy}","received_events_url":"https://api.github.com/users/neontribe/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/neontribe/ARCVService","description":"ARC Voucher Service/API","fork":false,"url":"https://api.github.com/repos/neontribe/ARCVService","forks_url":"https://api.github.com/repos/neontribe/ARCVService/forks","keys_url":"https://api.github.com/repos/neontribe/ARCVService/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neontribe/ARCVService/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neontribe/ARCVService/teams","hooks_url":"https://api.github.com/repos/neontribe/ARCVService/hooks","issue_events_url":"https://api.github.com/repos/neontribe/ARCVService/issues/events{/number}","events_url":"https://api.github.com/repos/neontribe/ARCVService/events","assignees_url":"https://api.github.com/repos/neontribe/ARCVService/assignees{/user}","branches_url":"https://api.github.com/repos/neontribe/ARCVService/branches{/branch}","tags_url":"https://api.github.com/repos/neontribe/ARCVService/tags","blobs_url":"https://api.github.com/repos/neontribe/ARCVService/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neontribe/ARCVService/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neontribe/ARCVService/git/refs{/sha}","trees_url":"https://api.github.com/repos/neontribe/ARCVService/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neontribe/ARCVService/statuses/{sha}","languages_url":"https://api.github.com/repos/neontribe/ARCVService/languages","stargazers_url":"https://api.github.com/repos/neontribe/ARCVService/stargazers","contributors_url":"https://api.github.com/repos/neontribe/ARCVService/contributors","subscribers_url":"https://api.github.com/repos/neontribe/ARCVService/subscribers","subscription_url":"https://api.github.com/repos/neontribe/ARCVService/subscription","commits_url":"https://api.github.com/repos/neontribe/ARCVService/commits{/sha}","git_commits_url":"https://api.github.com/repos/neontribe/ARCVService/git/commits{/sha}","comments_url":"https://api.github.com/repos/neontribe/ARCVService/comments{/number}","issue_comment_url":"https://api.github.com/repos/neontribe/ARCVService/issues/comments{/number}","contents_url":"https://api.github.com/repos/neontribe/ARCVService/contents/{+path}","compare_url":"https://api.github.com/repos/neontribe/ARCVService/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neontribe/ARCVService/merges","archive_url":"https://api.github.com/repos/neontribe/ARCVService/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neontribe/ARCVService/downloads","issues_url":"https://api.github.com/repos/neontribe/ARCVService/issues{/number}","pulls_url":"https://api.github.com/repos/neontribe/ARCVService/pulls{/number}","milestones_url":"https://api.github.com/repos/neontribe/ARCVService/milestones{/number}","notifications_url":"https://api.github.com/repos/neontribe/ARCVService/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neontribe/ARCVService/labels{/name}","releases_url":"https://api.github.com/repos/neontribe/ARCVService/releases{/id}","deployments_url":"https://api.github.com/repos/neontribe/ARCVService/deployments","created_at":"2017-04-19T14:31:12Z","updated_at":"2018-12-18T13:38:32Z","pushed_at":"2018-12-18T17:25:46Z","git_url":"git://github.com/neontribe/ARCVService.git","ssh_url":"git@github.com:neontribe/ARCVService.git","clone_url":"https://github.com/neontribe/ARCVService.git","svn_url":"https://github.com/neontribe/ARCVService","homepage":null,"size":3625,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"1.5/release"}},"base":{"label":"neontribe:1.5/release","ref":"1.5/release","sha":"ec565a6cf9dc13bc3b1fe63bdcdc730be565a36c","user":{"login":"neontribe","id":814085,"node_id":"MDEyOk9yZ2FuaXphdGlvbjgxNDA4NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/814085?v=4","gravatar_id":"","url":"https://api.github.com/users/neontribe","html_url":"https://github.com/neontribe","followers_url":"https://api.github.com/users/neontribe/followers","following_url":"https://api.github.com/users/neontribe/following{/other_user}","gists_url":"https://api.github.com/users/neontribe/gists{/gist_id}","starred_url":"https://api.github.com/users/neontribe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neontribe/subscriptions","organizations_url":"https://api.github.com/users/neontribe/orgs","repos_url":"https://api.github.com/users/neontribe/repos","events_url":"https://api.github.com/users/neontribe/events{/privacy}","received_events_url":"https://api.github.com/users/neontribe/received_events","type":"Organization","site_admin":false},"repo":{"id":88754893,"node_id":"MDEwOlJlcG9zaXRvcnk4ODc1NDg5Mw==","name":"ARCVService","full_name":"neontribe/ARCVService","private":false,"owner":{"login":"neontribe","id":814085,"node_id":"MDEyOk9yZ2FuaXphdGlvbjgxNDA4NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/814085?v=4","gravatar_id":"","url":"https://api.github.com/users/neontribe","html_url":"https://github.com/neontribe","followers_url":"https://api.github.com/users/neontribe/followers","following_url":"https://api.github.com/users/neontribe/following{/other_user}","gists_url":"https://api.github.com/users/neontribe/gists{/gist_id}","starred_url":"https://api.github.com/users/neontribe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neontribe/subscriptions","organizations_url":"https://api.github.com/users/neontribe/orgs","repos_url":"https://api.github.com/users/neontribe/repos","events_url":"https://api.github.com/users/neontribe/events{/privacy}","received_events_url":"https://api.github.com/users/neontribe/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/neontribe/ARCVService","description":"ARC Voucher Service/API","fork":false,"url":"https://api.github.com/repos/neontribe/ARCVService","forks_url":"https://api.github.com/repos/neontribe/ARCVService/forks","keys_url":"https://api.github.com/repos/neontribe/ARCVService/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neontribe/ARCVService/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neontribe/ARCVService/teams","hooks_url":"https://api.github.com/repos/neontribe/ARCVService/hooks","issue_events_url":"https://api.github.com/repos/neontribe/ARCVService/issues/events{/number}","events_url":"https://api.github.com/repos/neontribe/ARCVService/events","assignees_url":"https://api.github.com/repos/neontribe/ARCVService/assignees{/user}","branches_url":"https://api.github.com/repos/neontribe/ARCVService/branches{/branch}","tags_url":"https://api.github.com/repos/neontribe/ARCVService/tags","blobs_url":"https://api.github.com/repos/neontribe/ARCVService/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neontribe/ARCVService/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neontribe/ARCVService/git/refs{/sha}","trees_url":"https://api.github.com/repos/neontribe/ARCVService/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neontribe/ARCVService/statuses/{sha}","languages_url":"https://api.github.com/repos/neontribe/ARCVService/languages","stargazers_url":"https://api.github.com/repos/neontribe/ARCVService/stargazers","contributors_url":"https://api.github.com/repos/neontribe/ARCVService/contributors","subscribers_url":"https://api.github.com/repos/neontribe/ARCVService/subscribers","subscription_url":"https://api.github.com/repos/neontribe/ARCVService/subscription","commits_url":"https://api.github.com/repos/neontribe/ARCVService/commits{/sha}","git_commits_url":"https://api.github.com/repos/neontribe/ARCVService/git/commits{/sha}","comments_url":"https://api.github.com/repos/neontribe/ARCVService/comments{/number}","issue_comment_url":"https://api.github.com/repos/neontribe/ARCVService/issues/comments{/number}","contents_url":"https://api.github.com/repos/neontribe/ARCVService/contents/{+path}","compare_url":"https://api.github.com/repos/neontribe/ARCVService/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neontribe/ARCVService/merges","archive_url":"https://api.github.com/repos/neontribe/ARCVService/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neontribe/ARCVService/downloads","issues_url":"https://api.github.com/repos/neontribe/ARCVService/issues{/number}","pulls_url":"https://api.github.com/repos/neontribe/ARCVService/pulls{/number}","milestones_url":"https://api.github.com/repos/neontribe/ARCVService/milestones{/number}","notifications_url":"https://api.github.com/repos/neontribe/ARCVService/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neontribe/ARCVService/labels{/name}","releases_url":"https://api.github.com/repos/neontribe/ARCVService/releases{/id}","deployments_url":"https://api.github.com/repos/neontribe/ARCVService/deployments","created_at":"2017-04-19T14:31:12Z","updated_at":"2018-12-18T13:38:32Z","pushed_at":"2018-12-18T17:25:46Z","git_url":"git://github.com/neontribe/ARCVService.git","ssh_url":"git@github.com:neontribe/ARCVService.git","clone_url":"https://github.com/neontribe/ARCVService.git","svn_url":"https://github.com/neontribe/ARCVService","homepage":null,"size":3625,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"1.5/release"}},"_links":{"self":{"href":"https://api.github.com/repos/neontribe/ARCVService/pulls/237"},"html":{"href":"https://github.com/neontribe/ARCVService/pull/237"},"issue":{"href":"https://api.github.com/repos/neontribe/ARCVService/issues/237"},"comments":{"href":"https://api.github.com/repos/neontribe/ARCVService/issues/237/comments"},"review_comments":{"href":"https://api.github.com/repos/neontribe/ARCVService/pulls/237/comments"},"review_comment":{"href":"https://api.github.com/repos/neontribe/ARCVService/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/neontribe/ARCVService/pulls/237/commits"},"statuses":{"href":"https://api.github.com/repos/neontribe/ARCVService/statuses/bd9aeb986cd88d3a2c39f3aa2f9eaa78b7406f91"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"RpprRoger"}}