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

fix Trying to access array offset on value of type null (7.4) #235

Merged
merged 2 commits into from
Oct 4, 2019

Conversation

remicollet
Copy link
Contributor

There were 8 errors:

1) ZendTest\Form\Element\CollectionTest::testDoesNotCreateNewObjects
Trying to access array offset on value of type null

/dev/shm/BUILDROOT/php-zendframework-zend-form-2.14.2-1.fc29.remi.x86_64/usr/share/php/Zend/Form/Form.php:367
/dev/shm/BUILDROOT/php-zendframework-zend-form-2.14.2-1.fc29.remi.x86_64/usr/share/php/Zend/Form/Form.php:519
/dev/shm/BUILD/zend-form-284f51cf26af2d3d88936fd8b74d46853550b718*/test/Element/CollectionTest.php:442

2) ZendTest\Form\Element\CollectionTest::testCreatesNewObjectsIfSpecified
Trying to access array offset on value of type null

/dev/shm/BUILDROOT/php-zendframework-zend-form-2.14.2-1.fc29.remi.x86_64/usr/share/php/Zend/Form/Form.php:367
/dev/shm/BUILDROOT/php-zendframework-zend-form-2.14.2-1.fc29.remi.x86_64/usr/share/php/Zend/Form/Form.php:519
/dev/shm/BUILD/zend-form-284f51cf26af2d3d88936fd8b74d46853550b718*/test/Element/CollectionTest.php:494

3) ZendTest\Form\FormTest::testFormBaseFieldsetBindValuesWithoutInputs
Trying to access array offset on value of type null

/dev/shm/BUILDROOT/php-zendframework-zend-form-2.14.2-1.fc29.remi.x86_64/usr/share/php/Zend/Form/Form.php:367
/dev/shm/BUILDROOT/php-zendframework-zend-form-2.14.2-1.fc29.remi.x86_64/usr/share/php/Zend/Form/Form.php:519
/dev/shm/BUILD/zend-form-284f51cf26af2d3d88936fd8b74d46853550b718*/test/FormTest.php:866

4) ZendTest\Form\FormTest::testCanCorrectlyPopulateDataToComposedEntities
Trying to access array offset on value of type null

/dev/shm/BUILDROOT/php-zendframework-zend-form-2.14.2-1.fc29.remi.x86_64/usr/share/php/Zend/Form/Form.php:367
/dev/shm/BUILDROOT/php-zendframework-zend-form-2.14.2-1.fc29.remi.x86_64/usr/share/php/Zend/Form/Form.php:519
/dev/shm/BUILD/zend-form-284f51cf26af2d3d88936fd8b74d46853550b718*/test/FormTest.php:1153

5) ZendTest\Form\FormTest::testCanCorrectlyPopulateDataToOneToManyEntites
Trying to access array offset on value of type null

/dev/shm/BUILDROOT/php-zendframework-zend-form-2.14.2-1.fc29.remi.x86_64/usr/share/php/Zend/Form/Form.php:367
/dev/shm/BUILDROOT/php-zendframework-zend-form-2.14.2-1.fc29.remi.x86_64/usr/share/php/Zend/Form/Form.php:519
/dev/shm/BUILD/zend-form-284f51cf26af2d3d88936fd8b74d46853550b718*/test/FormTest.php:1202

6) ZendTest\Form\FormTest::testCorrectlyHydrateBaseFieldsetWhenHydratorThatDoesNotIgnoreInvalidDataIsUsed
Trying to access array offset on value of type null

/dev/shm/BUILDROOT/php-zendframework-zend-form-2.14.2-1.fc29.remi.x86_64/usr/share/php/Zend/Form/Form.php:367
/dev/shm/BUILDROOT/php-zendframework-zend-form-2.14.2-1.fc29.remi.x86_64/usr/share/php/Zend/Form/Form.php:519
/dev/shm/BUILD/zend-form-284f51cf26af2d3d88936fd8b74d46853550b718*/test/FormTest.php:1612

7) ZendTest\Form\FormTest::testPreserveEntitiesBoundToCollectionAfterValidation
Trying to access array offset on value of type null

/dev/shm/BUILDROOT/php-zendframework-zend-form-2.14.2-1.fc29.remi.x86_64/usr/share/php/Zend/Form/Form.php:367
/dev/shm/BUILDROOT/php-zendframework-zend-form-2.14.2-1.fc29.remi.x86_64/usr/share/php/Zend/Form/Form.php:519
/dev/shm/BUILD/zend-form-284f51cf26af2d3d88936fd8b74d46853550b718*/test/FormTest.php:1694

8) ZendTest\Form\FormTest::testShouldHydrateEmptyCollection
Trying to access array offset on value of type null

/dev/shm/BUILDROOT/php-zendframework-zend-form-2.14.2-1.fc29.remi.x86_64/usr/share/php/Zend/Form/Form.php:367
/dev/shm/BUILDROOT/php-zendframework-zend-form-2.14.2-1.fc29.remi.x86_64/usr/share/php/Zend/Form/Form.php:519
/dev/shm/BUILD/zend-form-284f51cf26af2d3d88936fd8b74d46853550b718*/test/FormTest.php:2349

@michalbundyra michalbundyra added this to the 2.14.3 milestone Oct 4, 2019
@remicollet
Copy link
Contributor Author

@webimpress thankf for the CS

@michalbundyra
Copy link
Member

Thanks, @remicollet!

michalbundyra added a commit that referenced this pull request Oct 4, 2019
fix Trying to access array offset on value of type null (7.4)
@michalbundyra michalbundyra merged commit 0294e76 into zendframework:master Oct 4, 2019
michalbundyra added a commit that referenced this pull request Oct 4, 2019
michalbundyra added a commit that referenced this pull request Oct 4, 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.

3 participants