8.x
syntax error, unexpected 'protected' (T_PROTECTED), expecting variable (T_VARIABLE)
public function __construct(protected NodeInterface $node, protected NodeInterface $originalNode) {}