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

'yml' is not a format and shouldn't be visible as constant from 'YamlEncoder'#28830

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

@mcsky
Copy link

@mcskymcsky commentedOct 12, 2018
edited
Loading

A little fix of myprevious PR

This PR changes the constant visibility of theyml format as private.

Because as@stofmentionnedyml isn't a format, so the constant shoudn't be public.

Otherwise, this will be confusing while using autocomplete, you see two formats. The user can ask himself if there is a difference betweenyaml /yml.

No need of that :)

QA
Branch?master
Bug fix?no
New feature?no
BC breaks?no
Deprecations?no
Fixed tickets-
LicenseMIT
Doc PR

jvasseur reacted with thumbs up emoji
@fabpot
Copy link
Member

Thank you@mcsky.

@fabpotfabpot merged commit674b359 intosymfony:masterOct 12, 2018
fabpot added a commit that referenced this pull requestOct 12, 2018
…nt from 'YamlEncoder' (kevin-biig)This PR was merged into the 4.2-dev branch.Discussion----------'yml' is not a format and shouldn't be visible as constant from 'YamlEncoder'A little fix of my [previous PR](#28815)This PR changes the constant visibility of the `yml` format as private.Because as@stof [mentionned](#28815 (comment)) `yml` isn't a format, so the constant  shoudn't be public.Otherwise, this will be confusing while using autocomplete, you see two formats. The user can ask himself if there is a difference between `yaml` / `yml`.No need of that :)| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | no| BC breaks?    | no| Deprecations? | no| Fixed tickets | -| License       | MIT| Doc PR        |Commits-------674b359 'yml' is not a format and shouldn't be visible as constant from 'YamlEncoder' class
@xabbuhxabbuh added this to the4.2 milestoneMar 8, 2019
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

+1 more reviewer

@ro0NLro0NLro0NL approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

4.2

Development

Successfully merging this pull request may close these issues.

5 participants

@mcsky@fabpot@ro0NL@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp