Skip to content

Commit b3cf3b6

Browse files
authored
Merge pull request #606: maintenance
2 parents 8ede13d + f08ce1a commit b3cf3b6

File tree

7 files changed

+5
-282
lines changed

7 files changed

+5
-282
lines changed

composer.json

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"roadrunner-php/roadrunner-api-dto": "^1.10.0",
3535
"roadrunner-php/version-checker": "^1.0.1",
3636
"spiral/attributes": "^3.1.8",
37-
"spiral/roadrunner": "^2024.3.3",
37+
"spiral/roadrunner": "^2024.3.3 || ^2025.1.1",
3838
"spiral/roadrunner-cli": "^2.6",
3939
"spiral/roadrunner-kv": "^4.3",
4040
"spiral/roadrunner-worker": "^3.6.1",
@@ -56,13 +56,13 @@
5656
"composer/composer": "^2.8.4",
5757
"dereuromark/composer-prefer-lowest": "^0.1.10",
5858
"doctrine/annotations": "^1.14.4 || ^2.0.2",
59-
"internal/dload": "^1.0.2",
59+
"internal/dload": "^1.1.0",
6060
"jetbrains/phpstorm-attributes": "dev-master",
6161
"laminas/laminas-code": "^4.16",
62-
"phpunit/phpunit": "^10.5.41",
63-
"spiral/code-style": "~2.1.2",
62+
"phpunit/phpunit": "10.5.45",
63+
"spiral/code-style": "~2.2.2",
6464
"spiral/core": "^3.14.9",
65-
"ta-tikoma/phpunit-architecture-test": "^0.8.4",
65+
"ta-tikoma/phpunit-architecture-test": "^0.8.5",
6666
"vimeo/psalm": "^5.26.1 || ^6.2"
6767
},
6868
"autoload-dev": {
@@ -95,11 +95,6 @@
9595
"test:arch": "phpunit --testsuite=Arch --color=always --testdox",
9696
"test:accept": "phpunit --testsuite=Acceptance --color=always --testdox"
9797
},
98-
"extra": {
99-
"branch-alias": {
100-
"dev-master": "2.11.x-dev"
101-
}
102-
},
10398
"config": {
10499
"sort-packages": true
105100
},

src/Client/GRPC/ServiceClientInterface.php

Lines changed: 0 additions & 222 deletions
Large diffs are not rendered by default.

src/Client/WorkflowClient.php

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -101,17 +101,11 @@ public static function create(
101101
return new self($serviceClient, $options, $converter, $interceptorProvider);
102102
}
103103

104-
/**
105-
* @inheritDoc
106-
*/
107104
public function getServiceClient(): ServiceClientInterface
108105
{
109106
return $this->client;
110107
}
111108

112-
/**
113-
* @inheritDoc
114-
*/
115109
public function start($workflow, ...$args): WorkflowRunInterface
116110
{
117111
if ($workflow instanceof WorkflowProxy && !$workflow->hasHandler()) {
@@ -154,9 +148,6 @@ public function start($workflow, ...$args): WorkflowRunInterface
154148
);
155149
}
156150

157-
/**
158-
* @inheritDoc
159-
*/
160151
public function signalWithStart(
161152
$workflow,
162153
string $signal,
@@ -215,9 +206,6 @@ public function signalWithStart(
215206
);
216207
}
217208

218-
/**
219-
* @inheritDoc
220-
*/
221209
#[Deprecated(replacement: '%class%->signalWithStart(%parametersList%)')]
222210
public function startWithSignal(
223211
$workflow,
@@ -228,9 +216,6 @@ public function startWithSignal(
228216
return $this->signalWithStart($workflow, $signal, $signalArgs, $startArgs);
229217
}
230218

231-
/**
232-
* @inheritDoc
233-
*/
234219
public function updateWithStart(
235220
$workflow,
236221
string|UpdateOptions $update,
@@ -265,9 +250,6 @@ public function updateWithStart(
265250
: throw $output->handle;
266251
}
267252

268-
/**
269-
* @inheritDoc
270-
*/
271253
public function newWorkflowStub(
272254
string $class,
273255
?WorkflowOptions $options = null,
@@ -281,9 +263,6 @@ public function newWorkflowStub(
281263
);
282264
}
283265

284-
/**
285-
* @inheritDoc
286-
*/
287266
public function newUntypedWorkflowStub(
288267
string $workflowType,
289268
?WorkflowOptions $options = null,
@@ -300,9 +279,6 @@ public function newUntypedWorkflowStub(
300279
);
301280
}
302281

303-
/**
304-
* @inheritDoc
305-
*/
306282
public function newRunningWorkflowStub(string $class, string $workflowID, ?string $runID = null): object
307283
{
308284
$workflow = $this->reader->fromClass($class);
@@ -314,9 +290,6 @@ public function newRunningWorkflowStub(string $class, string $workflowID, ?strin
314290
);
315291
}
316292

317-
/**
318-
* @inheritDoc
319-
*/
320293
public function newUntypedRunningWorkflowStub(
321294
string $workflowID,
322295
?string $runID = null,
@@ -334,17 +307,11 @@ public function newUntypedRunningWorkflowStub(
334307
return $untyped;
335308
}
336309

337-
/**
338-
* @inheritDoc
339-
*/
340310
public function newActivityCompletionClient(): ActivityCompletionClientInterface
341311
{
342312
return new ActivityCompletionClient($this->client, $this->clientOptions, $this->converter);
343313
}
344314

345-
/**
346-
* @inheritDoc
347-
*/
348315
public function listWorkflowExecutions(
349316
string $query,
350317
?string $namespace = null,
@@ -381,9 +348,6 @@ public function listWorkflowExecutions(
381348
return Paginator::createFromGenerator($loader($request), $counter);
382349
}
383350

384-
/**
385-
* @inheritDoc
386-
*/
387351
public function countWorkflowExecutions(
388352
string $query,
389353
?string $namespace = null,
@@ -399,9 +363,6 @@ public function countWorkflowExecutions(
399363
);
400364
}
401365

402-
/**
403-
* @inheritDoc
404-
*/
405366
public function getWorkflowHistory(
406367
WorkflowExecution $execution,
407368
?string $namespace = null,

src/Client/WorkflowClientInterface.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,6 @@ public function startWithSignal(
7070
*
7171
* @param object|WorkflowStubInterface $workflow
7272
* @param non-empty-string|UpdateOptions $update Name of the update handler or update options.
73-
* @param array $updateArgs
74-
* @param array $startArgs
75-
*
76-
* @return UpdateHandle
7773
*
7874
* @note Experimental feature.
7975
* @since SDK 2.12.0

src/Interceptor/WorkflowClientCallsInterceptor.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ public function update(UpdateInput $input, callable $next): StartUpdateOutput;
7272
public function signalWithStart(SignalWithStartInput $input, callable $next): WorkflowExecution;
7373

7474
/**
75-
* @param UpdateWithStartInput $input
7675
* @param callable(UpdateWithStartInput): WorkflowExecution $next
7776
*/
7877
public function updateWithStart(UpdateWithStartInput $input, callable $next): UpdateWithStartOutput;

src/Workflow.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,6 @@ public static function asyncDetached(callable $task): CancellationScopeInterface
276276
* $this->continued = true;
277277
* }
278278
* ```
279-
*
280-
* @param callable|PromiseInterface|Mutex ...$conditions
281279
*/
282280
public static function await(callable|Mutex|PromiseInterface ...$conditions): PromiseInterface
283281
{
@@ -306,7 +304,6 @@ public static function await(callable|Mutex|PromiseInterface ...$conditions): Pr
306304
* ```
307305
*
308306
* @param DateIntervalValue $interval
309-
* @param callable|PromiseInterface|Mutex ...$conditions
310307
* @return PromiseInterface<bool>
311308
*/
312309
public static function awaitWithTimeout($interval, callable|Mutex|PromiseInterface ...$conditions): PromiseInterface

src/Workflow/WorkflowContextInterface.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,6 @@ public function newUntypedActivityStub(
301301
* Moves to the next step if the expression evaluates to `true`.
302302
*
303303
* @see Workflow::await()
304-
*
305-
* @param callable|Mutex|PromiseInterface ...$conditions
306304
*/
307305
public function await(callable|Mutex|PromiseInterface ...$conditions): PromiseInterface;
308306

@@ -315,7 +313,6 @@ public function await(callable|Mutex|PromiseInterface ...$conditions): PromiseIn
315313
* @see Workflow::awaitWithTimeout()
316314
*
317315
* @param DateIntervalValue $interval
318-
* @param callable|Mutex|PromiseInterface ...$conditions
319316
* @return PromiseInterface<bool>
320317
*/
321318
public function awaitWithTimeout($interval, callable|Mutex|PromiseInterface ...$conditions): PromiseInterface;

0 commit comments

Comments
 (0)