markusstaab, German I am working on improving typing in nikic/PHP-Parser so static analysis tooling can assist you better when working directly with the AST.
Also fixing CI while at it.
I started this because we ran into a edge-case fatal error in #PHPStan.