[pkg-php-pear] Bug#1039802: php-monolog: FTBFS with phpunit 10: make[1]: *** [debian/rules:25: override_dh_auto_test] Error 2

Athos Ribeiro athoscribeiro at gmail.com
Wed Jun 28 22:13:30 BST 2023


Source: php-monolog
Version: 2.9.1-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: pkg-php-pear at lists.alioth.debian.org
Usertags: phpunit

Hi,

We will start the phpunit 10 transition in unstable soon. During a test
rebuild, php-monolog was found to FTBFS.

To reproduce this locally, you need to install the phpunit 10 package (and any
other dependency, which should also be available) from experimental on an
unstable system or build chroot.

Relevant part (hopefully):
> There was 1 PHPUnit test runner deprecation:
> 
> 1) Your XML configuration validates against a deprecated schema. Migrate your XML configuration using "--migrate-configuration"!
> 
> --
> 
> There were 85 errors:
> 
> 1) Monolog\Formatter\LineFormatterTest::testDefFormatWithExceptionAndStacktrace
> Error: Call to undefined method Monolog\Formatter\LineFormatterTest::assertRegexp()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Formatter/LineFormatterTest.php:155
> 
> 2) Monolog\Formatter\LineFormatterTest::testFormatShouldStripInlineLineBreaks
> Error: Call to undefined method Monolog\Formatter\LineFormatterTest::assertRegExp()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Formatter/LineFormatterTest.php:320
> 
> 3) Monolog\Formatter\LineFormatterTest::testFormatShouldNotStripInlineLineBreaksWhenFlagIsSet
> Error: Call to undefined method Monolog\Formatter\LineFormatterTest::assertRegExp()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Formatter/LineFormatterTest.php:334
> 
...
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/PushoverHandlerTest.php:118
> 
> 19) Monolog\Handler\RedisHandlerTest::testPredisHandle
> Error: Call to undefined method Monolog\Handler\RedisHandlerTest::prophesize()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RedisHandlerTest.php:45
> 
> 20) Monolog\Handler\RedisPubSubHandlerTest::testPredisHandle
> Error: Call to undefined method Monolog\Handler\RedisPubSubHandlerTest::prophesize()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RedisPubSubHandlerTest.php:47
> 
> 21) Monolog\Handler\RotatingFileHandlerTest::testRotationCreatesNewFile
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 22) Monolog\Handler\RotatingFileHandlerTest::testRotation with data set "Rotation is triggered when the file of the current day is not present"
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 23) Monolog\Handler\RotatingFileHandlerTest::testRotation with data set "Rotation is not triggered when the file of the current day is already present"
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 24) Monolog\Handler\RotatingFileHandlerTest::testRotation with data set "Rotation is triggered when the file of the current month is not present"
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 25) Monolog\Handler\RotatingFileHandlerTest::testRotation with data set "Rotation is not triggered when the file of the current month is already present"
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 26) Monolog\Handler\RotatingFileHandlerTest::testRotation with data set "Rotation is triggered when the file of the current year is not present"
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 27) Monolog\Handler\RotatingFileHandlerTest::testRotation with data set "Rotation is not triggered when the file of the current year is already present"
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 28) Monolog\Handler\RotatingFileHandlerTest::testRotationWithFolderByDate with data set "Rotation is triggered when the file of the current day is not present"
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 29) Monolog\Handler\RotatingFileHandlerTest::testRotationWithFolderByDate with data set "Rotation is triggered when the file of the current month is not present"
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 30) Monolog\Handler\RotatingFileHandlerTest::testRotationWithFolderByDate with data set "Rotation is triggered when the file of the current year is not present"
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 31) Monolog\Handler\RotatingFileHandlerTest::testAllowOnlyFixedDefinedDateFormats with data set #0
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 32) Monolog\Handler\RotatingFileHandlerTest::testAllowOnlyFixedDefinedDateFormats with data set #1
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 33) Monolog\Handler\RotatingFileHandlerTest::testAllowOnlyFixedDefinedDateFormats with data set #2
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 34) Monolog\Handler\RotatingFileHandlerTest::testAllowOnlyFixedDefinedDateFormats with data set #3
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 35) Monolog\Handler\RotatingFileHandlerTest::testAllowOnlyFixedDefinedDateFormats with data set #4
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 36) Monolog\Handler\RotatingFileHandlerTest::testAllowOnlyFixedDefinedDateFormats with data set #5
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 37) Monolog\Handler\RotatingFileHandlerTest::testAllowOnlyFixedDefinedDateFormats with data set #6
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 38) Monolog\Handler\RotatingFileHandlerTest::testAllowOnlyFixedDefinedDateFormats with data set #7
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 39) Monolog\Handler\RotatingFileHandlerTest::testAllowOnlyFixedDefinedDateFormats with data set #8
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 40) Monolog\Handler\RotatingFileHandlerTest::testAllowOnlyFixedDefinedDateFormats with data set #9
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 41) Monolog\Handler\RotatingFileHandlerTest::testAllowOnlyFixedDefinedDateFormats with data set #10
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 42) Monolog\Handler\RotatingFileHandlerTest::testAllowOnlyFixedDefinedDateFormats with data set #11
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 43) Monolog\Handler\RotatingFileHandlerTest::testAllowOnlyFixedDefinedDateFormats with data set #12
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 44) Monolog\Handler\RotatingFileHandlerTest::testAllowOnlyFixedDefinedDateFormats with data set #13
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 45) Monolog\Handler\RotatingFileHandlerTest::testAllowOnlyFixedDefinedDateFormats with data set #14
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 46) Monolog\Handler\RotatingFileHandlerTest::testAllowOnlyFixedDefinedDateFormats with data set #15
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 47) Monolog\Handler\RotatingFileHandlerTest::testAllowOnlyFixedDefinedDateFormats with data set #16
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 48) Monolog\Handler\RotatingFileHandlerTest::testAllowOnlyFixedDefinedDateFormats with data set #17
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 49) Monolog\Handler\RotatingFileHandlerTest::testAllowOnlyFixedDefinedDateFormats with data set #18
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 50) Monolog\Handler\RotatingFileHandlerTest::testAllowOnlyFixedDefinedDateFormats with data set #19
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 51) Monolog\Handler\RotatingFileHandlerTest::testAllowOnlyFixedDefinedDateFormats with data set #20
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 52) Monolog\Handler\RotatingFileHandlerTest::testDisallowFilenameFormatsWithoutDate with data set #0
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 53) Monolog\Handler\RotatingFileHandlerTest::testDisallowFilenameFormatsWithoutDate with data set #1
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 54) Monolog\Handler\RotatingFileHandlerTest::testDisallowFilenameFormatsWithoutDate with data set #2
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 55) Monolog\Handler\RotatingFileHandlerTest::testDisallowFilenameFormatsWithoutDate with data set #3
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 56) Monolog\Handler\RotatingFileHandlerTest::testDisallowFilenameFormatsWithoutDate with data set #4
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 57) Monolog\Handler\RotatingFileHandlerTest::testDisallowFilenameFormatsWithoutDate with data set #5
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 58) Monolog\Handler\RotatingFileHandlerTest::testDisallowFilenameFormatsWithoutDate with data set #6
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 59) Monolog\Handler\RotatingFileHandlerTest::testDisallowFilenameFormatsWithoutDate with data set #7
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 60) Monolog\Handler\RotatingFileHandlerTest::testRotationWhenSimilarFileNamesExist with data set "Rotation is triggered when the file of the current day is not present but similar exists"
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 61) Monolog\Handler\RotatingFileHandlerTest::testRotationWhenSimilarFileNamesExist with data set "Rotation is triggered when the file of the current month is not present but similar exists"
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 62) Monolog\Handler\RotatingFileHandlerTest::testRotationWhenSimilarFileNamesExist with data set "Rotation is triggered when the file of the current year is not present but similar exists"
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 63) Monolog\Handler\RotatingFileHandlerTest::testReuseCurrentFile
> Error: Call to undefined method Monolog\Handler\RotatingFileHandlerTest::getName()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:50
> 
> 64) Monolog\Handler\SlackHandlerTest::testWriteHeader
> Error: Call to undefined method Monolog\Handler\SlackHandlerTest::assertRegexp()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/SlackHandlerTest.php:56
> 
> 65) Monolog\Handler\SlackHandlerTest::testWriteContent
> Error: Call to undefined method Monolog\Handler\SlackHandlerTest::assertRegExp()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/SlackHandlerTest.php:66
> 
> 66) Monolog\Handler\SlackHandlerTest::testWriteContentUsesFormatterIfProvided
> Error: Call to undefined method Monolog\Handler\SlackHandlerTest::assertRegexp()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/SlackHandlerTest.php:85
> 
> 67) Monolog\Handler\SlackHandlerTest::testWriteContentWithEmoji
> Error: Call to undefined method Monolog\Handler\SlackHandlerTest::assertRegexp()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/SlackHandlerTest.php:96
> 
> 68) Monolog\Handler\SlackHandlerTest::testWriteContentWithColors with data set #0
> Error: Call to undefined method Monolog\Handler\SlackHandlerTest::assertRegexp()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/SlackHandlerTest.php:109
> 
> 69) Monolog\Handler\SlackHandlerTest::testWriteContentWithColors with data set #1
> Error: Call to undefined method Monolog\Handler\SlackHandlerTest::assertRegexp()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/SlackHandlerTest.php:109
> 
> 70) Monolog\Handler\SlackHandlerTest::testWriteContentWithColors with data set #2
> Error: Call to undefined method Monolog\Handler\SlackHandlerTest::assertRegexp()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/SlackHandlerTest.php:109
> 
> 71) Monolog\Handler\SlackHandlerTest::testWriteContentWithColors with data set #3
> Error: Call to undefined method Monolog\Handler\SlackHandlerTest::assertRegexp()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/SlackHandlerTest.php:109
> 
> 72) Monolog\Handler\SlackHandlerTest::testWriteContentWithColors with data set #4
> Error: Call to undefined method Monolog\Handler\SlackHandlerTest::assertRegexp()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/SlackHandlerTest.php:109
> 
> 73) Monolog\Handler\SlackHandlerTest::testWriteContentWithColors with data set #5
> Error: Call to undefined method Monolog\Handler\SlackHandlerTest::assertRegexp()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/SlackHandlerTest.php:109
> 
> 74) Monolog\Handler\SlackHandlerTest::testWriteContentWithColors with data set #6
> Error: Call to undefined method Monolog\Handler\SlackHandlerTest::assertRegexp()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/SlackHandlerTest.php:109
> 
> 75) Monolog\Handler\SlackHandlerTest::testWriteContentWithColors with data set #7
> Error: Call to undefined method Monolog\Handler\SlackHandlerTest::assertRegexp()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/SlackHandlerTest.php:109
> 
> 76) Monolog\Handler\SlackHandlerTest::testWriteContentWithPlainTextMessage
> Error: Call to undefined method Monolog\Handler\SlackHandlerTest::assertRegexp()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/SlackHandlerTest.php:119
> 
> 77) Monolog\Handler\SyslogUdpHandlerTest::testWeSplitIntoLines
> Error: Call to undefined method Monolog\Handler\SyslogUdpHandlerTest::at()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/SyslogUdpHandlerTest.php:41
> 
> 78) Monolog\Handler\SyslogUdpHandlerTest::testRfc
> Error: Call to undefined method Monolog\Handler\SyslogUdpHandlerTest::at()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/SyslogUdpHandlerTest.php:87
> 
> 79) Monolog\Handler\UdpSocketTest::testWeDoNotTruncateShortMessages
> Error: Call to undefined method Monolog\Handler\UdpSocketTest::at()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/UdpSocketTest.php:29
> 
> 80) Monolog\LoggerTest::testLog
> Error: Call to undefined method Monolog\LoggerTest::prophesize()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/LoggerTest.php:148
> 
> 81) Monolog\LoggerTest::testLogNotHandled
> Error: Call to undefined method Monolog\LoggerTest::prophesize()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/LoggerTest.php:164
> 
> 82) Monolog\Processor\MemoryPeakUsageProcessorTest::testProcessor
> Error: Call to undefined method Monolog\Processor\MemoryPeakUsageProcessorTest::assertRegExp()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Processor/MemoryPeakUsageProcessorTest.php:27
> 
> 83) Monolog\Processor\MemoryUsageProcessorTest::testProcessor
> Error: Call to undefined method Monolog\Processor\MemoryUsageProcessorTest::assertRegExp()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Processor/MemoryUsageProcessorTest.php:27
> 
> 84) Monolog\PsrLogCompatTest::testObjectCastToString
> Error: Call to undefined method PHPUnit\Framework\MockObject\MockBuilder::setMethods()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/PsrLogCompatTest.php:170
> /<<PKGBUILDDIR>>/tests/Monolog/PsrLogCompatTest.php:115
> 
> 85) Monolog\PsrLogCompatTest::testContextCanContainAnything
> Error: Call to undefined method PHPUnit\Framework\MockObject\MockBuilder::setMethods()
> 
> /<<PKGBUILDDIR>>/tests/Monolog/PsrLogCompatTest.php:170
> /<<PKGBUILDDIR>>/tests/Monolog/PsrLogCompatTest.php:136
> 
> --
> 
> There were 7 failures:
> 
> 1) Monolog\Formatter\LineFormatterTest::testDefFormatWithExceptionAndStacktraceParserFull
> Failed asserting that '\n
> #0 /usr/share/php/PHPUnit/Framework/TestCase.php(1065): Monolog\\Formatter\\LineFormatterTest->testDefFormatWithExceptionAndStacktraceParserFull()\n
> #1 /usr/share/php/PHPUnit/Framework/TestCase.php(632): PHPUnit\\Framework\\TestCase->runTest()\n
> #2 /usr/share/php/PHPUnit/Framework/TestRunner.php(101): PHPUnit\\Framework\\TestCase->runBare()\n
> #3 /usr/share/php/PHPUnit/Framework/TestCase.php(468): PHPUnit\\Framework\\TestRunner->run()\n
> #4 /usr/share/php/PHPUnit/Framework/TestSuite.php(340): PHPUnit\\Framework\\TestCase->run()\n
> #5 /usr/share/php/PHPUnit/Framework/TestSuite.php(340): PHPUnit\\Framework\\TestSuite->run()\n
> #6 /usr/share/php/PHPUnit/Framework/TestSuite.php(340): PHPUnit\\Framework\\TestSuite->run()\n
> #7 /usr/share/php/PHPUnit/TextUI/TestRunner.php(63): PHPUnit\\Framework\\TestSuite->run()\n
> #8 /usr/share/php/PHPUnit/TextUI/Application.php(168): PHPUnit\\TextUI\\TestRunner->run()\n
> #9 /usr/bin/phpunit(74): PHPUnit\\TextUI\\Application->run()\n
> #10 {main}\n
> "} []\n
> ' contains "TestResult.php".
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Formatter/LineFormatterTest.php:185
> 
> 2) Monolog\Formatter\LineFormatterTest::testDefFormatWithExceptionAndStacktraceParserCustom
> Failed asserting that '\n
> #2 /usr/share/php/PHPUnit/Framework/TestRunner.php(101): PHPUnit\\Framework\\TestCase->runBare()\n
> #4 /usr/share/php/PHPUnit/Framework/TestSuite.php(340): PHPUnit\\Framework\\TestCase->run()\n
> #5 /usr/share/php/PHPUnit/Framework/TestSuite.php(340): PHPUnit\\Framework\\TestSuite->run()\n
> #6 /usr/share/php/PHPUnit/Framework/TestSuite.php(340): PHPUnit\\Framework\\TestSuite->run()\n
> #7 /usr/share/php/PHPUnit/TextUI/TestRunner.php(63): PHPUnit\\Framework\\TestSuite->run()\n
> #8 /usr/share/php/PHPUnit/TextUI/Application.php(168): PHPUnit\\TextUI\\TestRunner->run()\n
> #9 /usr/bin/phpunit(74): PHPUnit\\TextUI\\Application->run()\n
> #10 {main}\n
> "} []\n
> ' contains "TestResult.php".
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Formatter/LineFormatterTest.php:209
> 
> 3) Monolog\Handler\RotatingFileHandlerTest::testRotationWithFolderByDate with data set "Rotation is not triggered when the file of the current day is already present"
> Failed asserting that true matches expected false.
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:204
> 
> 4) Monolog\Handler\RotatingFileHandlerTest::testRotationWithFolderByDate with data set "Rotation is not triggered when the file of the current month is already present"
> Failed asserting that true matches expected false.
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:204
> 
> 5) Monolog\Handler\RotatingFileHandlerTest::testRotationWithFolderByDate with data set "Rotation is not triggered when the file of the current year is already present"
> Failed asserting that true matches expected false.
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:204
> 
> 6) Monolog\Handler\StreamHandlerTest::testWriteNonExistingAndNotCreatablePath with data set "/foo/bar/…"
> Failed asserting that exception of type "UnexpectedValueException" is thrown.
> 
> 7) Monolog\Handler\StreamHandlerTest::testWriteNonExistingAndNotCreatablePath with data set "file:///foo/bar/…"
> Failed asserting that exception of type "UnexpectedValueException" is thrown.
> 
> --
> 
> 41 tests triggered 41 PHPUnit deprecations:
> 
> 1) Monolog\ErrorHandlerTest::testFatalHandler
> Data Provider method Monolog\ErrorHandlerTest::fatalHandlerProvider() is not static
> 
> /<<PKGBUILDDIR>>/tests/Monolog/ErrorHandlerTest.php:74
> 
> 2) Monolog\Formatter\MongoDBFormatterTest::testConstruct
> Data Provider method Monolog\Formatter\MongoDBFormatterTest::constructArgumentProvider() is not static
> 
> /<<PKGBUILDDIR>>/tests/Monolog/Formatter/MongoDBFormatterTest.php:47


The full build logs and additional context is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit10/0/php-monolog/

A phpunit reverse-dependencies rebuild status is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit10/index.html

-- 
Athos Ribeiro



More information about the pkg-php-pear mailing list