From 82905f8c964137d0a0e5a8f8eca489ac21f116b5 Mon Sep 17 00:00:00 2001 From: Cody Robibero Date: Thu, 12 Feb 2026 17:01:00 -0700 Subject: [PATCH] Disable SSL validation for local testing for updated PHP versions --- src/glue/Service.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/glue/Service.php b/src/glue/Service.php index 96f8ce6..418fee5 100644 --- a/src/glue/Service.php +++ b/src/glue/Service.php @@ -92,6 +92,9 @@ private function useFileGetContents($method, $uri, ?string $content = null, ?arr ] ]; + if (strpos($this->baseUri, '.dev.') !== false) + $options['ssl'] = ['verify_peer' => false, 'verify_peer_name' => false]; + if ($content != null) $options['http']['header']['Content-Type'] = 'application/json';