File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed
Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 1+ Pipeline Contracts
2+ ===
3+
4+ This package aims at providing contracts for an Extract-Load-Pattern,
5+ with logging, line rejections and execution states.
6+
7+
8+ [ ![ Quality] ( https://github.com/php-etl/pipeline-contracts/actions/workflows/quality.yaml/badge.svg )] ( https://github.com/php-etl/pipeline-contracts/actions/workflows/quality.yaml )
9+ [ ![ PHPStan level 5] ( https://github.com/php-etl/pipeline-contracts/actions/workflows/phpstan-5.yaml/badge.svg )] ( https://github.com/php-etl/pipeline-contracts/actions/workflows/phpstan-5.yaml )
10+ [ ![ PHPStan level 7] ( https://github.com/php-etl/pipeline-contracts/actions/workflows/phpstan-7.yaml/badge.svg )] ( https://github.com/php-etl/pipeline-contracts/actions/workflows/phpstan-7.yaml )
11+ [ ![ PHPStan level 8] ( https://github.com/php-etl/pipeline-contracts/actions/workflows/phpstan-8.yaml/badge.svg )] ( https://github.com/php-etl/pipeline-contracts/actions/workflows/phpstan-8.yaml )
12+ [ ![ Mutations] ( https://github.com/php-etl/pipeline-contracts/actions/workflows/infection.yaml/badge.svg )] ( https://github.com/php-etl/pipeline-contracts/actions/workflows/infection.yaml )
13+ ![ PHP] ( https://img.shields.io/packagist/php-v/php-etl/pipeline-contracts )
14+
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ public function initialize(): void
99 // NOOP
1010 }
1111
12+ /** @param non-empty-array<mixed>|object $rejection */
1213 public function reject (object |array $ rejection , ?\Throwable $ exception = null ): void
1314 {
1415 // NOOP
Original file line number Diff line number Diff line change 55interface RejectionInterface
66{
77 public function initialize (): void ;
8+ /** @param non-empty-array<mixed>|object $rejection */
89 public function reject (object |array $ rejection , ?\Throwable $ exception = null ): void ;
910 public function teardown (): void ;
1011}
You can’t perform that action at this time.
0 commit comments