| Conditions | 5 |
| Paths | 7 |
| Total Lines | 23 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 13 |
| CRAP Score | 5 |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 34 | 2 | public function execute(StepDataDataProvider $dataProvider): StepDataDataProvider |
|
| 35 | { |
||
| 36 | 2 | $step = null; |
|
| 37 | |||
| 38 | 2 | foreach ($this->stepCollection as $step) { |
|
| 39 | 2 | $step->setData($dataProvider); |
|
| 40 | |||
| 41 | 2 | if (!$step->done()) { |
|
| 42 | 2 | if (!$step->ready()) { |
|
| 43 | 1 | throw new ConfiguratorException( |
|
| 44 | 1 | sprintf( |
|
| 45 | 1 | 'Step %s is not ready, but all previous steps are done', |
|
| 46 | 1 | \get_class($step) |
|
| 47 | ) |
||
| 48 | ); |
||
| 49 | } |
||
| 50 | |||
| 51 | 1 | $step->execute(); |
|
| 52 | 1 | $this->execute($step->getData()); |
|
| 53 | } |
||
| 54 | } |
||
| 55 | |||
| 56 | 1 | return $step ? $step->getData() : $dataProvider; |
|
| 57 | } |
||
| 58 | } |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths