Skip to content
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

[Asset] CLI: use request context to generate absolute URLs #17503

Merged
merged 1 commit into from Jan 23, 2016

Conversation

xabbuh
Copy link
Member

@xabbuh 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;
Copy link
Member

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)

Copy link
Member Author

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?

Copy link
Member

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.

Copy link
Member Author

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

@fabpot
Copy link
Member

fabpot commented Jan 23, 2016

👍

@xabbuh xabbuh force-pushed the issue-15448 branch 2 times, most recently from e72f7d0 to 766a648 Compare January 23, 2016 10:03
@javiereguiluz
Copy link
Member

@xabbuh a very nice solution for a very demanded feature. Thanks!

@fabpot
Copy link
Member

fabpot commented Jan 23, 2016

Thank you @xabbuh.

@fabpot fabpot merged commit 766a648 into symfony:2.7 Jan 23, 2016
fabpot added a commit that referenced this pull request Jan 23, 2016
… (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
@xabbuh xabbuh deleted the issue-15448 branch January 23, 2016 10:36
@fabpot fabpot mentioned this pull request Feb 3, 2016
This was referenced Feb 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants