Total Complexity | 4 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class GuestObserver |
||
10 | { |
||
11 | use FileTraits; |
||
12 | |||
13 | public function deleted(Guest $guest) |
||
14 | { |
||
15 | if ($guest->image()->exists()) { |
||
16 | $this->deleteFiles($guest); |
||
17 | $guest->image()->delete(); |
||
18 | } |
||
19 | } |
||
20 | |||
21 | public function created(Guest $guest) |
||
24 | } |
||
25 | |||
26 | public function updated(Guest $guest) |
||
28 | } |
||
29 | } |
||
30 |
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