You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to run the phpunit tests with phpunit11 there errors/warnings are reported.
It also mentions a deprecation warning for phpunit12
phpunit
PHPUnit 11.1.2 by Sebastian Bergmann and contributors.
Runtime: PHP 8.2.18
Configuration: /<<PKGBUILDDIR>>/phpunit.xml
There was 1 PHPUnit error:
1) IXR\tests\DataType\DateTest::testParseIso
The data provider specified for IXR\tests\DataType\DateTest::testParseIso is invalid
Data Provider method IXR\tests\DataType\DateTest::provideDates() is not static
/<<PKGBUILDDIR>>/tests/DataType/DateTest.php:47
--
There were 2 PHPUnit test runner warnings:
1) No tests found in class "IXR\tests\DataType\DateTest".
2) Class MessageTest cannot be found in /<<PKGBUILDDIR>>/tests/Message/MessageTest.php
--
There were 2 PHPUnit test runner deprecations:
1) Your XML configuration validates against a deprecated schema. Migrate your XML configuration using "--migrate-configuration"!
2) Metadata found in doc-comment for method IXR\tests\DataType\DateTest::testParseIso(). Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.
No tests executed!
While trying to run the phpunit tests with phpunit11 there errors/warnings are reported.
It also mentions a deprecation warning for phpunit12
Reference: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1070558
The text was updated successfully, but these errors were encountered: