N°3867 Fix "Invalid configuration: Stmt_Expression is forbidden in line 10" error when saving valid config in configuration editor

Now this is tested in \ConfigValidator\iTopConfigAstValidatorTest
This commit is contained in:
Pierre Goiffon
2021-08-11 16:02:30 +02:00
parent 92add2bbfe
commit 2d98ca2318
5 changed files with 846 additions and 0 deletions

View File

@@ -44,6 +44,7 @@ class ConfigNodesVisitor extends NodeVisitorAbstract
Node\Expr\PreDec::class,
Node\Expr\PreInc::class,
Node\Expr\Print_::class,
Node\Stmt\Expression::class,
Node\Expr\Ternary::class,
Node\Expr\UnaryMinus::class,
Node\Expr\UnaryPlus::class,