mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-25 19:48:49 +02:00
⬆️ Upgrade lib : nikic/php-parser
We were on v3 that is no longer maintained and compatibility is annonced for PHP 7.2. v4 is active and supports PHP up to 8.0 No problem to update as this is only used in the config editor (\Combodo\iTop\Config\Validator\iTopConfigAstValidator)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
namespace PhpParser;
|
||||
|
||||
@@ -32,7 +32,7 @@ interface NodeVisitor
|
||||
*
|
||||
* @param Node $node Node
|
||||
*
|
||||
* @return null|int|Node Node
|
||||
* @return null|int|Node Replacement node (or special return value)
|
||||
*/
|
||||
public function enterNode(Node $node);
|
||||
|
||||
@@ -53,7 +53,7 @@ interface NodeVisitor
|
||||
*
|
||||
* @param Node $node Node
|
||||
*
|
||||
* @return null|false|int|Node|Node[] Node
|
||||
* @return null|int|Node|Node[] Replacement node (or special return value)
|
||||
*/
|
||||
public function leaveNode(Node $node);
|
||||
|
||||
@@ -69,4 +69,4 @@ interface NodeVisitor
|
||||
* @return null|Node[] Array of nodes
|
||||
*/
|
||||
public function afterTraverse(array $nodes);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user