Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[TwigBridge] Remove deprecated feature#23432

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
maidmaid wants to merge1 commit intosymfony:masterfrommaidmaid:twig-bridge-4

Conversation

@maidmaid
Copy link
Contributor

QA
Branch?master
Bug fix?no
New feature?no
BC breaks?yes
Deprecations?no
Tests pass?yes
Fixed tickets#20769#20093
LicenseMIT
Doc PR/

@maidmaid
Copy link
ContributorAuthor

By removing this deprecations, theTwigRenderer becomes an empty class:

class TwigRendererextends FormRendererimplements FormRendererInterface {}

What about deprecate this class in favor ofFormRenderer in 3.4?

Tobion reacted with thumbs up emoji

* @author Bernhard Schussek <bschussek@gmail.com>
*/
class TwigRendererextends FormRendererimplementsTwigRendererInterface
class TwigRendererextends FormRendererimplementsFormRendererInterface
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

FormRendererInterface is already implemented byFormRenderer

@xabbuh
Copy link
Member

Duplicate of#22783? :)

*/
publicfunctionsetEnvironment(Environment$environment)
{
$this->engine->setEnvironment($environment);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

The engine property can be removed in earlier versions as this can be placed by$this->getEngine()->setEnvironment() or am I missing something?

@maidmaid
Copy link
ContributorAuthor

@xabbuh exact duplicate 😳 sorry!

@Tobion
Copy link
Contributor

@xabbuh that explains why I had a dejavu when reviewing this ^^

maidmaid, xabbuh, and yceruto reacted with laugh emoji

@maidmaidmaidmaid deleted the twig-bridge-4 branchJuly 6, 2017 12:16
nicolas-grekas added a commit that referenced this pull requestJul 13, 2017
…(Tobion)This PR was merged into the 2.7 branch.Discussion----------[TwigBridge] cleaner implementation of the TwigRenderer| Q             | A| ------------- | ---| Branch?       | 2.7| Bug fix?      | no| New feature?  | no <!-- don't forget updating src/**/CHANGELOG.md files -->| BC breaks?    | no| Deprecations? | no <!-- don't forget updating UPGRADE-*.md files -->| Tests pass?   | yes| Fixed tickets |#23432 (comment)| License       | MIT| Doc PR        |<!--- 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 3.4,  legacy code removals go to the master branch.- Please fill in this template according to the PR you're about to submit.- Replace this comment by a description of what your PR is solving.-->Commits-------c7c5ba8 [TwigBridge] cleaner implementation of the TwigRenderer
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@TobionTobionTobion left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@maidmaid@xabbuh@Tobion@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp