{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/assetic-bundle/issues/402","labels_url":"https://api.github.com/repos/symfony/assetic-bundle/issues/402/labels{/name}","comments_url":"https://api.github.com/repos/symfony/assetic-bundle/issues/402/comments","events_url":"https://api.github.com/repos/symfony/assetic-bundle/issues/402/events","html_url":"https://github.com/symfony/assetic-bundle/pull/402","id":122024132,"number":402,"title":"fix request in DefaultValueSupplier","user":{"login":"albert-gonzalez","id":7250822,"avatar_url":"https://avatars.githubusercontent.com/u/7250822?v=3","gravatar_id":"","url":"https://api.github.com/users/albert-gonzalez","html_url":"https://github.com/albert-gonzalez","followers_url":"https://api.github.com/users/albert-gonzalez/followers","following_url":"https://api.github.com/users/albert-gonzalez/following{/other_user}","gists_url":"https://api.github.com/users/albert-gonzalez/gists{/gist_id}","starred_url":"https://api.github.com/users/albert-gonzalez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albert-gonzalez/subscriptions","organizations_url":"https://api.github.com/users/albert-gonzalez/orgs","repos_url":"https://api.github.com/users/albert-gonzalez/repos","events_url":"https://api.github.com/users/albert-gonzalez/events{/privacy}","received_events_url":"https://api.github.com/users/albert-gonzalez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-14T11:24:53Z","updated_at":"2015-12-15T08:14:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/symfony/assetic-bundle/pulls/402","html_url":"https://github.com/symfony/assetic-bundle/pull/402","diff_url":"https://github.com/symfony/assetic-bundle/pull/402.diff","patch_url":"https://github.com/symfony/assetic-bundle/pull/402.patch"},"body":"In Symfony 3 the service 'request' has been removed from the container, and the function isScopeActive doesn't exist anymore. With this fix the Request Stack is injected in DefaultValueSupplier to get the request."},"comment":{"url":"https://api.github.com/repos/symfony/assetic-bundle/issues/comments/164680509","html_url":"https://github.com/symfony/assetic-bundle/pull/402#issuecomment-164680509","issue_url":"https://api.github.com/repos/symfony/assetic-bundle/issues/402","id":164680509,"user":{"login":"xabbuh","id":1957048,"avatar_url":"https://avatars.githubusercontent.com/u/1957048?v=3","gravatar_id":"","url":"https://api.github.com/users/xabbuh","html_url":"https://github.com/xabbuh","followers_url":"https://api.github.com/users/xabbuh/followers","following_url":"https://api.github.com/users/xabbuh/following{/other_user}","gists_url":"https://api.github.com/users/xabbuh/gists{/gist_id}","starred_url":"https://api.github.com/users/xabbuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xabbuh/subscriptions","organizations_url":"https://api.github.com/users/xabbuh/orgs","repos_url":"https://api.github.com/users/xabbuh/repos","events_url":"https://api.github.com/users/xabbuh/events{/privacy}","received_events_url":"https://api.github.com/users/xabbuh/received_events","type":"User","site_admin":false},"created_at":"2015-12-15T08:14:00Z","updated_at":"2015-12-15T08:14:00Z","body":"Actually, I am not sure if the request stack should get injected through the constructor. I mean that's a good idea in general, but here the container is injected anyway."}}