Swoole 4.5.0 is available! One thing that is not mentioned in the notes there is that the \Swoole\Server::getInstance() got removed as it was considered that not every code/library should have access to the Server instance. Instead now only the worker ID is available through \Swoole\Server::getWorkerId(). There is a bug though and this method can not be called statically (and in dynamic context there is the $server->worker_id).
A new docker image is available: kenashkov/php:7.4.5-swoole-4.5.0