| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | public function create(BuilderFactory $build): EndpointBuilder |
||
| 22 | { |
||
| 23 | return $build->endpoint(self::class) |
||
| 24 | ->exportTo(Tenant::ALL) |
||
| 25 | ->take(ActionCalculateCommand::class) |
||
| 26 | ->checkPermission('action.calculate') |
||
| 27 | ->middlewares( |
||
| 28 | CustomerLoader::class, |
||
| 29 | PlanLoader::class, |
||
| 30 | TargetLoader::class, |
||
| 31 | $build->call(SaleCreateAction::class) |
||
|
|
|||
| 32 | ) |
||
| 33 | ->return(Sale::class); |
||
| 34 | } |
||
| 36 |
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