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

[HttpKernel] Fix deprecation for DateTimeValueResolver with null on non-nullable argument#48110

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

@GromNaN
Copy link
Member

@GromNaNGromNaN commentedNov 4, 2022
edited
Loading

QA
Branch?6.1
Bug fix?yes
New feature?no
Deprecations?no
Ticketshttps://github.com/symfony/symfony/pull/48098/files#r1013918566
LicenseMIT
Doc PRn/a

Remove deprecation message when the value isnull and the controller argument is not nullable.

Deprecated: DateTimeImmutable::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated

This class have been modified in 6.2. The new test case needs to be updated.

@GromNaNGromNaN requested a review fromstofNovember 4, 2022 12:06
@carsonbotcarsonbot changed the titleFix deprecation for DateTimeValueResolver with null on non-nullable argument[HttpKernel] Fix deprecation for DateTimeValueResolver with null on non-nullable argumentNov 4, 2022
@carsonbotcarsonbot added this to the6.1 milestoneNov 4, 2022
@nicolas-grekas
Copy link
Member

Thank you@GromNaN.

@nicolas-grekasnicolas-grekas merged commitb2a35c7 intosymfony:6.1Nov 4, 2022
@GromNaNGromNaN deleted the fix-datetime-deprecation branchNovember 4, 2022 14:25
@fabpotfabpot mentioned this pull requestNov 19, 2022
@fabpotfabpot mentioned this pull requestNov 28, 2022
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@stofstofAwaiting requested review from stof

Assignees

No one assigned

Projects

None yet

Milestone

6.1

Development

Successfully merging this pull request may close these issues.

3 participants

@GromNaN@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp