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

Replace deprecated each() #29

Closed
wants to merge 2 commits into from
Closed

Conversation

Makinami
Copy link
Contributor

Fixes #28

Using of each() was also the cause of incompatibility with PHP7.2:
ErrorException: "The each() function is deprecated. This message will be suppressed on further calls"

Changing to foreach() and count() makes the package compatible with the latest PHP 7.2.1

weierophinney added a commit that referenced this pull request Jan 25, 2018
weierophinney added a commit that referenced this pull request Jan 25, 2018
Forward port #29
Forward port #30

Conflicts:
	.travis.yml
	CHANGELOG.md
	composer.lock
	src/Client.php
@weierophinney
Copy link
Member

Thanks, @Makinami; cherry-picked to master for a 2.6.2 release.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants