stable

Clone or download

Read-only

Fix ReferenceManager unit tests when PHP 8.1 is used

A unit test was failing due to a behavior change of `\mb_detect_encoding()` [0]. The test was testing a force encoding conversion but this does not seem to be really needed anymore. Part of request #22659: Run Tuleap with PHP 8.1 [0] https://github.com/php/php-src/issues/8279#issuecomment-1083613035 Change-Id: I9021994a0cfe8662602379dc45b281e2435c6248

Modified Files

Name
M src/common/Reference/ReferenceManager.php +1 −31 Go to diff View file
M tests/unit/common/Reference/ReferenceManagerTest.php +5 −10 Go to diff View file