From 2f55fd9c0266edbeff1a99417ecf83ea3faf0b9a Mon Sep 17 00:00:00 2001 From: Jessie Siat Date: Tue, 9 Jul 2019 18:43:19 +0800 Subject: [PATCH 1/4] fire method depreciated use dispatch instead --- src/Baum/Move.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Baum/Move.php b/src/Baum/Move.php index 8abed059..5bd0f35f 100644 --- a/src/Baum/Move.php +++ b/src/Baum/Move.php @@ -352,7 +352,7 @@ protected function fireMoveEvent($event, $halt = true) { // but we relay the event into the node instance. $event = "eloquent.{$event}: ".get_class($this->node); - $method = $halt ? 'until' : 'fire'; + $method = $halt ? 'until' : 'dispatch'; return static::$dispatcher->$method($event, $this->node); } From fa9e91a30307c5d7bea2b86012a4301ddda1a2fe Mon Sep 17 00:00:00 2001 From: jessie Date: Mon, 8 Jun 2020 14:39:45 +0800 Subject: [PATCH 2/4] support laravel 6 --- composer.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index 49505a5b..608ea057 100644 --- a/composer.json +++ b/composer.json @@ -13,15 +13,15 @@ ], "require": { "php": ">=5.4.0", - "illuminate/console": "5.*", - "illuminate/database": "5.*", - "illuminate/events": "5.*", - "illuminate/filesystem": "5.*", - "illuminate/support": "5.*" + "illuminate/console": "6.*", + "illuminate/database": "6.*", + "illuminate/events": "6.*", + "illuminate/filesystem": "6.*", + "illuminate/support": "6.*" }, "require-dev": { - "phpunit/phpunit": "~4.0", - "mockery/mockery": "~0.9", + "phpunit/phpunit": "^8.5", + "mockery/mockery": "^1.3.1", "d11wtq/boris": "~1.0.10" }, "autoload": { From b60c90a3c0b57053bc87e1e3b7dbac2b33ba9dad Mon Sep 17 00:00:00 2001 From: jessie Date: Mon, 8 Jun 2020 14:40:36 +0800 Subject: [PATCH 3/4] support laravel 6.x --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 608ea057..44930230 100644 --- a/composer.json +++ b/composer.json @@ -20,8 +20,8 @@ "illuminate/support": "6.*" }, "require-dev": { - "phpunit/phpunit": "^8.5", - "mockery/mockery": "^1.3.1", + "phpunit/phpunit": "^8.0", + "mockery/mockery": "^1.0", "d11wtq/boris": "~1.0.10" }, "autoload": { From cec26605049e5e5ee9ded7a864b979e0dd410b21 Mon Sep 17 00:00:00 2001 From: Jessie Siat Date: Fri, 29 Jan 2021 11:33:57 +0800 Subject: [PATCH 4/4] bump-laravel8 --- composer.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 44930230..84654d7b 100644 --- a/composer.json +++ b/composer.json @@ -13,11 +13,11 @@ ], "require": { "php": ">=5.4.0", - "illuminate/console": "6.*", - "illuminate/database": "6.*", - "illuminate/events": "6.*", - "illuminate/filesystem": "6.*", - "illuminate/support": "6.*" + "illuminate/console": "8.*", + "illuminate/database": "8.*", + "illuminate/events": "8.*", + "illuminate/filesystem": "8.*", + "illuminate/support": "8.*" }, "require-dev": { "phpunit/phpunit": "^8.0",