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

Ban DateTime from the codebase#47730

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:6.2fromWebMamba:ban_date_time_from_the_codebase
Oct 9, 2022
Merged

Ban DateTime from the codebase#47730

fabpot merged 1 commit intosymfony:6.2fromWebMamba:ban_date_time_from_the_codebase
Oct 9, 2022

Conversation

@WebMamba
Copy link
Contributor

@WebMambaWebMamba commentedSep 29, 2022
edited
Loading

QA
Branch?6.2
Bug fix?no
New feature?yes
Deprecations?yes
Tickets#47580
LicenseMIT
Doc PRsymfony

As discuss in this issue, the purpose of this PR is to remove DateTime from the code base in favor to DateTimeImmutable. I will process it component by component. Feel free to discuss!

@carsonbotcarsonbot added this to the6.2 milestoneSep 29, 2022
@WebMambaWebMamba changed the titleDateTime to DateTimeimmutable in BrowserKit componentBan DateTime from the codebaseSep 29, 2022
@stof
Copy link
Member

you should not mark this PR is fixing the issue, as it only does part of the work. We don't want the issue to get closed automatically by github when only that PR is merged. So having a link to the issue is good, but you should not haveFix before it.

Note: I edited the PR description to remove it, but please be careful about that for your next PRs

Copy link
Member

@stofstof left a comment

Choose a reason for hiding this comment

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

This component is still usingdate_create, which needs to be migrated todate_create_immutable instead

@WebMamba
Copy link
ContributorAuthor

you should not mark this PR is fixing the issue, as it only does part of the work. We don't want the issue to get closed automatically by github when only that PR is merged. So having a link to the issue is good, but you should not haveFix before it.

Note: I edited the PR description to remove it, but please be careful about that for your next PRs

thanks for for it@stof, I wasn't aware of this.

This component is still usingdate_create, which needs to be migrated todate_create_immutable instead

Nice catch thanks !

stof
stof previously approved these changesSep 29, 2022
@stof
Copy link
Member

@WebMamba looks like I miunderstood what you meant by "I'll process component by component", as it seems like you are adding other components in the same PR (which would invalidate my previous approval as it was only for BrowserKit).

If you want us to review it component by component, separate PRs would be a better fit.

@WebMamba
Copy link
ContributorAuthor

WebMamba commentedSep 29, 2022
edited
Loading

@WebMamba looks like I miunderstood what you meant by "I'll process component by component", as it seems like you are adding other components in the same PR (which would invalidate my previous approval as it was only for BrowserKit).

If you want us to review it component by component, separate PRs would be a better fit.

@nicolas-grekas asked me to process it like this. I do all the easy changes here and if we spot a tricky one we do a dedicated PR

@stofstof dismissed theirstale reviewSeptember 29, 2022 15:02

More components are being worked on

@WebMamba
Copy link
ContributorAuthor

Thanks,@stof for your review! All the things you spotted are corrected now! 👍

@fabpot
Copy link
Member

Thank you@WebMamba.

@fabpotfabpot merged commit053613c intosymfony:6.2Oct 9, 2022
@WebMambaWebMamba deleted the ban_date_time_from_the_codebase branchOctober 20, 2022 14:24
@fabpotfabpot mentioned this pull requestOct 24, 2022
PhilETaylor pushed a commit to PhilETaylor/symfony that referenced this pull requestSep 6, 2023
This PR was squashed before being merged into the 6.2 branch.Discussion----------Ban DateTime from the codebase| Q             | A| ------------- | ---| Branch?       | 6.2| Bug fix?      | no| New feature?  | yes| Deprecations? | yes| Tickets       |symfony#47580| License       | MIT| Doc PR        | symfonyAs discuss in this issue, the purpose of this PR is to remove DateTime from the code base in favor to DateTimeImmutable. I will process it component by component. Feel free to discuss!Commits-------689385a Ban DateTime from the codebase
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@stofstofstof requested changes

@OskarStarkOskarStarkOskarStark left review comments

@fabpotfabpotfabpot approved these changes

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

@dunglasdunglasAwaiting requested review from dunglasdunglas is a code owner

@chalasrchalasrAwaiting requested review from chalasrchalasr is a code owner

@ycerutoycerutoAwaiting requested review from ycerutoyceruto is a code owner

@xabbuhxabbuhAwaiting requested review from xabbuhxabbuh is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

6.2

Development

Successfully merging this pull request may close these issues.

6 participants

@WebMamba@stof@fabpot@nicolas-grekas@OskarStark@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp