Skip to content

Commit 5864a9a

Browse files
authored
Merge pull request #2 from php-etl/feature/update-dependencies
Feature/update dependencies
2 parents d962b47 + b956eea commit 5864a9a

File tree

5 files changed

+76
-29
lines changed

5 files changed

+76
-29
lines changed

.github/workflows/rector.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,11 @@ jobs:
1111
-
1212
if: github.event.pull_request.head.repo.full_name == github.repository
1313
uses: actions/checkout@v3
14-
with:
15-
# Must be used to trigger workflow after push
16-
token: ${{ secrets.ACCESS_TOKEN }}
1714

1815
-
1916
uses: shivammathur/setup-php@v2
2017
with:
21-
php-version: 8.1
18+
php-version: 8.2
2219
coverage: none
2320

2421
- uses: "ramsey/composer-install@v2"

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"php": "^8.2",
2020
"php-etl/console-state": "*",
2121
"php-etl/action-contracts": "0.1.*",
22+
"php-etl/satellite-contracts": "0.1.*",
2223
"symfony/console": "^6.0"
2324
},
2425
"autoload": {

composer.lock

Lines changed: 71 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/ActionRuntimeInterface.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,13 @@
55
namespace Kiboko\Component\Runtime\Action;
66

77
use Kiboko\Contract\Action\ActionInterface;
8-
use Kiboko\Contract\Action\RejectionInterface;
9-
use Kiboko\Contract\Action\RunnableInterface;
108
use Kiboko\Contract\Action\StateInterface;
9+
use Kiboko\Contract\Satellite\RunnableInterface;
1110

1211
interface ActionRuntimeInterface extends RunnableInterface
1312
{
1413
public function execute(
1514
ActionInterface $action,
16-
RejectionInterface $rejection,
17-
StateInterface $state
15+
StateInterface $state,
1816
): self;
1917
}

src/Console.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
use Kiboko\Contract\Action\ActionInterface;
99
use Kiboko\Contract\Action\ActionState;
1010
use Kiboko\Contract\Action\ExecutingActionInterface;
11-
use Kiboko\Contract\Action\RejectionInterface;
1211
use Kiboko\Contract\Action\StateInterface;
1312
use Symfony\Component\Console\Output\ConsoleOutput;
1413

@@ -26,10 +25,9 @@ public function __construct(
2625

2726
public function execute(
2827
ActionInterface $action,
29-
RejectionInterface $rejection,
3028
StateInterface $state,
3129
): self {
32-
$this->action->execute($action, $rejection, $state = new ActionState($state));
30+
$this->action->execute($action, $state = new ActionState($state));
3331

3432
$this->state
3533
->addMetric('read', $state->observeAccept())

0 commit comments

Comments
 (0)