2
0
forked from Wavyzz/dolibarr

Error message

This commit is contained in:
Laurent Destailleur
2021-10-04 19:03:14 +02:00
parent bad5d87f57
commit ee4276e0aa

View File

@@ -225,7 +225,7 @@ class CodingPhpTest extends PHPUnit\Framework\TestCase
break;
}
//print __METHOD__." Result for checking we don't have non escaped string in sql requests for file ".$file."\n";
$this->assertTrue($ok, 'Found string $db-> into a .class.php file in '.$file['relativename']);
$this->assertTrue($ok, 'Found string $db-> into a .class.php file in '.$file['relativename'].'. Inside a .class file, you should use $this->db-> instead.');
//exit;
}
} else {