Skip to content

Commit 567923b

Browse files
committed
N°7176 - Update nikic/php-parser to 5.0.0
1 parent 17a7ae7 commit 567923b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/iTopConfigParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class iTopConfigParser
3737
*/
3838
public function __construct($sConfig)
3939
{
40-
$oParser = (new ParserFactory())->createForHostVersion();
40+
$oParser = (new ParserFactory())->createForNewestSupportedVersion();
4141

4242
$this->aVarsMap = array(
4343
'MySettings' => array(),

datamodels/2.x/itop-config/src/Validator/iTopConfigAstValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class iTopConfigAstValidator
2323
*/
2424
public function Validate($sConfig)
2525
{
26-
$oParser = (new ParserFactory())->createForHostVersion();
26+
$oParser = (new ParserFactory())->createForNewestSupportedVersion();
2727

2828
$oNodeVisitor = new ConfigNodesVisitor();
2929

0 commit comments

Comments
 (0)