Branch: refs/heads/master Home: https://github.com/phpmyadmin/phpmyadmin Commit: e4bd8b51aa5c0fbb54da7c82847784d278e06c4b https://github.com/phpmyadmin/phpmyadmin/commit/e4bd8b51aa5c0fbb54da7c828477... Author: William Desportes williamdes@wdes.fr Date: 2020-11-19 (Thu, 11 November 2020) +01:00
Changed paths: M libraries/classes/Setup/ConfigGenerator.php M libraries/classes/Table.php
Log Message: ----------- Fix #16429 - PHP 8 errors on preg_replace
49) PhpMyAdmin\Tests\Setup\ConfigGeneratorTest::testGetConfigFile TypeError: preg_replace(): Argument #3 ($subject) must be of type array|string, int given
libraries/classes/Setup/ConfigGenerator.php:183 libraries/classes/Setup/ConfigGenerator.php:53 test/classes/Setup/ConfigGeneratorTest.php:55 vendor/phpunit/phpunit/phpunit:61
50) PhpMyAdmin\Tests\TableTest::testGenerateFieldSpec TypeError: preg_replace(): Argument #3 ($subject) must be of type array|string, int given
libraries/classes/Table.php:596 test/classes/TableTest.php:491 vendor/phpunit/phpunit/phpunit:61
Signed-off-by: William Desportes williamdes@wdes.fr