@DanielRuf I'll fix up #3730 this week, it is related to TestDox which I had been working on
I'm not so deep into it yet. Might make more sense if you take it up as you msay have a better overview of (possible) edge cases =)
Hi. 8.3.4 -> 8.3.5 broke a whole bunch of tests. I've got this method to create a mock guzzle client which will expect a sequence of requests and return a related sequence of responses.
Works fine in 8.3.4. However, 8.3.5 throws this error:-
PHPUnit\Framework\InvalidParameterGroupException: Parameter group #0 must be an array or Traversable, got object /Users/paul_court/devel/hotelmap/hm-tps/src/tests/Infrastructure/OAuth/OktaClientTest.php:39 /Users/paul_court/devel/hotelmap/hm-tps/src/tests/Infrastructure/OAuth/OktaClientTest.php:51
enableProxyingToOriginalMethods()in the first place is that I'm trying to mock a class whose parent implements magic methods, and I need those to work.
Hi! Recently we updated our php version from 7.0.x to 7.3.9 and I'm struggling to get the Dockerfile to run tests in CI to work without warnings/errors.
I keep seeing the following warnings no matter what I try:
Warning: DOMDocument::schemaValidate(): Invalid Schema in /***/***/***/vendor/phpunit/phpunit/src/Util/Configuration.php on line 945
Warning - The configuration file did not pass validation!
failed to load external entity "/***/***/***/vendor/phpunit/phpunit/phpunit.xsd"
Failed to locate the main schema resource at '/***/***/***/vendor/phpunit/phpunit/phpunit.xsd'.
It worked fine before using php 7.0.x & phpunit 4.8.26, we now use php 7.3.9 & phpunit 8.3.5.
It also works fine on our own development machines...
Does anyone have an idea what could be going on?
php -mto this gist: https://gist.github.com/gevalo1/de30abd6856a4bd52ad88b3d9bd03d6e