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

Fix deprecations on PHP 8.2#45532

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:4.4fromnicolas-grekas:php82
Mar 2, 2022
Merged

Conversation

@nicolas-grekas
Copy link
Member

QA
Branch?4.4
Bug fix?yes
New feature?no
Deprecations?no
TicketsOn the road to#44282
LicenseMIT
Doc PR-

derrabus reacted with rocket emoji
@nicolas-grekasnicolas-grekas changed the titleFix some deprecations on PHP 8.2Fix deprecations on PHP 8.2Feb 25, 2022
@nicolas-grekas
Copy link
MemberAuthor

Code is now 100% deprecation-free on PHP 8.2.
Changes on VarExporter are required to work aroundphp/php-src#8152

new \DatePeriod('R4/2012-07-01T00:00:00Z/P7D'),
]];

$value = \PHP_VERSION_ID >=70406 ?newArrayObject() :new \ArrayObject();
Copy link
Member

Choose a reason for hiding this comment

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

I'm curious, what's the reason for this version check?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

PHP 8.2 needs the attribute for this test but I also want to keep a test that creates a native ArrayObject.

Copy link
Member

Choose a reason for hiding this comment

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

Oh, I see. That version number 7.4.6 seemed so oddly specific that I though I had missed something in PHP's ChangeLog. 😅

@nicolas-grekasnicolas-grekas mentioned this pull requestFeb 26, 2022
29 tasks
@nicolas-grekasnicolas-grekas merged commitd4150be intosymfony:4.4Mar 2, 2022
@nicolas-grekasnicolas-grekas deleted the php82 branchMarch 3, 2022 09:51
This was referencedMar 5, 2022
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@derrabusderrabusderrabus approved these changes

@dunglasdunglasAwaiting requested review from dunglasdunglas is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

4.4

Development

Successfully merging this pull request may close these issues.

3 participants

@nicolas-grekas@derrabus@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp