diff --git a/composer.json b/composer.json index 38c056b..e3117ff 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ }, "require-dev": { "phpstan/phpstan": "^1.10", - "friendsofphp/php-cs-fixer": "^3.0", + "friendsofphp/php-cs-fixer": "^3.38", "rector/rector": "^0.15" }, "autoload": { diff --git a/composer.lock b/composer.lock index 1ff119b..0b0fc6e 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "65bce41dbfc179c6a113a18609eda9f1", + "content-hash": "d7538d8ca04c144ff916f6868778dbda", "packages": [ { "name": "php-etl/bucket-contracts", @@ -338,16 +338,16 @@ }, { "name": "friendsofphp/php-cs-fixer", - "version": "v3.38.0", + "version": "v3.38.2", "source": { "type": "git", "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git", - "reference": "7e6070026e76aa09d77a47519625c86593fb8e31" + "reference": "d872cdd543797ade030aaa307c0a4954a712e081" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/7e6070026e76aa09d77a47519625c86593fb8e31", - "reference": "7e6070026e76aa09d77a47519625c86593fb8e31", + "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/d872cdd543797ade030aaa307c0a4954a712e081", + "reference": "d872cdd543797ade030aaa307c0a4954a712e081", "shasum": "" }, "require": { @@ -419,7 +419,7 @@ ], "support": { "issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues", - "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.38.0" + "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.38.2" }, "funding": [ { @@ -427,7 +427,7 @@ "type": "github" } ], - "time": "2023-11-07T08:44:54+00:00" + "time": "2023-11-14T00:19:22+00:00" }, { "name": "phpstan/phpstan", diff --git a/src/SchedulingInterface.php b/src/SchedulingInterface.php index a3174b2..4d7a299 100644 --- a/src/SchedulingInterface.php +++ b/src/SchedulingInterface.php @@ -4,9 +4,10 @@ namespace Kiboko\Contract\Pipeline; +use Kiboko\Contract\Satellite\CodeInterface; use Kiboko\Contract\Satellite\RunnableInterface; interface SchedulingInterface { - public function job(JobCodeInterface $job, RunnableInterface $runnable): self; + public function job(CodeInterface $job, RunnableInterface $runnable): self; }