[pkg-php-pear] Bug#1058656: Please fix or ignore test deprecations

David Prévot taffit at debian.org
Thu Dec 14 06:19:08 GMT 2023


Source: libphp-swiftmailer
Version: 6.3.0-3
Severity: important
Control: affects -1 php-mockery

Hi,

The latest (1.6.7-1) php-mockery introduced some deprecations, displayed
during the testsuite of libphp-swiftmailer:

> 2x: shouldNotReceive(), never(), times(0) chaining additional invocation count methods has been deprecated and will throw an exception in a future version of Mockery
>   1x in Swift_CharacterStream_ArrayCharacterStreamTest::testByteStreamCanBeImportingUsesValidator
>   1x in Swift_CharacterStream_ArrayCharacterStreamTest::testImportingStreamProducesCorrectCharArray

These new deprecation are making the testsuite fail, including during
debci, and are thus blocking php-mockery migration.

Please consider using

	SYMFONY_DEPRECATIONS_HELPER=weak /usr/bin/phpunit

instead of

	phpunit

(or even better, get the testsuite fixed ;), in order to make the
testsuite compatible with the latest php-mockery version.

Cheers,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-php-pear/attachments/20231214/cdaa8c2b/attachment.sig>


More information about the pkg-php-pear mailing list