upgraded dependencies

This commit is contained in:
RafficMohammed
2023-01-08 01:59:16 +05:30
parent 51056e3aad
commit f9ae387337
6895 changed files with 133617 additions and 178680 deletions

View File

@@ -23,6 +23,10 @@ class Connection
{
private $host;
private $contextProviders;
/**
* @var resource|null
*/
private $socket;
/**

View File

@@ -25,9 +25,13 @@ use Symfony\Component\VarDumper\Cloner\Stub;
class DumpServer
{
private $host;
private $socket;
private $logger;
/**
* @var resource|null
*/
private $socket;
public function __construct(string $host, LoggerInterface $logger = null)
{
if (!str_contains($host, '://')) {
@@ -52,6 +56,10 @@ class DumpServer
}
foreach ($this->getMessages() as $clientId => $message) {
if ($this->logger) {
$this->logger->info('Received a payload from client {clientId}', ['clientId' => $clientId]);
}
$payload = @unserialize(base64_decode($message), ['allowed_classes' => [Data::class, Stub::class]]);
// Impossible to decode the message, give up.