-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
Migrate codebase to PHP 8.1 #94
Conversation
private const SERIALIZATION_FORMAT_USE_UNSERIALIZER = 'C'; | ||
private const SERIALIZATION_FORMAT_AVOID_UNSERIALIZER = 'O'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those constants are never used publicly and I believe they should not be part of the public interface. Do we need to flag them as deprecated on 1.x or is it enough to just switch them to private in 2.0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's flag them as deprecated out of consistency with doctrine/orm#10342?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in #96
e4a3e60
to
c8a186d
Compare
@@ -31,37 +31,33 @@ final class Instantiator implements InstantiatorInterface | |||
* | |||
* @deprecated This constant will be private in 2.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you forgot to remove that @deprecated
tag
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right. Wanna submit a PR?
Let's give this little library its PHP 8.1 treatment.
If this PR gets accepted, I'll create a 2.0.x branch and merge it there.Replaces #44