Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
29 | public function handle(Saved $event) |
||
30 | { |
||
31 | $fileName = 'guest-'.str_shuffle($event->getGuest()->id.time().time()).'.png'; |
||
32 | $ogSave = storage_path('app/public/events/original/').$fileName; |
||
33 | $this->imageManager->make($event->getImage())->save($ogSave); |
||
34 | $event->getGuest()->image()->updateOrcreate([ |
||
35 | 'imageable_id' => $event->getGuest()->id, |
||
36 | ], [ |
||
37 | 'name' => $fileName, |
||
38 | ]); |
||
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