Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PHP 8.2 support #62

Merged
merged 2 commits into from
Nov 18, 2022
Merged

Add PHP 8.2 support #62

merged 2 commits into from
Nov 18, 2022

Conversation

fezfez
Copy link
Contributor

@fezfez fezfez commented Oct 24, 2022

Signed-off-by: Stéphane Demonchaux demonchaux.stephane@gmail.com

@fezfez fezfez force-pushed the php8.2 branch 2 times, most recently from 4b15fec to 48dfb9d Compare October 24, 2022 07:14
@driehle
Copy link
Member

driehle commented Oct 24, 2022

Looks like phpspec/prophecy doesn't support 8.2 yet...

@driehle
Copy link
Member

driehle commented Nov 14, 2022

I dropped phpspec/prophecy with #65. Could you please rebase your PR on the latest 3.2.x branch?

@driehle driehle added this to the 3.2.0 milestone Nov 14, 2022
@driehle driehle added the Enhancement New feature or request label Nov 14, 2022
Signed-off-by: Stéphane Demonchaux <demonchaux.stephane@gmail.com>
@fezfez
Copy link
Contributor Author

fezfez commented Nov 15, 2022

I dropped phpspec/prophecy with #65. Could you please rebase your PR on the latest 3.2.x branch?

done

@fezfez
Copy link
Contributor Author

fezfez commented Nov 15, 2022

@driehle seem to be good :)

@driehle
Copy link
Member

driehle commented Nov 15, 2022

Looks good, but I a wondering if we should add a test case for readonly properties (PHP 8.1) and readonly classes (PHP 8.2). As uninitialized properties are ignored for extraction by reference...

https://github.com/doctrine/doctrine-laminas-hydrator/blob/3.2.x/src/DoctrineObject.php#L288

... readonly properties could be ignored for hydration by reference. What do you think?

@fezfez
Copy link
Contributor Author

fezfez commented Nov 16, 2022

@driehle tests has beed added :)

tests/DoctrineObjectTest.php Show resolved Hide resolved
tests/DoctrineObjectTest.php Outdated Show resolved Hide resolved
src/DoctrineObject.php Show resolved Hide resolved
@fezfez
Copy link
Contributor Author

fezfez commented Nov 18, 2022

@driehle should be ok

@driehle driehle self-assigned this Nov 18, 2022
@driehle driehle merged commit b76cfa7 into doctrine:3.2.x Nov 18, 2022
@driehle
Copy link
Member

driehle commented Nov 18, 2022

Thanks, @fezfez, for you time and contribution!
3.2.0 has just been released!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants