-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Asset] CLI: use request context to generate absolute URLs #17503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
xabbuh
commented
Jan 23, 2016
Q | A |
---|---|
Bug fix? | yes |
New feature? | no |
BC breaks? | no |
Deprecations? | no |
Tests pass? | yes |
Fixed tickets | #15448 |
License | MIT |
Doc PR |
@@ -12,7 +12,7 @@ | |||
namespace Symfony\Bridge\Twig\Extension; | |||
|
|||
use Symfony\Component\HttpFoundation\RequestStack; | |||
use Symfony\Component\HttpFoundation\Request; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be kept (there is a reference in a @see annotation)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, PhpStorm doesn't seem to handle that properly. I changed the annotation to use the FQCN instead. Okay for you?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, we are using short class names everywhere else.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay, I reverted this one
👍 |
e72f7d0
to
766a648
Compare
@xabbuh a very nice solution for a very demanded feature. Thanks! |
Thank you @xabbuh. |
… (xabbuh) This PR was merged into the 2.7 branch. Discussion ---------- [Asset] CLI: use request context to generate absolute URLs | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #15448 | License | MIT | Doc PR | Commits ------- 766a648 CLI: use request context to generate absolute URLs