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

[FrameworkBundle][TwigBridge] Fix test compatibility with 4.x components#33055

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

Merged

Conversation

@jderusse
Copy link
Member

@jderussejderusse commentedAug 8, 2019
edited
Loading

QA
Branch?3.4
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed ticketsNA
LicenseMIT
Doc PRNA

our symfony Tests extends other component's tests. By being compatible with symfony 4.x we now extends class that have return type signature which is not doable in branch 3.4 because of support of php 5.5. (seehttps://travis-ci.org/symfony/symfony/jobs/569345176)

This PR replaces setup and teardown by@after and@before annotation in order to keep the same behavior and compatibility

@nicolas-grekas
Copy link
Member

Thank you@jderusse.

@nicolas-grekasnicolas-grekas merged commitbb3cb64 intosymfony:3.4Aug 8, 2019
nicolas-grekas added a commit that referenced this pull requestAug 8, 2019
…h 4.x components (jderusse)This PR was merged into the 3.4 branch.Discussion----------[FrameworkBundle][TwigBridge] Fix test compatibility with 4.x components| Q             | A| ------------- | ---| Branch?       | 3.4| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | NA| License       | MIT| Doc PR        | NAour symfony Tests extends other component's tests. By being compatible with symfony 4.x we now extends class that have return type signature which is not doable in branch 3.4 because of support of php 5.5. (seehttps://travis-ci.org/symfony/symfony/jobs/569345176)This PR replaces setup and teardown by `@after` and `@before` annotation in order to keep the same behavior and compatibilityCommits-------bb3cb64 Fix test compatibility with 4.x components
@jderussejderusse deleted the fix-test-compatibility branchMarch 5, 2020 20:03
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@xabbuhxabbuhAwaiting requested review from xabbuhxabbuh is a code owner

1 more reviewer

@seriquynhseriquynhseriquynh approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

3.4

Development

Successfully merging this pull request may close these issues.

5 participants

@jderusse@nicolas-grekas@seriquynh@yceruto@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp