[Composer] Change gofabian/negotiation-middleware dependency requirement to support PHP 8.2 #96

Merged
tobias merged 4 commits from MrPetovan/friendica-directory:bug/php-8 into stable 2023-08-09 07:01:21 +02:00
Showing only changes of commit bf85c8f986 - Show all commits

View file

@ -290,6 +290,9 @@ class Server
} else {
$this->logger->info('SSL-verified URL probe failed with error code: ' . $e->getCode());
}
} catch (\InvalidArgumentException $e) {
$this->logger->error('Invalid argument provided to HTTP client', ['base_url' => $base_url, 'exception' => $e]);
return ['data' => false, 'time' => 0, 'curl_info' => [], 'ssl_state' => null];
}
$probe_end = microtime(true);