| Total Complexity | 5 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class TranslatableObserver |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * Save translations when model is saved. |
||
| 15 | * |
||
| 16 | * @param Model $model |
||
|
|
|||
| 17 | * @return void |
||
| 18 | */ |
||
| 19 | public function saved($model) |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Delete translations when model is deleted. |
||
| 34 | * |
||
| 35 | * @param Model $model |
||
| 36 | * @return void |
||
| 37 | */ |
||
| 38 | public function deleted($model) |
||
| 46 |
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