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

Remove dynamic properties to remove PHP 8.2 deprecation warnings #75

Merged
merged 3 commits into from
Nov 23, 2022

Conversation

adambalint-srg
Copy link
Contributor

Signed-off-by: Ádám Bálint adam.balint@srg.hu

Q A
Documentation no
Bugfix yes
BC Break yes
New Feature no
RFC no
QA no

In PHP 8.2 dynamic properties will be deprecated. I found two dynamic properties, and as I see these properties aren't used, only set. I know that because of the dynamic declaration these properties will be public, so there is the possibility that someone uses these properties. This is why it can be BC break.
Or should I create these public properties in these classes?

…e classes

Signed-off-by: Ádám Bálint <adam.balint@srg.hu>
Signed-off-by: Ádám Bálint <adam.balint@srg.hu>
@Ocramius Ocramius added the Bug Something isn't working label Nov 23, 2022
@Ocramius Ocramius added this to the 2.18.0 milestone Nov 23, 2022
Signed-off-by: Ádám Bálint <adam.balint@srg.hu>
Copy link
Member

@Ocramius Ocramius left a comment

Choose a reason for hiding this comment

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

Thanks @adambalint-srg!

@Ocramius Ocramius changed the base branch from 2.18.x to 2.17.x November 23, 2022 15:44
@Ocramius Ocramius changed the base branch from 2.17.x to 2.18.x November 23, 2022 15:44
@Ocramius Ocramius assigned Ocramius and unassigned adambalint-srg Nov 23, 2022
@Ocramius Ocramius changed the title Remove dynamic properties Remove dynamic properties to remove PHP 8.2 deprecation warnings Nov 23, 2022
@Ocramius Ocramius merged commit 76de900 into laminas:2.18.x Nov 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants