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

[Yaml] Improve the deprecation warnings for octal numbers to suggest migrating#45085

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
nicolas-grekas merged 1 commit intosymfony:5.4fromstof:improve_yaml_deprecation
Jan 26, 2022

Conversation

@stof
Copy link
Member

QA
Branch?5.4
Bug fix?no
New feature?no
Deprecations?no
Tickets
LicenseMIT
Doc PRn/a

The existing deprecation messages made some people think that octal numbers are totally unsupported in newer Symfony versions (seethephpleague/flysystem-bundle#81). This updates the deprecation message to provide the alternative when using an octal number is intended, to migrate to the Yaml 1.2 way of representing them.

@stof
Copy link
MemberAuthor

for now, I provide the full replacement in the deprecation message. this might have a negative effect on the deduplication of deprecations. An alternative could be to mention only the0o prefix instead.

@stofstofforce-pushed theimprove_yaml_deprecation branch from8db4f1b to6eca1a4CompareJanuary 20, 2022 12:46
@carsonbot
Copy link

Hey!

I think@alexandre-daubois has recently worked with this code. Maybe they can help review this?

Cheers!

Carsonbot

@nicolas-grekas
Copy link
Member

Thank you@stof.

@nicolas-grekasnicolas-grekas merged commit34a0893 intosymfony:5.4Jan 26, 2022
@stofstof deleted the improve_yaml_deprecation branchNovember 8, 2022 15:17
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

Assignees

No one assigned

Projects

None yet

Milestone

5.4

Development

Successfully merging this pull request may close these issues.

3 participants

@stof@carsonbot@nicolas-grekas

[8]ページ先頭

©2009-2025 Movatter.jp