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

[Serializer] YamlEncoder: throw if the Yaml component isn't installed#24565

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
dunglas wants to merge2 commits intosymfony:3.3fromdunglas:yaml_ex

Conversation

@dunglas
Copy link
Member

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

Similar to#24563 but for the Yaml encoder (not the same branch).

publicfunction__construct(Dumper$dumper =null,Parser$parser =null,array$defaultContext =array())
{
if (!class_exists(Dumper::class)) {
thrownewRuntimeException('Unable to use YamlEncoder as the Symfony Yaml component is not installed.');
Copy link
Member

Choose a reason for hiding this comment

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

Maybe we should add the package name here too as suggested in#24563.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

done

@fabpot
Copy link
Member

Thank you@dunglas.

fabpot added a commit that referenced this pull requestOct 16, 2017
…t installed (dunglas)This PR was squashed before being merged into the 3.3 branch (closes#24565).Discussion----------[Serializer] YamlEncoder: throw if the Yaml component isn't installed| Q             | A| ------------- | ---| Branch?       | 3.3 <!-- see comment below -->| Bug fix?      | yes| New feature?  | no <!-- don't forget to update src/**/CHANGELOG.md files -->| BC breaks?    | no| Deprecations? | no <!-- don't forget to update UPGRADE-*.md files -->| Tests pass?   | no| Fixed tickets | #... <!-- #-prefixed issue number(s), if any -->| License       | MIT| Doc PR        | n/aSimilar to#24563 but for the Yaml encoder (not the same branch).Commits-------7d21caf [Serializer] YamlEncoder: throw if the Yaml component isn't installed
@fabpotfabpot closed thisOct 16, 2017
@dunglasdunglas deleted the yaml_ex branchOctober 16, 2017 22:36
This was referencedOct 30, 2017
@fabpotfabpot mentioned this pull requestNov 10, 2017
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@xabbuhxabbuhxabbuh left review comments

@fabpotfabpotfabpot approved these changes

@javiereguiluzjaviereguiluzjaviereguiluz approved these changes

@weaverryanweaverryanweaverryan approved these changes

@derrabusderrabusderrabus approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

7 participants

@dunglas@fabpot@javiereguiluz@weaverryan@derrabus@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp