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

fix for PHP 7.2, count(): Parameter must be an array or an object tha… #190

Closed
wants to merge 1 commit into from

Conversation

remicollet
Copy link
Contributor

…t implements Countable

With PHP 7.2.0beta2

There was 1 error:

1) ZendTest\Validator\File\UploadTest::testGetFilesReturnsEmptyArrayAfterSetFilesIsCalledWithNull
count(): Parameter must be an array or an object that implements Countable

/dev/shm/BUILDROOT/php-zendframework-zend-validator-2.9.2-1.fc25.remi.x86_64/usr/share/php/Zend/Validator/File/Upload.php:112
/dev/shm/BUILD/zend-validator-a58dbe8463b93de0d650e296d56cb7da4a129ff3/test/File/UploadTest.php:237

@weierophinney
Copy link
Member

Duplicate of #175

@weierophinney weierophinney marked this as a duplicate of #175 Aug 14, 2017
@remicollet remicollet deleted the issue-php72 branch August 15, 2017 12:18
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