From fcece3bbcbdb4c266cf775bcc56583e7f3875458 Mon Sep 17 00:00:00 2001 From: catch <6915-catch@users.noreply.drupalcode.org> Date: Thu, 24 Oct 2024 17:45:24 +0100 Subject: [PATCH] Issue #3425114 by kingdutch, godotislate, mxr576, catch, larowlan: Add revolt/event-loop dependency to core --- composer.json | 3 +- composer.lock | 77 ++++++++++++++++++- .../Metapackage/CoreRecommended/composer.json | 1 + core/composer.json | 1 + 4 files changed, 79 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index d4d4b3468b45..08905c6d8d19 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,8 @@ "composer/installers": "^2.3", "drupal/core": "self.version", "drupal/core-project-message": "self.version", - "drupal/core-vendor-hardening": "self.version" + "drupal/core-vendor-hardening": "self.version", + "revolt/event-loop": "^1.0" }, "require-dev": { "behat/mink": "^1.11", diff --git a/composer.lock b/composer.lock index 67a0723e42bf..f70100d7dcda 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "78fd9a29eb1b32ffb5e39b80a8cb2f7d", + "content-hash": "a342ef49ee82a7e2493b2e1fcbd9a596", "packages": [ { "name": "asm89/stack-cors", @@ -496,7 +496,7 @@ "dist": { "type": "path", "url": "core", - "reference": "946773df28ad729a17c4002a6b5740a746b6deb5" + "reference": "278aa6e72e52943d0bfa149af42fd1dcc0c9a31f" }, "require": { "asm89/stack-cors": "^2.1", @@ -526,6 +526,7 @@ "pear/archive_tar": "^1.4.14", "php": ">=8.3.0", "psr/log": "^3.0", + "revolt/event-loop": "^1.0", "sebastian/diff": "^4|^5", "symfony/console": "^7.1", "symfony/dependency-injection": "^7.1", @@ -1862,6 +1863,78 @@ }, "time": "2019-03-08T08:55:37+00:00" }, + { + "name": "revolt/event-loop", + "version": "v1.0.6", + "source": { + "type": "git", + "url": "https://github.com/revoltphp/event-loop.git", + "reference": "25de49af7223ba039f64da4ae9a28ec2d10d0254" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/revoltphp/event-loop/zipball/25de49af7223ba039f64da4ae9a28ec2d10d0254", + "reference": "25de49af7223ba039f64da4ae9a28ec2d10d0254", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "ext-json": "*", + "jetbrains/phpstorm-stubs": "^2019.3", + "phpunit/phpunit": "^9", + "psalm/phar": "^5.15" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Revolt\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" + }, + { + "name": "Cees-Jan Kiewiet", + "email": "ceesjank@gmail.com" + }, + { + "name": "Christian Lück", + "email": "christian@clue.engineering" + }, + { + "name": "Niklas Keller", + "email": "me@kelunik.com" + } + ], + "description": "Rock-solid event loop for concurrent PHP applications.", + "keywords": [ + "async", + "asynchronous", + "concurrency", + "event", + "event-loop", + "non-blocking", + "scheduler" + ], + "support": { + "issues": "https://github.com/revoltphp/event-loop/issues", + "source": "https://github.com/revoltphp/event-loop/tree/v1.0.6" + }, + "time": "2023-11-30T05:34:44+00:00" + }, { "name": "sebastian/diff", "version": "5.1.1", diff --git a/composer/Metapackage/CoreRecommended/composer.json b/composer/Metapackage/CoreRecommended/composer.json index 2fc5519b0c5c..8fc8e8d20fd2 100644 --- a/composer/Metapackage/CoreRecommended/composer.json +++ b/composer/Metapackage/CoreRecommended/composer.json @@ -30,6 +30,7 @@ "psr/http-factory": "~1.1.0", "psr/log": "~3.0.2", "ralouphie/getallheaders": "~3.0.3", + "revolt/event-loop": "~v1.0.6", "sebastian/diff": "~5.1.1", "symfony/console": "~v7.1.5", "symfony/dependency-injection": "~v7.1.3", diff --git a/core/composer.json b/core/composer.json index 35eb5464ecd9..cabc5b34a7a9 100644 --- a/core/composer.json +++ b/core/composer.json @@ -34,6 +34,7 @@ "symfony/process": "^7.1", "symfony/polyfill-iconv": "^1.26", "symfony/yaml": "^7.1", + "revolt/event-loop": "^1.0", "twig/twig": "^3.14.0", "doctrine/annotations": "^2.0", "doctrine/lexer": "^2.0", -- GitLab