mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 09:38:23 +01:00
Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
@@ -193,7 +193,7 @@ class CodingSqlTest extends PHPUnit\Framework\TestCase
|
||||
|
||||
$result=strpos($filecontent, '"');
|
||||
if ($result) {
|
||||
$result=(! strpos($filecontent, '["') && ! strpos($filecontent, '{"'));
|
||||
$result=(! strpos($filecontent, '["') && ! strpos($filecontent, '{"') && ! strpos($filecontent, '("'));
|
||||
}
|
||||
//print __METHOD__." Result for checking we don't have double quote = ".$result."\n";
|
||||
$this->assertTrue($result===false, 'Found double quote that is not [" neither {" (used for json content) into '.$file.'. Bad.');
|
||||
|
||||
Reference in New Issue
Block a user