{"action":"closed","number":10161,"pull_request":{"url":"https://api.github.com/repos/laravel/framework/pulls/10161","id":44256995,"html_url":"https://github.com/laravel/framework/pull/10161","diff_url":"https://github.com/laravel/framework/pull/10161.diff","patch_url":"https://github.com/laravel/framework/pull/10161.patch","issue_url":"https://api.github.com/repos/laravel/framework/issues/10161","number":10161,"state":"closed","locked":false,"title":"[5.1] Write compiled class cache to a tmp file before overwriting the old cache","user":{"login":"luukholleman","id":1071025,"avatar_url":"https://avatars.githubusercontent.com/u/1071025?v=3","gravatar_id":"","url":"https://api.github.com/users/luukholleman","html_url":"https://github.com/luukholleman","followers_url":"https://api.github.com/users/luukholleman/followers","following_url":"https://api.github.com/users/luukholleman/following{/other_user}","gists_url":"https://api.github.com/users/luukholleman/gists{/gist_id}","starred_url":"https://api.github.com/users/luukholleman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luukholleman/subscriptions","organizations_url":"https://api.github.com/users/luukholleman/orgs","repos_url":"https://api.github.com/users/luukholleman/repos","events_url":"https://api.github.com/users/luukholleman/events{/privacy}","received_events_url":"https://api.github.com/users/luukholleman/received_events","type":"User","site_admin":false},"body":"This way a website in production won't throw exceptions because classes couldn't be found or because of other errors that occur because of an incomplete compiled.php.\r\n\r\nEspecially handy for continuous integration where a project can be optimized several times a day. With this little change the website will stay online for a few seconds longer.","created_at":"2015-09-04T20:12:18Z","updated_at":"2015-09-06T01:48:50Z","closed_at":"2015-09-06T01:48:50Z","merged_at":null,"merge_commit_sha":"a896dc2132297a8dced418624f274d1d8fdc6f18","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/laravel/framework/pulls/10161/commits","review_comments_url":"https://api.github.com/repos/laravel/framework/pulls/10161/comments","review_comment_url":"https://api.github.com/repos/laravel/framework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/laravel/framework/issues/10161/comments","statuses_url":"https://api.github.com/repos/laravel/framework/statuses/2c1990602921ecd2131e5b3fec127d9143615f58","head":{"label":"luukholleman:5.1","ref":"5.1","sha":"2c1990602921ecd2131e5b3fec127d9143615f58","user":{"login":"luukholleman","id":1071025,"avatar_url":"https://avatars.githubusercontent.com/u/1071025?v=3","gravatar_id":"","url":"https://api.github.com/users/luukholleman","html_url":"https://github.com/luukholleman","followers_url":"https://api.github.com/users/luukholleman/followers","following_url":"https://api.github.com/users/luukholleman/following{/other_user}","gists_url":"https://api.github.com/users/luukholleman/gists{/gist_id}","starred_url":"https://api.github.com/users/luukholleman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luukholleman/subscriptions","organizations_url":"https://api.github.com/users/luukholleman/orgs","repos_url":"https://api.github.com/users/luukholleman/repos","events_url":"https://api.github.com/users/luukholleman/events{/privacy}","received_events_url":"https://api.github.com/users/luukholleman/received_events","type":"User","site_admin":false},"repo":{"id":41935024,"name":"framework","full_name":"luukholleman/framework","owner":{"login":"luukholleman","id":1071025,"avatar_url":"https://avatars.githubusercontent.com/u/1071025?v=3","gravatar_id":"","url":"https://api.github.com/users/luukholleman","html_url":"https://github.com/luukholleman","followers_url":"https://api.github.com/users/luukholleman/followers","following_url":"https://api.github.com/users/luukholleman/following{/other_user}","gists_url":"https://api.github.com/users/luukholleman/gists{/gist_id}","starred_url":"https://api.github.com/users/luukholleman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luukholleman/subscriptions","organizations_url":"https://api.github.com/users/luukholleman/orgs","repos_url":"https://api.github.com/users/luukholleman/repos","events_url":"https://api.github.com/users/luukholleman/events{/privacy}","received_events_url":"https://api.github.com/users/luukholleman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/luukholleman/framework","description":"","fork":true,"url":"https://api.github.com/repos/luukholleman/framework","forks_url":"https://api.github.com/repos/luukholleman/framework/forks","keys_url":"https://api.github.com/repos/luukholleman/framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/luukholleman/framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/luukholleman/framework/teams","hooks_url":"https://api.github.com/repos/luukholleman/framework/hooks","issue_events_url":"https://api.github.com/repos/luukholleman/framework/issues/events{/number}","events_url":"https://api.github.com/repos/luukholleman/framework/events","assignees_url":"https://api.github.com/repos/luukholleman/framework/assignees{/user}","branches_url":"https://api.github.com/repos/luukholleman/framework/branches{/branch}","tags_url":"https://api.github.com/repos/luukholleman/framework/tags","blobs_url":"https://api.github.com/repos/luukholleman/framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/luukholleman/framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/luukholleman/framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/luukholleman/framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/luukholleman/framework/statuses/{sha}","languages_url":"https://api.github.com/repos/luukholleman/framework/languages","stargazers_url":"https://api.github.com/repos/luukholleman/framework/stargazers","contributors_url":"https://api.github.com/repos/luukholleman/framework/contributors","subscribers_url":"https://api.github.com/repos/luukholleman/framework/subscribers","subscription_url":"https://api.github.com/repos/luukholleman/framework/subscription","commits_url":"https://api.github.com/repos/luukholleman/framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/luukholleman/framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/luukholleman/framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/luukholleman/framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/luukholleman/framework/contents/{+path}","compare_url":"https://api.github.com/repos/luukholleman/framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/luukholleman/framework/merges","archive_url":"https://api.github.com/repos/luukholleman/framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/luukholleman/framework/downloads","issues_url":"https://api.github.com/repos/luukholleman/framework/issues{/number}","pulls_url":"https://api.github.com/repos/luukholleman/framework/pulls{/number}","milestones_url":"https://api.github.com/repos/luukholleman/framework/milestones{/number}","notifications_url":"https://api.github.com/repos/luukholleman/framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/luukholleman/framework/labels{/name}","releases_url":"https://api.github.com/repos/luukholleman/framework/releases{/id}","created_at":"2015-09-04T19:52:40Z","updated_at":"2015-09-04T19:52:43Z","pushed_at":"2015-09-05T15:11:41Z","git_url":"git://github.com/luukholleman/framework.git","ssh_url":"git@github.com:luukholleman/framework.git","clone_url":"https://github.com/luukholleman/framework.git","svn_url":"https://github.com/luukholleman/framework","homepage":"http://laravel.com","size":18289,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"5.1"}},"base":{"label":"laravel:5.1","ref":"5.1","sha":"667858c6f4f8a687ca790afda68a214ca2e50353","user":{"login":"laravel","id":958072,"avatar_url":"https://avatars.githubusercontent.com/u/958072?v=3","gravatar_id":"","url":"https://api.github.com/users/laravel","html_url":"https://github.com/laravel","followers_url":"https://api.github.com/users/laravel/followers","following_url":"https://api.github.com/users/laravel/following{/other_user}","gists_url":"https://api.github.com/users/laravel/gists{/gist_id}","starred_url":"https://api.github.com/users/laravel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laravel/subscriptions","organizations_url":"https://api.github.com/users/laravel/orgs","repos_url":"https://api.github.com/users/laravel/repos","events_url":"https://api.github.com/users/laravel/events{/privacy}","received_events_url":"https://api.github.com/users/laravel/received_events","type":"Organization","site_admin":false},"repo":{"id":7548986,"name":"framework","full_name":"laravel/framework","owner":{"login":"laravel","id":958072,"avatar_url":"https://avatars.githubusercontent.com/u/958072?v=3","gravatar_id":"","url":"https://api.github.com/users/laravel","html_url":"https://github.com/laravel","followers_url":"https://api.github.com/users/laravel/followers","following_url":"https://api.github.com/users/laravel/following{/other_user}","gists_url":"https://api.github.com/users/laravel/gists{/gist_id}","starred_url":"https://api.github.com/users/laravel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laravel/subscriptions","organizations_url":"https://api.github.com/users/laravel/orgs","repos_url":"https://api.github.com/users/laravel/repos","events_url":"https://api.github.com/users/laravel/events{/privacy}","received_events_url":"https://api.github.com/users/laravel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/laravel/framework","description":"","fork":false,"url":"https://api.github.com/repos/laravel/framework","forks_url":"https://api.github.com/repos/laravel/framework/forks","keys_url":"https://api.github.com/repos/laravel/framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/laravel/framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/laravel/framework/teams","hooks_url":"https://api.github.com/repos/laravel/framework/hooks","issue_events_url":"https://api.github.com/repos/laravel/framework/issues/events{/number}","events_url":"https://api.github.com/repos/laravel/framework/events","assignees_url":"https://api.github.com/repos/laravel/framework/assignees{/user}","branches_url":"https://api.github.com/repos/laravel/framework/branches{/branch}","tags_url":"https://api.github.com/repos/laravel/framework/tags","blobs_url":"https://api.github.com/repos/laravel/framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/laravel/framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/laravel/framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/laravel/framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/laravel/framework/statuses/{sha}","languages_url":"https://api.github.com/repos/laravel/framework/languages","stargazers_url":"https://api.github.com/repos/laravel/framework/stargazers","contributors_url":"https://api.github.com/repos/laravel/framework/contributors","subscribers_url":"https://api.github.com/repos/laravel/framework/subscribers","subscription_url":"https://api.github.com/repos/laravel/framework/subscription","commits_url":"https://api.github.com/repos/laravel/framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/laravel/framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/laravel/framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/laravel/framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/laravel/framework/contents/{+path}","compare_url":"https://api.github.com/repos/laravel/framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/laravel/framework/merges","archive_url":"https://api.github.com/repos/laravel/framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/laravel/framework/downloads","issues_url":"https://api.github.com/repos/laravel/framework/issues{/number}","pulls_url":"https://api.github.com/repos/laravel/framework/pulls{/number}","milestones_url":"https://api.github.com/repos/laravel/framework/milestones{/number}","notifications_url":"https://api.github.com/repos/laravel/framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/laravel/framework/labels{/name}","releases_url":"https://api.github.com/repos/laravel/framework/releases{/id}","created_at":"2013-01-10T21:27:28Z","updated_at":"2015-09-05T21:40:30Z","pushed_at":"2015-09-05T17:38:18Z","git_url":"git://github.com/laravel/framework.git","ssh_url":"git@github.com:laravel/framework.git","clone_url":"https://github.com/laravel/framework.git","svn_url":"https://github.com/laravel/framework","homepage":"http://laravel.com","size":67072,"stargazers_count":4027,"watchers_count":4027,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2295,"mirror_url":null,"open_issues_count":76,"forks":2295,"open_issues":76,"watchers":4027,"default_branch":"5.1"}},"_links":{"self":{"href":"https://api.github.com/repos/laravel/framework/pulls/10161"},"html":{"href":"https://github.com/laravel/framework/pull/10161"},"issue":{"href":"https://api.github.com/repos/laravel/framework/issues/10161"},"comments":{"href":"https://api.github.com/repos/laravel/framework/issues/10161/comments"},"review_comments":{"href":"https://api.github.com/repos/laravel/framework/pulls/10161/comments"},"review_comment":{"href":"https://api.github.com/repos/laravel/framework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/laravel/framework/pulls/10161/commits"},"statuses":{"href":"https://api.github.com/repos/laravel/framework/statuses/2c1990602921ecd2131e5b3fec127d9143615f58"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":8,"review_comments":1,"commits":3,"additions":9,"deletions":1,"changed_files":1}}