[Tickets #15008] Deprecation warning with php 7.4.5
noreply at bugs.horde.org
noreply at bugs.horde.org
Thu Apr 30 06:32:35 UTC 2020
BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE
E-MAIL-ADRESSE WERDEN NICHT GELESEN.
Ticket-URL: https://bugs.horde.org/ticket/15008
------------------------------------------------------------------------------
Ticket | 15008
Erstellt Von | cheese at nosuchhost.net
Zusammenfassung | Deprecation warning with php 7.4.5
Warteschlange | Horde Framework Packages
Typ | Enhancement
Status | New
Priorität | 1. Low
Milestone |
Patch |
Zuständige |
------------------------------------------------------------------------------
cheese at nosuchhost.net (2020-04-30 06:32) hat geschrieben:
i get an error and deprecation warnings with php 7.4.5 (as delivered
with fedora 32) while running tests against Activesync 2.41.3:
+ cd Horde_ActiveSync-2.41.3/test/Horde/ActiveSync
+ phpunit --bootstrap bootstrap.php -d date.timezone=UTC .
PHPUnit 5.7.27 by Sebastian Bergmann and contributors.
I.I.IE...WW..WWWW..WWW.WWWWI.....III........I.......SSSSSSSSSSS 63 /
187 ( 33%)
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS 126 /
187 ( 67%)
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSWWWWWWWWWWWWWWWWWWWWWI.I 187 /
187 (100%)
Time: 1.35 seconds, Memory: 14.00MB
There was 1 error:
1) Horde_ActiveSync_AppointmentTest::testAlldayEncoding
Trying to access array offset on value of type null
/builddir/build/BUILD/php-horde-Horde-ActiveSync-2.41.3/Horde_ActiveSync-2.41.3/lib/Horde/ActiveSync/Wbxml/Decoder.php:305
/builddir/build/BUILD/php-horde-Horde-ActiveSync-2.41.3/Horde_ActiveSync-2.41.3/lib/Horde/ActiveSync/Wbxml/Decoder.php:291
/builddir/build/BUILD/php-horde-Horde-ActiveSync-2.41.3/Horde_ActiveSync-2.41.3/lib/Horde/ActiveSync/Wbxml/Decoder.php:147
/builddir/build/BUILD/php-horde-Horde-ActiveSync-2.41.3/Horde_ActiveSync-2.41.3/lib/Horde/ActiveSync/Message/Base.php:353
/builddir/build/BUILD/php-horde-Horde-ActiveSync-2.41.3/Horde_ActiveSync-2.41.3/test/Horde/ActiveSync/AppointmentTest.php:250
--
There were 34 warnings:
1) Horde_ActiveSync_AppointmentTest::testMissingSupportedTag
PHPUnit_Framework_TestCase::getMock() is deprecated, use
PHPUnit_Framework_TestCase::createMock() or
PHPUnit_Framework_TestCase::getMockBuilder() instead
2) Horde_ActiveSync_AppointmentTest::testEmptySupportedTag
PHPUnit_Framework_TestCase::getMock() is deprecated, use
PHPUnit_Framework_TestCase::createMock() or
PHPUnit_Framework_TestCase::getMockBuilder() instead
3) Horde_ActiveSync_CacheTest::testPropertyAccess
PHPUnit_Framework_TestCase::getMock() is deprecated, use
PHPUnit_Framework_TestCase::createMock() or
PHPUnit_Framework_TestCase::getMockBuilder() instead
4) Horde_ActiveSync_CacheTest::testInvalidPropertyAccess
...
ERRORS!
Tests: 187, Assertions: 332, Errors: 1, Warnings: 34, Skipped: 111,
Incomplete: 10.
More information about the bugs
mailing list