Deprecate support for openswoole

This commit is contained in:
Alejandro Celaya
2023-06-03 09:08:07 +02:00
parent 6351d0b87d
commit a11be5b2ff
10 changed files with 14 additions and 7 deletions

View File

@@ -13,6 +13,7 @@ chdir(dirname(__DIR__));
require 'vendor/autoload.php';
// Workaround to make this compatible with both openswoole 22 and earlier versions.
// Openswoole support is deprecated. Remove in v4.0.0
if (! function_exists('swoole_set_process_name')) {
// phpcs:disable
function swoole_set_process_name(string $name): void