proposed migration duty - special php edition
christian.ehrhardt at canonical.com
Tue Mar 3 13:40:03 UTC 2020
> => But phpunit had further issues.
> The new fails now seem like legitimate test-errors vs the new version:
> - Exception: Serialization of 'ReflectionClass' is not allowed
> - Deprecated: Function ReflectionType::__toString() is deprecated ...
> At least all 39 errors are about the same two things above, so one fix
> should do it for all.
> => https://github.com/sebastianbergmann/global-state/issues/21
> This identified it would work with
> "sebastian/global-state": "^2.0 || ^3.0",
> In packaging terms that means we might need:
> phpunit-global-state | 3.0.0-2build3 |
> focal-proposed/universe | source, all
> I've triggered the tests including that also.
> => The results with that is further but not done yet.
> It seems there are a bunch of php7.4 issues where signatures change.
> --- Expected
> +++ Actual
> -'Argument #2 (No Value) of PHPUnit\Framework\Assert::assertCount() must
> be a countable or iterable'
> +'Argument #2 of PHPUnit\Framework\Assert::assertCount() must be a
> countable or iterable'
> But as we learned from other threads in this whole topic there also is a
> new phpunit - lets add that as well.
> => These tests are still ongoing - I'll reply later
For the php-unit tests combining xdebug + php-defaults +
phpunit-global-state + phpunit worked. Triggering that on all architectures
=> These tests are good now, done
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ubuntu-server