From b9aa58a9900d7fefecb14ad8b7ca943f42c63824 Mon Sep 17 00:00:00 2001 From: Ben Mewburn Date: Mon, 3 Nov 2025 10:24:06 +1100 Subject: [PATCH 1/2] add litespeed functions --- litespeed/litespeed.php | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 litespeed/litespeed.php diff --git a/litespeed/litespeed.php b/litespeed/litespeed.php new file mode 100644 index 000000000..e5c59da31 --- /dev/null +++ b/litespeed/litespeed.php @@ -0,0 +1,7 @@ + Date: Mon, 3 Nov 2025 11:11:12 +1100 Subject: [PATCH 2/2] generate stub map, add to stub dir map --- PhpStormStubsMap.php | 3 +++ tests/TestData/Providers/Stubs/PhpCoreStubsProvider.php | 1 + 2 files changed, 4 insertions(+) diff --git a/PhpStormStubsMap.php b/PhpStormStubsMap.php index adf8e6b24..8b76759f0 100644 --- a/PhpStormStubsMap.php +++ b/PhpStormStubsMap.php @@ -3790,6 +3790,9 @@ final class PhpStormStubsMap 'libxml_use_internal_errors' => 'libxml/libxml.php', 'link' => 'standard/standard_2.php', 'linkinfo' => 'standard/standard_2.php', + 'litespeed_finish_request' => 'litespeed/litespeed.php', + 'litespeed_request_headers' => 'litespeed/litespeed.php', + 'litespeed_response_headers' => 'litespeed/litespeed.php', 'locale_accept_from_http' => 'intl/intl.php', 'locale_add_likely_subtags' => 'intl/intl.php', 'locale_canonicalize' => 'intl/intl.php', diff --git a/tests/TestData/Providers/Stubs/PhpCoreStubsProvider.php b/tests/TestData/Providers/Stubs/PhpCoreStubsProvider.php index 08591829d..b845c1218 100644 --- a/tests/TestData/Providers/Stubs/PhpCoreStubsProvider.php +++ b/tests/TestData/Providers/Stubs/PhpCoreStubsProvider.php @@ -40,6 +40,7 @@ class PhpCoreStubsProvider 'iconv', 'intl', 'json', + 'litespeed', 'mbstring', 'pcntl', 'PDO',