parallel
parallel copied to clipboard
Cannot declare class Amp\Parallel\Sync\SerializationException, because the name is already in use
Hi!
Warning: Cannot declare class Amp\Parallel\Sync\SerializationException, because the name is already in use in /var/www/nova/vendor/amphp/parallel/lib/Sync/functions.php on line 8
May be need add check before class_alias call.
I am getting this error too.
I am seeing this error when I enable opcache preloading in my project. Opened a PR that should fix this with more info.
Closed via https://github.com/amphp/parallel/commit/75853e1623efa5aa5e65e986ec9a97db573a5267