{"action":"opened","number":351,"pull_request":{"url":"https://api.github.com/repos/zendframework/zend-expressive/pulls/351","id":72595548,"html_url":"https://github.com/zendframework/zend-expressive/pull/351","diff_url":"https://github.com/zendframework/zend-expressive/pull/351.diff","patch_url":"https://github.com/zendframework/zend-expressive/pull/351.patch","issue_url":"https://api.github.com/repos/zendframework/zend-expressive/issues/351","number":351,"state":"open","locked":false,"title":"[docs] Use locale request attribute in favor of the static global locale","user":{"login":"xtreamwayz","id":9497586,"avatar_url":"https://avatars.githubusercontent.com/u/9497586?v=3","gravatar_id":"","url":"https://api.github.com/users/xtreamwayz","html_url":"https://github.com/xtreamwayz","followers_url":"https://api.github.com/users/xtreamwayz/followers","following_url":"https://api.github.com/users/xtreamwayz/following{/other_user}","gists_url":"https://api.github.com/users/xtreamwayz/gists{/gist_id}","starred_url":"https://api.github.com/users/xtreamwayz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xtreamwayz/subscriptions","organizations_url":"https://api.github.com/users/xtreamwayz/orgs","repos_url":"https://api.github.com/users/xtreamwayz/repos","events_url":"https://api.github.com/users/xtreamwayz/events{/privacy}","received_events_url":"https://api.github.com/users/xtreamwayz/received_events","type":"User","site_admin":false},"body":"As discussed on IRC and in #350.\r\n\r\nThis changes how the locale is stored in the cookbook example. Since it's not reliable to use the global static `Locale::setDefault()`, it's better to store it as a request attribute.","created_at":"2016-06-04T07:14:31Z","updated_at":"2016-06-04T07:14:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"66938019b20890f7724957c4a521b71ab4b7b19f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zendframework/zend-expressive/pulls/351/commits","review_comments_url":"https://api.github.com/repos/zendframework/zend-expressive/pulls/351/comments","review_comment_url":"https://api.github.com/repos/zendframework/zend-expressive/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zendframework/zend-expressive/issues/351/comments","statuses_url":"https://api.github.com/repos/zendframework/zend-expressive/statuses/6c1bfc1d1529e5cbfa66730bd8b3fb47f5d39222","head":{"label":"xtreamwayz:hotfix/dont-use-static-locale","ref":"hotfix/dont-use-static-locale","sha":"6c1bfc1d1529e5cbfa66730bd8b3fb47f5d39222","user":{"login":"xtreamwayz","id":9497586,"avatar_url":"https://avatars.githubusercontent.com/u/9497586?v=3","gravatar_id":"","url":"https://api.github.com/users/xtreamwayz","html_url":"https://github.com/xtreamwayz","followers_url":"https://api.github.com/users/xtreamwayz/followers","following_url":"https://api.github.com/users/xtreamwayz/following{/other_user}","gists_url":"https://api.github.com/users/xtreamwayz/gists{/gist_id}","starred_url":"https://api.github.com/users/xtreamwayz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xtreamwayz/subscriptions","organizations_url":"https://api.github.com/users/xtreamwayz/orgs","repos_url":"https://api.github.com/users/xtreamwayz/repos","events_url":"https://api.github.com/users/xtreamwayz/events{/privacy}","received_events_url":"https://api.github.com/users/xtreamwayz/received_events","type":"User","site_admin":false},"repo":{"id":41542599,"name":"zend-expressive","full_name":"xtreamwayz/zend-expressive","owner":{"login":"xtreamwayz","id":9497586,"avatar_url":"https://avatars.githubusercontent.com/u/9497586?v=3","gravatar_id":"","url":"https://api.github.com/users/xtreamwayz","html_url":"https://github.com/xtreamwayz","followers_url":"https://api.github.com/users/xtreamwayz/followers","following_url":"https://api.github.com/users/xtreamwayz/following{/other_user}","gists_url":"https://api.github.com/users/xtreamwayz/gists{/gist_id}","starred_url":"https://api.github.com/users/xtreamwayz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xtreamwayz/subscriptions","organizations_url":"https://api.github.com/users/xtreamwayz/orgs","repos_url":"https://api.github.com/users/xtreamwayz/repos","events_url":"https://api.github.com/users/xtreamwayz/events{/privacy}","received_events_url":"https://api.github.com/users/xtreamwayz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xtreamwayz/zend-expressive","description":"Begin developing PSR-7 middleware applications in minutes!","fork":true,"url":"https://api.github.com/repos/xtreamwayz/zend-expressive","forks_url":"https://api.github.com/repos/xtreamwayz/zend-expressive/forks","keys_url":"https://api.github.com/repos/xtreamwayz/zend-expressive/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xtreamwayz/zend-expressive/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xtreamwayz/zend-expressive/teams","hooks_url":"https://api.github.com/repos/xtreamwayz/zend-expressive/hooks","issue_events_url":"https://api.github.com/repos/xtreamwayz/zend-expressive/issues/events{/number}","events_url":"https://api.github.com/repos/xtreamwayz/zend-expressive/events","assignees_url":"https://api.github.com/repos/xtreamwayz/zend-expressive/assignees{/user}","branches_url":"https://api.github.com/repos/xtreamwayz/zend-expressive/branches{/branch}","tags_url":"https://api.github.com/repos/xtreamwayz/zend-expressive/tags","blobs_url":"https://api.github.com/repos/xtreamwayz/zend-expressive/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xtreamwayz/zend-expressive/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xtreamwayz/zend-expressive/git/refs{/sha}","trees_url":"https://api.github.com/repos/xtreamwayz/zend-expressive/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xtreamwayz/zend-expressive/statuses/{sha}","languages_url":"https://api.github.com/repos/xtreamwayz/zend-expressive/languages","stargazers_url":"https://api.github.com/repos/xtreamwayz/zend-expressive/stargazers","contributors_url":"https://api.github.com/repos/xtreamwayz/zend-expressive/contributors","subscribers_url":"https://api.github.com/repos/xtreamwayz/zend-expressive/subscribers","subscription_url":"https://api.github.com/repos/xtreamwayz/zend-expressive/subscription","commits_url":"https://api.github.com/repos/xtreamwayz/zend-expressive/commits{/sha}","git_commits_url":"https://api.github.com/repos/xtreamwayz/zend-expressive/git/commits{/sha}","comments_url":"https://api.github.com/repos/xtreamwayz/zend-expressive/comments{/number}","issue_comment_url":"https://api.github.com/repos/xtreamwayz/zend-expressive/issues/comments{/number}","contents_url":"https://api.github.com/repos/xtreamwayz/zend-expressive/contents/{+path}","compare_url":"https://api.github.com/repos/xtreamwayz/zend-expressive/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xtreamwayz/zend-expressive/merges","archive_url":"https://api.github.com/repos/xtreamwayz/zend-expressive/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xtreamwayz/zend-expressive/downloads","issues_url":"https://api.github.com/repos/xtreamwayz/zend-expressive/issues{/number}","pulls_url":"https://api.github.com/repos/xtreamwayz/zend-expressive/pulls{/number}","milestones_url":"https://api.github.com/repos/xtreamwayz/zend-expressive/milestones{/number}","notifications_url":"https://api.github.com/repos/xtreamwayz/zend-expressive/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xtreamwayz/zend-expressive/labels{/name}","releases_url":"https://api.github.com/repos/xtreamwayz/zend-expressive/releases{/id}","deployments_url":"https://api.github.com/repos/xtreamwayz/zend-expressive/deployments","created_at":"2015-08-28T10:54:26Z","updated_at":"2016-01-27T16:12:00Z","pushed_at":"2016-06-04T07:11:11Z","git_url":"git://github.com/xtreamwayz/zend-expressive.git","ssh_url":"git@github.com:xtreamwayz/zend-expressive.git","clone_url":"https://github.com/xtreamwayz/zend-expressive.git","svn_url":"https://github.com/xtreamwayz/zend-expressive","homepage":"","size":1351,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"zendframework:master","ref":"master","sha":"29a6578fe3cc7cc0180ce146425955cab529e0b5","user":{"login":"zendframework","id":296074,"avatar_url":"https://avatars.githubusercontent.com/u/296074?v=3","gravatar_id":"","url":"https://api.github.com/users/zendframework","html_url":"https://github.com/zendframework","followers_url":"https://api.github.com/users/zendframework/followers","following_url":"https://api.github.com/users/zendframework/following{/other_user}","gists_url":"https://api.github.com/users/zendframework/gists{/gist_id}","starred_url":"https://api.github.com/users/zendframework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zendframework/subscriptions","organizations_url":"https://api.github.com/users/zendframework/orgs","repos_url":"https://api.github.com/users/zendframework/repos","events_url":"https://api.github.com/users/zendframework/events{/privacy}","received_events_url":"https://api.github.com/users/zendframework/received_events","type":"Organization","site_admin":false},"repo":{"id":40017341,"name":"zend-expressive","full_name":"zendframework/zend-expressive","owner":{"login":"zendframework","id":296074,"avatar_url":"https://avatars.githubusercontent.com/u/296074?v=3","gravatar_id":"","url":"https://api.github.com/users/zendframework","html_url":"https://github.com/zendframework","followers_url":"https://api.github.com/users/zendframework/followers","following_url":"https://api.github.com/users/zendframework/following{/other_user}","gists_url":"https://api.github.com/users/zendframework/gists{/gist_id}","starred_url":"https://api.github.com/users/zendframework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zendframework/subscriptions","organizations_url":"https://api.github.com/users/zendframework/orgs","repos_url":"https://api.github.com/users/zendframework/repos","events_url":"https://api.github.com/users/zendframework/events{/privacy}","received_events_url":"https://api.github.com/users/zendframework/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zendframework/zend-expressive","description":"Start to develop PSR-7 middleware applications in PHP in a minute!","fork":false,"url":"https://api.github.com/repos/zendframework/zend-expressive","forks_url":"https://api.github.com/repos/zendframework/zend-expressive/forks","keys_url":"https://api.github.com/repos/zendframework/zend-expressive/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zendframework/zend-expressive/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zendframework/zend-expressive/teams","hooks_url":"https://api.github.com/repos/zendframework/zend-expressive/hooks","issue_events_url":"https://api.github.com/repos/zendframework/zend-expressive/issues/events{/number}","events_url":"https://api.github.com/repos/zendframework/zend-expressive/events","assignees_url":"https://api.github.com/repos/zendframework/zend-expressive/assignees{/user}","branches_url":"https://api.github.com/repos/zendframework/zend-expressive/branches{/branch}","tags_url":"https://api.github.com/repos/zendframework/zend-expressive/tags","blobs_url":"https://api.github.com/repos/zendframework/zend-expressive/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zendframework/zend-expressive/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zendframework/zend-expressive/git/refs{/sha}","trees_url":"https://api.github.com/repos/zendframework/zend-expressive/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zendframework/zend-expressive/statuses/{sha}","languages_url":"https://api.github.com/repos/zendframework/zend-expressive/languages","stargazers_url":"https://api.github.com/repos/zendframework/zend-expressive/stargazers","contributors_url":"https://api.github.com/repos/zendframework/zend-expressive/contributors","subscribers_url":"https://api.github.com/repos/zendframework/zend-expressive/subscribers","subscription_url":"https://api.github.com/repos/zendframework/zend-expressive/subscription","commits_url":"https://api.github.com/repos/zendframework/zend-expressive/commits{/sha}","git_commits_url":"https://api.github.com/repos/zendframework/zend-expressive/git/commits{/sha}","comments_url":"https://api.github.com/repos/zendframework/zend-expressive/comments{/number}","issue_comment_url":"https://api.github.com/repos/zendframework/zend-expressive/issues/comments{/number}","contents_url":"https://api.github.com/repos/zendframework/zend-expressive/contents/{+path}","compare_url":"https://api.github.com/repos/zendframework/zend-expressive/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zendframework/zend-expressive/merges","archive_url":"https://api.github.com/repos/zendframework/zend-expressive/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zendframework/zend-expressive/downloads","issues_url":"https://api.github.com/repos/zendframework/zend-expressive/issues{/number}","pulls_url":"https://api.github.com/repos/zendframework/zend-expressive/pulls{/number}","milestones_url":"https://api.github.com/repos/zendframework/zend-expressive/milestones{/number}","notifications_url":"https://api.github.com/repos/zendframework/zend-expressive/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zendframework/zend-expressive/labels{/name}","releases_url":"https://api.github.com/repos/zendframework/zend-expressive/releases{/id}","deployments_url":"https://api.github.com/repos/zendframework/zend-expressive/deployments","created_at":"2015-07-31T17:45:22Z","updated_at":"2016-06-01T14:04:54Z","pushed_at":"2016-06-04T07:14:31Z","git_url":"git://github.com/zendframework/zend-expressive.git","ssh_url":"git@github.com:zendframework/zend-expressive.git","clone_url":"https://github.com/zendframework/zend-expressive.git","svn_url":"https://github.com/zendframework/zend-expressive","homepage":null,"size":3260,"stargazers_count":360,"watchers_count":360,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":83,"mirror_url":null,"open_issues_count":39,"forks":83,"open_issues":39,"watchers":360,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zendframework/zend-expressive/pulls/351"},"html":{"href":"https://github.com/zendframework/zend-expressive/pull/351"},"issue":{"href":"https://api.github.com/repos/zendframework/zend-expressive/issues/351"},"comments":{"href":"https://api.github.com/repos/zendframework/zend-expressive/issues/351/comments"},"review_comments":{"href":"https://api.github.com/repos/zendframework/zend-expressive/pulls/351/comments"},"review_comment":{"href":"https://api.github.com/repos/zendframework/zend-expressive/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zendframework/zend-expressive/pulls/351/commits"},"statuses":{"href":"https://api.github.com/repos/zendframework/zend-expressive/statuses/6c1bfc1d1529e5cbfa66730bd8b3fb47f5d39222"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":18,"deletions":5,"changed_files":1}}
{"actor":{"display_login":"xtreamwayz"}}