progpilot
progpilot copied to clipboard
Unknown Node Encountered : Stmt_GroupUse
progpilot fails to run, when use statements are in use
Hello, this is related to an issue (https://github.com/ircmaxell/php-cfg/issues/58) in the ircmaxell/php-cfg dependency. You can comment this issue to alert the maintainer?
On the progpilot side if you surround the analysis with try/catch,
the analysis will not fail when encountering an unknown node:
try {
$analyzer->run($context);
} catch (Exception $e) {
echo 'Exception : ', $e->getMessage(), "\n";
}
Done in v1.0.0