Skip to content

Commit 754653c

Browse files
committed
Re-added deleted classes + made the RunnableInterface deprecated
1 parent 43953e3 commit 754653c

File tree

4 files changed

+93
-18
lines changed

4 files changed

+93
-18
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
],
1717
"require": {
1818
"php": "^8.2",
19-
"php-etl/bucket-contracts": "0.2.*"
19+
"php-etl/bucket-contracts": "0.2.*",
20+
"php-etl/satellite-contracts": "0.1.*"
2021
},
2122
"require-dev": {
2223
"phpstan/phpstan": "^1.10",

composer.lock

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

src/RunnableInterface.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace Kiboko\Contract\Pipeline;
6+
7+
use \Kiboko\Contract\Job\RunnableInterface as SatelliteRunableInterface;
8+
9+
/** @deprecated Use \Kiboko\Contract\Job\RunnableInterface instead */
10+
interface RunnableInterface extends SatelliteRunableInterface
11+
{
12+
}

src/SchedulingInterface.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace Kiboko\Contract\Pipeline;
6+
7+
interface SchedulingInterface
8+
{
9+
public function job(RunnableInterface $job): self;
10+
}

0 commit comments

Comments
 (0)