Skip to content

[FrameworkBundle] [TwigBundle] Move the hinclude key away from templating #30959

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

Simperfit
Copy link
Contributor

Q A
Branch? master
Bug fix? no
New feature? no
BC breaks? no
Deprecations? yes
Tests pass? yes
Fixed tickets #30874
License MIT
Doc PR to do when pr is validated.

Maybe I shouldn't move directly the config key from templating to the other, but since the templating component has been deprecated we may change this directly without deprecating that key alone, WDYT ?

@Simperfit Simperfit force-pushed the feature/remove-hinclude-from-templating-and-give-it-to-fragments branch from c045b3d to e6dfc08 Compare April 7, 2019 08:51
@Simperfit Simperfit force-pushed the feature/remove-hinclude-from-templating-and-give-it-to-fragments branch from e6dfc08 to 2957e52 Compare April 7, 2019 10:31
@Simperfit
Copy link
Contributor Author

done @stof @fabpot

@Simperfit Simperfit force-pushed the feature/remove-hinclude-from-templating-and-give-it-to-fragments branch from 2957e52 to 98c6732 Compare April 7, 2019 10:34
@nicolas-grekas nicolas-grekas added this to the next milestone Apr 7, 2019
@Simperfit Simperfit force-pushed the feature/remove-hinclude-from-templating-and-give-it-to-fragments branch from 98c6732 to f53edb0 Compare April 7, 2019 11:57
@Simperfit
Copy link
Contributor Author

Simperfit commented Apr 7, 2019 via email

@Simperfit
Copy link
Contributor Author

Simperfit commented Apr 7, 2019 via email

@Simperfit Simperfit force-pushed the feature/remove-hinclude-from-templating-and-give-it-to-fragments branch from f53edb0 to 0a0d913 Compare April 8, 2019 06:04
@Simperfit
Copy link
Contributor Author

I've added an existence check to not replace if it has been already setted.

@Simperfit Simperfit force-pushed the feature/remove-hinclude-from-templating-and-give-it-to-fragments branch from 3c89d11 to 2ee4331 Compare April 8, 2019 07:41
@Simperfit
Copy link
Contributor Author

@fabpot Should be ok now, I've added a test.

@Simperfit Simperfit force-pushed the feature/remove-hinclude-from-templating-and-give-it-to-fragments branch from 2ee4331 to 400ed9a Compare April 8, 2019 08:10
@Simperfit
Copy link
Contributor Author

@fabpot PR ready, CI failure not related to this PR.

@Simperfit Simperfit force-pushed the feature/remove-hinclude-from-templating-and-give-it-to-fragments branch from 400ed9a to 7fb7329 Compare April 8, 2019 10:55
@Simperfit
Copy link
Contributor Author

done @fabpot

@Simperfit Simperfit force-pushed the feature/remove-hinclude-from-templating-and-give-it-to-fragments branch from 7fb7329 to 2dfcc51 Compare April 8, 2019 10:56
@Simperfit Simperfit force-pushed the feature/remove-hinclude-from-templating-and-give-it-to-fragments branch from 2dfcc51 to 9b605e9 Compare April 8, 2019 11:17
@Simperfit
Copy link
Contributor Author

done @fabpot

@fabpot fabpot force-pushed the feature/remove-hinclude-from-templating-and-give-it-to-fragments branch from 9b605e9 to 4f39339 Compare April 8, 2019 14:09
@fabpot
Copy link
Member

fabpot commented Apr 8, 2019

Thank you @Simperfit.

@fabpot fabpot merged commit 4f39339 into symfony:master Apr 8, 2019
fabpot added a commit that referenced this pull request Apr 8, 2019
…way from templating (Simperfit)

This PR was squashed before being merged into the 4.3-dev branch (closes #30959).

Discussion
----------

[FrameworkBundle] [TwigBundle] Move the hinclude key away from templating

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no <!-- don't forget to update src/**/CHANGELOG.md files -->
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | yes <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | #30874 <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | to do when pr is validated.

<!--
Write a short README entry for your feature/bugfix here (replace this comment block.)
This will help people understand your PR and can be used as a start of the Doc PR.
Additionally:
 - Bug fixes must be submitted against the lowest branch where they apply
   (lowest branches are regularly merged to upper ones so they get the fixes too).
 - Features and deprecations must be submitted against the master branch.
-->

Maybe I shouldn't move directly the config key from templating to the other, but since the templating component has been deprecated we may change this directly without deprecating that key alone, WDYT ?

Commits
-------

4f39339 [FrameworkBundle] [TwigBundle] Move the hinclude key away from templating
@nicolas-grekas nicolas-grekas modified the milestones: next, 4.3 Apr 30, 2019
@fabpot fabpot mentioned this pull request May 9, 2019
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.

6 participants