PHPUnit_Framework_Exception: Argument #2 (No Value) of PHPUnit_Framework_Assert::assertCount() must be a countable or traversable
all over the PHP 5.5 + Drupal 8.7 test runs. I think something changed in Drupal 8.7 for PHP 5, but not sure what yet.
This is blocking #3015325: [ignore] support issue for the core patch and #2843147: Add JSON:API to core as a stable module.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 3035676-4.patch | 746 bytes | wim leers |
| #2 | 3035676-2-do-not-test.patch | 468 bytes | wim leers |
Comments
Comment #2
wim leersLet's trigger the failure.
Comment #3
wim leersBased on https://www.drupal.org/pift-ci-job/1188059, we know that at least on Feb 1 this was still passing tests just fine. Core's
composer.jsonandcomposer.lockwere last changed on Jan 15 in SA-CORE-2019-002 (commit7e1a53c). I have no idea how this is possible. The detailed logs for old test runs aren't available.Installing PHP 5…
Comment #4
wim leersTestbot--
Testbot--
Testbot--
At last, actionable feedback.
Comment #5
wim leers#3033123: Add ResourceObjectData, IncludedData, and RelationshipData specializations of Data introduced a PHP 7 typehint. This is what apparently caused all this. And because d.o once again forgot about our configured daily test runs (sadly only one environment combination possible for on-commit test runs), we weren't notified of this PHP 5 failure. 😢
Comment #6
wim leersComment #7
wim leers🥳 Green! ✅
Comment #9
wim leers