From cea3c66f3d2e9a012bca01c327f412b98c2d4946 Mon Sep 17 00:00:00 2001 From: ARY112 <104157515+ARY112@users.noreply.github.com> Date: Mon, 30 May 2022 19:53:36 +0530 Subject: [PATCH 1/9] Update .travis.yml --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index c4169e4..fc24f20 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,6 +14,8 @@ php: - 7.2 - 7.3 - 7.4 + - 8.0 + - 8.1 - nightly env: @@ -22,7 +24,7 @@ env: matrix: allow_failures: - - php: 7.4 + - php: 8.1 - php: nightly before_script: From 6455fb01bc045070dec9f5cc968f17827dff2ced Mon Sep 17 00:00:00 2001 From: ARY112 <104157515+ARY112@users.noreply.github.com> Date: Mon, 30 May 2022 19:54:51 +0530 Subject: [PATCH 2/9] Update composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 55d7efa..c55f71f 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ } ], "require": { - "php": "^5.5 | ^7.0", + "php": "^5.5 | ^7.0 | ^8.0", "symfony/process": "^2.8 | ^3.2 | ^4.0", "graze/data-structure": "^2.0", "symfony/event-dispatcher": "^2.8 | ^3.2 | ^4.0", From 70a41a8f85c8527639012a5dd0611fc6aeffd125 Mon Sep 17 00:00:00 2001 From: ARY112 <104157515+ARY112@users.noreply.github.com> Date: Tue, 31 May 2022 10:32:25 +0530 Subject: [PATCH 3/9] Update composer.json --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index c55f71f..081e2e9 100644 --- a/composer.json +++ b/composer.json @@ -22,9 +22,9 @@ ], "require": { "php": "^5.5 | ^7.0 | ^8.0", - "symfony/process": "^2.8 | ^3.2 | ^4.0", + "symfony/process": "^2.8 | ^3.2 | ^4.0" | ^5.0", "graze/data-structure": "^2.0", - "symfony/event-dispatcher": "^2.8 | ^3.2 | ^4.0", + "symfony/event-dispatcher": "^2.8 | ^3.2 | ^4.0" | ^5.0", "psr/log": "^1.0" }, "require-dev": { From 1b159a491a2a3f153c1520176891809ce79da3e0 Mon Sep 17 00:00:00 2001 From: ARY112 <104157515+ARY112@users.noreply.github.com> Date: Tue, 31 May 2022 10:58:36 +0530 Subject: [PATCH 4/9] Update composer.json --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 081e2e9..c55f71f 100644 --- a/composer.json +++ b/composer.json @@ -22,9 +22,9 @@ ], "require": { "php": "^5.5 | ^7.0 | ^8.0", - "symfony/process": "^2.8 | ^3.2 | ^4.0" | ^5.0", + "symfony/process": "^2.8 | ^3.2 | ^4.0", "graze/data-structure": "^2.0", - "symfony/event-dispatcher": "^2.8 | ^3.2 | ^4.0" | ^5.0", + "symfony/event-dispatcher": "^2.8 | ^3.2 | ^4.0", "psr/log": "^1.0" }, "require-dev": { From 95fea4ff35694944fe64006229780897d8b1e1d8 Mon Sep 17 00:00:00 2001 From: ARY112 <104157515+ARY112@users.noreply.github.com> Date: Tue, 31 May 2022 11:03:16 +0530 Subject: [PATCH 5/9] Update composer.json --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index c55f71f..650fefd 100644 --- a/composer.json +++ b/composer.json @@ -22,9 +22,9 @@ ], "require": { "php": "^5.5 | ^7.0 | ^8.0", - "symfony/process": "^2.8 | ^3.2 | ^4.0", + "symfony/process": "^2.8 | ^3.2 | ^4.0 | ^5.0", "graze/data-structure": "^2.0", - "symfony/event-dispatcher": "^2.8 | ^3.2 | ^4.0", + "symfony/event-dispatcher": "^2.8 | ^3.2 | ^4.0 | ^5.0", "psr/log": "^1.0" }, "require-dev": { From e037db95f05d3ffd15830772cbdcca71bb630736 Mon Sep 17 00:00:00 2001 From: ARY112 <104157515+ARY112@users.noreply.github.com> Date: Tue, 31 May 2022 16:02:51 +0530 Subject: [PATCH 6/9] Update EventDispatcherTrait.php --- src/Event/EventDispatcherTrait.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Event/EventDispatcherTrait.php b/src/Event/EventDispatcherTrait.php index 358df99..9bf3946 100644 --- a/src/Event/EventDispatcherTrait.php +++ b/src/Event/EventDispatcherTrait.php @@ -13,9 +13,9 @@ namespace Graze\ParallelProcess\Event; -use Symfony\Component\EventDispatcher\Event; +use Symfony\Contracts\EventDispatcher\Event; use Symfony\Component\EventDispatcher\EventDispatcher; -use Symfony\Component\EventDispatcher\EventDispatcherInterface; +use Symfony\Contracts\EventDispatcher\EventDispatcherInterface; trait EventDispatcherTrait { @@ -60,7 +60,7 @@ public function addListener($name, callable $handler) protected function dispatch($name, Event $event) { $this->assertEventName($name); - $this->getEventDispatcher()->dispatch($name, $event); + $this->getEventDispatcher()->dispatch($event, $name); return $this; } From 23cafb061bc2b78ed104e4de0135c32510a29613 Mon Sep 17 00:00:00 2001 From: ARY112 <104157515+ARY112@users.noreply.github.com> Date: Tue, 31 May 2022 16:03:34 +0530 Subject: [PATCH 7/9] Update PriorityChangedEvent.php --- src/Event/PriorityChangedEvent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Event/PriorityChangedEvent.php b/src/Event/PriorityChangedEvent.php index b609c1e..adcaa6d 100644 --- a/src/Event/PriorityChangedEvent.php +++ b/src/Event/PriorityChangedEvent.php @@ -14,7 +14,7 @@ namespace Graze\ParallelProcess\Event; use Graze\ParallelProcess\PrioritisedInterface; -use Symfony\Component\EventDispatcher\Event; +use Symfony\Contracts\EventDispatcher\Event; class PriorityChangedEvent extends Event { From 6c1af141c104ecf741cb774757d4f6de1619915c Mon Sep 17 00:00:00 2001 From: ARY112 <104157515+ARY112@users.noreply.github.com> Date: Tue, 31 May 2022 16:03:58 +0530 Subject: [PATCH 8/9] Update RunEvent.php --- src/Event/RunEvent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Event/RunEvent.php b/src/Event/RunEvent.php index 397b3dd..c4f0c72 100644 --- a/src/Event/RunEvent.php +++ b/src/Event/RunEvent.php @@ -14,7 +14,7 @@ namespace Graze\ParallelProcess\Event; use Graze\ParallelProcess\RunInterface; -use Symfony\Component\EventDispatcher\Event; +use Symfony\Contracts\EventDispatcher\Event; class RunEvent extends Event { From 145704250e9984367a8a0ef8698ad0ff76ae2523 Mon Sep 17 00:00:00 2001 From: ARY112 <104157515+ARY112@users.noreply.github.com> Date: Wed, 1 Jun 2022 12:32:29 +0530 Subject: [PATCH 9/9] Update EventDispatcherTrait.php --- src/Event/EventDispatcherTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Event/EventDispatcherTrait.php b/src/Event/EventDispatcherTrait.php index 9bf3946..e8c7e4a 100644 --- a/src/Event/EventDispatcherTrait.php +++ b/src/Event/EventDispatcherTrait.php @@ -15,7 +15,7 @@ use Symfony\Contracts\EventDispatcher\Event; use Symfony\Component\EventDispatcher\EventDispatcher; -use Symfony\Contracts\EventDispatcher\EventDispatcherInterface; +use Symfony\Component\EventDispatcher\EventDispatcherInterface; trait EventDispatcherTrait {