Page MenuHomePhabricator

IPUtils: Expecting E_WARNING and E_USER_WARNING is deprecated and will no longer be possible in PHPUnit 10
Closed, ResolvedPublic

Description

14:17:04 There were 2 warnings:
14:17:04 
14:17:04 1) Wikimedia\IPSet\Test\IPSetTest::testAddCidrWarning with data set "bad mask ipv4" ('0.0.0.0/33')
14:17:04 Expecting E_WARNING and E_USER_WARNING is deprecated and will no longer be possible in PHPUnit 10.
14:17:04 
14:17:04 phpvfscomposer:///src/vendor/phpunit/phpunit/phpunit:106
14:17:04 
14:17:04 2) Wikimedia\IPSet\Test\IPSetTest::testAddCidrWarning with data set "bad mask ipv6" ('2620:0:861:1::/129')
14:17:04 Expecting E_WARNING and E_USER_WARNING is deprecated and will no longer be possible in PHPUnit 10.
14:17:04 
14:17:04 phpvfscomposer:///src/vendor/phpunit/phpunit/phpunit:106

Details

Event Timeline

Reedy renamed this task from xpecting E_WARNING and E_USER_WARNING is deprecated and will no longer be possible in PHPUnit 10 to IPUtils: Expecting E_WARNING and E_USER_WARNING is deprecated and will no longer be possible in PHPUnit 10.Apr 28 2024, 4:27 PM

Change #1175614 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/libs/IPUtils@master] tests: Replace deprecated expectWarning()

https://gerrit.wikimedia.org/r/1175614

Change #1175614 merged by jenkins-bot:

[mediawiki/libs/IPUtils@master] tests: Replace deprecated expectWarning()

https://gerrit.wikimedia.org/r/1175614