| Total Complexity | 2 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class UploadImage implements ShouldQueue |
||
| 10 | { |
||
| 11 | protected $imageManager; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * Create the event listener. |
||
| 15 | * |
||
| 16 | * @return void |
||
| 17 | */ |
||
| 18 | public function __construct(ImageManager $imageManager) |
||
| 19 | { |
||
| 20 | $this->imageManager = $imageManager; |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Handle the event. |
||
| 25 | * |
||
| 26 | * @param Saved $event |
||
| 27 | * @return void |
||
| 28 | */ |
||
| 29 | public function handle(Saved $event) |
||
| 38 | ]); |
||
| 39 | } |
||
| 41 |
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