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

[Translation][Writer] avoid calling setBackup if the dumper is not FileDumper#16912

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
fabpot merged 1 commit intosymfony:2.7fromaitboudad:translation_writer_backup
Jan 25, 2016

Conversation

@aitboudad
Copy link
Contributor

QA
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets~
LicenseMIT
Doc PRn/a

Copy link
Member

Choose a reason for hiding this comment

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

What about usingmethod_exists() here instead to support users who create their own dumpers?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

done

@aitboudadaitboudadforce-pushed thetranslation_writer_backup branch fromb4f2a7c to6c700c1CompareDecember 10, 2015 20:12
@xabbuh
Copy link
Member

👍

Status: Reviewed

Copy link
Member

Choose a reason for hiding this comment

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

This should now be removed again.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

fixed thanks!

@aitboudadaitboudadforce-pushed thetranslation_writer_backup branch from6c700c1 to6c43dc0CompareDecember 10, 2015 20:20
Copy link
Member

Choose a reason for hiding this comment

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

Oh, I missed that but tests are failing: We cannot use the short array syntax here.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

it should work now, I'll pay more attention next time ;)

@xabbuh
Copy link
Member

Status: Needs work

@nicolas-grekas
Copy link
Member

Would it make sense to create an interface for setBackup on 3.1? method_exists is quite fragile imho

@fabpot
Copy link
Member

Thank you@aitboudad.

@fabpotfabpot merged commit369b2d4 intosymfony:2.7Jan 25, 2016
fabpot added a commit that referenced this pull requestJan 25, 2016
…r is not FileDumper (aitboudad)This PR was merged into the 2.7 branch.Discussion----------[Translation][Writer] avoid calling setBackup if the dumper is not FileDumper| Q             | A| ------------- | ---| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |  ~| License       | MIT| Doc PR        | n/aCommits-------369b2d4 [Translation][Writer] avoid calling setBackup if the dumper is not an instance of FileDumper.
@fabpotfabpot mentioned this pull requestFeb 3, 2016
This was referencedFeb 28, 2016
fabpot added a commit that referenced this pull requestApr 1, 2016
This PR was merged into the 3.1-dev branch.Discussion----------[Translation] deprecate the backup feature| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | no| BC breaks?    | no| Deprecations? | yes| Tests pass?   | yes| Fixed tickets |#16912 (comment)| License       | MIT| Doc PR        |Commits-------6c3ddf1 [Translation] deprecate the backup feature
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@aitboudad@xabbuh@nicolas-grekas@fabpot@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp