laminas / laminas-log

Robust, composite logger with filtering, formatting, and PSR-3 support
https://docs.laminas.dev/laminas-log/
BSD 3-Clause "New" or "Revised" License
26 stars 30 forks source link

Test failure since laminas/escaper 2.8 #20

Closed remicollet closed 3 years ago

remicollet commented 3 years ago

From Fedora CI https://koschei.fedoraproject.org/package/php-laminas-log

Since laminas/escaper 2.8

1) LaminasTest\Log\Formatter\XmlTest::testFormatWillAcceptNestedArrayFromExtraEvent
TypeError: Argument 1 passed to Laminas\Escaper\Escaper::escapeHtml() must be of the type string, null given, called in /dev/shm/BUILDROOT/php-laminas-log-2.13.1-1.fc33.remi.x86_64/usr/share/php/Laminas/Log/Formatter/Xml.php on line 236

/usr/share/php/Laminas/Escaper/Escaper.php:180
/dev/shm/BUILDROOT/php-laminas-log-2.13.1-1.fc33.remi.x86_64/usr/share/php/Laminas/Log/Formatter/Xml.php:236
/dev/shm/BUILDROOT/php-laminas-log-2.13.1-1.fc33.remi.x86_64/usr/share/php/Laminas/Log/Formatter/Xml.php:192
/dev/shm/BUILD/laminas-log-6ac20830d4f324b4662fc454fcc1954436bfced3/test/Formatter/XmlTest.php:262

2) LaminasTest\Log\Formatter\XmlTest::testFormatWillEscapeAmpersand
TypeError: Argument 1 passed to Laminas\Escaper\Escaper::escapeHtml() must be of the type string, null given, called in /dev/shm/BUILDROOT/php-laminas-log-2.13.1-1.fc33.remi.x86_64/usr/share/php/Laminas/Log/Formatter/Xml.php on line 236

/usr/share/php/Laminas/Escaper/Escaper.php:180
/dev/shm/BUILDROOT/php-laminas-log-2.13.1-1.fc33.remi.x86_64/usr/share/php/Laminas/Log/Formatter/Xml.php:236
/dev/shm/BUILDROOT/php-laminas-log-2.13.1-1.fc33.remi.x86_64/usr/share/php/Laminas/Log/Formatter/Xml.php:192
/dev/shm/BUILD/laminas-log-6ac20830d4f324b4662fc454fcc1954436bfced3/test/Formatter/XmlTest.php:304
laminas-bot commented 3 years ago

This package is considered feature-complete, and is now in security-only maintenance mode, following a decision by the Technical Steering Committee. If you have a security issue, please follow our security reporting guidelines. If you wish to take on the role of maintainer, please nominate yourself

If you are looking for an actively maintained package alternative, we recommend: