Skip to content

Commit 5f61620

Browse files
Fix ECS issues in probe fixtures
1 parent fae0c4d commit 5f61620

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

tests/Fixtures/TestProbeBackToBackWorkflow.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
namespace Tests\Fixtures;
66

77
use Throwable;
8-
use Workflow\Workflow;
98
use function Workflow\activity;
9+
use Workflow\Workflow;
1010

1111
final class TestProbeBackToBackWorkflow extends Workflow
1212
{

tests/Fixtures/TestProbeChildFailureParentWorkflow.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
namespace Tests\Fixtures;
66

77
use Throwable;
8-
use Workflow\Workflow;
98
use function Workflow\activity;
109
use function Workflow\all;
1110
use function Workflow\child;
11+
use Workflow\Workflow;
1212

1313
final class TestProbeChildFailureParentWorkflow extends Workflow
1414
{
@@ -17,7 +17,7 @@ public function execute()
1717
try {
1818
yield activity(TestProbeChildFailureParentStepActivity::class);
1919

20-
$this->addCompensation(fn () => activity(TestProbeChildFailureCompensationActivity::class));
20+
$this->addCompensation(static fn () => activity(TestProbeChildFailureCompensationActivity::class));
2121

2222
yield all([
2323
child(TestProbeChildFailureWorkflow::class, 'child-1'),

tests/Fixtures/TestProbeParallelChildWorkflow.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
namespace Tests\Fixtures;
66

77
use Throwable;
8-
use Workflow\Workflow;
98
use function Workflow\all;
109
use function Workflow\child;
10+
use Workflow\Workflow;
1111

1212
final class TestProbeParallelChildWorkflow extends Workflow
1313
{

tests/Fixtures/TestProbeRetryWorkflow.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
namespace Tests\Fixtures;
66

77
use Throwable;
8-
use Workflow\SignalMethod;
9-
use Workflow\Workflow;
108
use function Workflow\activity;
119
use function Workflow\await;
10+
use Workflow\SignalMethod;
11+
use Workflow\Workflow;
1212

1313
final class TestProbeRetryWorkflow extends Workflow
1414
{

0 commit comments

Comments
 (0)