N°4789 - Parse datamodel module.xxx.php files instead of interpreting them (#746) - namespacing ModuleFileReader classes

This commit is contained in:
odain
2025-09-16 15:38:30 +02:00
parent fae2bcc6e9
commit c0c9ea9287
13 changed files with 63 additions and 29 deletions

View File

@@ -162,7 +162,7 @@ class PhpExpressionEvaluatorTest extends ItopDataTestCase {
global $oEvaluationFakeClass;
$oEvaluationFakeClass = new EvaluationFakeClass();
$this->expectException(\ModuleFileReaderException::class);
$this->expectException(ModuleFileReaderException::class);
$oPhpExpressionEvaluator = new PhpExpressionEvaluator();
$oPhpExpressionEvaluator->ParseAndEvaluateExpression($sExpression);
}
@@ -172,7 +172,7 @@ class PhpExpressionEvaluatorTest extends ItopDataTestCase {
* @param string $sBooleanExpr
*
* @return mixed
* @throws \ModuleFileReaderException
* @throws ModuleFileReaderException
*/
private function UnprotectedComputeExpression(string $sExpr) : mixed
{