Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

PHP 7.4 compatibility fix #122

Merged
merged 2 commits into from
Sep 30, 2019
Merged

PHP 7.4 compatibility fix #122

merged 2 commits into from
Sep 30, 2019

Conversation

matbech
Copy link
Contributor

@matbech matbech commented Sep 29, 2019

Fixes #121

@michalbundyra michalbundyra added this to the 2.9.2 milestone Sep 29, 2019
@michalbundyra michalbundyra changed the title Use property_exists PHP 7.4 compatibility fix Sep 29, 2019
Using array_key_exists on object is deperecated. We can use `offsetExists`
as it is the most adequate in these case - ArrayObject instances.
michalbundyra added a commit that referenced this pull request Sep 30, 2019
PHP 7.4 compatibility fix
michalbundyra added a commit that referenced this pull request Sep 30, 2019
michalbundyra added a commit that referenced this pull request Sep 30, 2019
@michalbundyra
Copy link
Member

Thanks, @matbech!

@michalbundyra michalbundyra merged commit 801dd11 into zendframework:master Sep 30, 2019
michalbundyra added a commit that referenced this pull request Sep 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PHP Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated
2 participants