Browse Source

Fix for php8

Laurent Destailleur 3 years ago
parent
commit
7ff30761e1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/phpunit/CodingPhpTest.php

+ 1 - 1
test/phpunit/CodingPhpTest.php

@@ -432,7 +432,7 @@ class CodingPhpTest extends PHPUnit\Framework\TestCase
 					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