From 7ff30761e14d79d81159682968b80c3f90b9b6da Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 10 Jan 2022 15:52:45 +0100 Subject: [PATCH] Fix for php8 --- test/phpunit/CodingPhpTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/phpunit/CodingPhpTest.php b/test/phpunit/CodingPhpTest.php index b173779538bf2..d24a661a79509 100644 --- a/test/phpunit/CodingPhpTest.php +++ b/test/phpunit/CodingPhpTest.php @@ -432,7 +432,7 @@ public function testPHP() break; } } - $this->assertTrue($ok, 'Found a $_SERVER[\'QUERY_STRING\'] without dol_escape_htmltag neither dol_string_nohtmltag around it, in file '.$file['relativename'].' ('.$val[1].'$_SERVER[\'QUERY_STRING\']). Bad.'); + $this->assertTrue($ok, 'Found a $_SERVER[\'QUERY_STRING\'] without dol_escape_htmltag neither dol_string_nohtmltag around it, in file '.$file['relativename'].'. Bad.'); // Test that first param of print_liste_field_titre is a translation key and not the translated value