Skip to content

Conversation

@yceruto
Copy link
Member

@yceruto yceruto commented Jul 9, 2019

Q A
Branch? 4.4
Bug fix? no
New feature? no
BC breaks? no
Deprecations? yes
Tests pass? yes
Fixed tickets -
License MIT
Doc PR not needed

Follow up #32458, so in 5.0 we can remove these methods safely.

I'm not deprecating the Symfony\Bundle\TwigBundle\Controller\ExceptionController::templateExists() method because the whole class is being deprecated in #31398

See also #32461

@yceruto yceruto force-pushed the deprecate_template_exists branch from fba7d48 to 2e81e45 Compare July 9, 2019 15:54
@fabpot
Copy link
Member

fabpot commented Jul 9, 2019

Thank you @yceruto.

@fabpot fabpot merged commit 2e81e45 into symfony:4.4 Jul 9, 2019
fabpot added a commit that referenced this pull request Jul 9, 2019
…(yceruto)

This PR was merged into the 4.4 branch.

Discussion
----------

[WebProfilerBundle] Deprecating templateExists method

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | not needed

Follow up #32458, so in 5.0 we can remove these methods safely.

I'm not deprecating the `Symfony\Bundle\TwigBundle\Controller\ExceptionController::templateExists()` method because the whole class is being deprecated in #31398

See also #32461

Commits
-------

2e81e45 Deprecating templateExists method
fabpot added a commit that referenced this pull request Jul 9, 2019
This PR was merged into the 5.0-dev branch.

Discussion
----------

[WebProfilerBundle] Removed templateExists method

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | not needed

Follow up #32458, since Twig 2.0 the `exists()` method is part of the `LoaderInterface`.

I'm not removing the `Symfony\Bundle\TwigBundle\Controller\ExceptionController::templateExists()` method because the whole class will be removed after #31398

See also #32462

Commits
-------

059113e Removed templateExists method
@yceruto yceruto deleted the deprecate_template_exists branch July 9, 2019 18:44
This was referenced Nov 12, 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.

3 participants