Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Templating] Add the asset package requirement #8804

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

Merged
merged 1 commit into from
Dec 1, 2017

Conversation

michaelperrin
Copy link
Contributor

New comers will get an errors if they use the asset() Twig function without installing the asset package.

This PR makes sure they won't get an "WTF" reaction to the error they would get ;)

@michaelperrin michaelperrin force-pushed the fix/asset-add-missing-req branch from f82e4d2 to 47494ba Compare December 1, 2017 14:27
@xabbuh xabbuh added this to the 4.0 milestone Dec 1, 2017
@weaverryan
Copy link
Member

This is great! I also am sure we are still missing a few of these :).

This also just inspired: symfony/symfony#25256. Of course the documentation needs to be correct. But indeed, it is a bad error.

@weaverryan weaverryan merged commit 47494ba into symfony:4.0 Dec 1, 2017
weaverryan added a commit that referenced this pull request Dec 1, 2017
This PR was merged into the 4.0 branch.

Discussion
----------

[Templating] Add the asset package requirement

New comers will get an errors if they use the `asset()` Twig function without installing the `asset` package.

This PR makes sure they won't get an "WTF" reaction to the error they would get ;)

Commits
-------

47494ba Templating docs: add the asset package requirement
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.

5 participants