| Total Complexity | 2 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | trait HasFilesystem |
||
| 13 | { |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var FilesystemInterface|FileDisk |
||
| 17 | */ |
||
| 18 | protected $filesystem; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Set the Filesystem object. |
||
| 22 | * |
||
| 23 | * @param FilesystemInterface $filesystem |
||
| 24 | * |
||
| 25 | * @return $this |
||
| 26 | */ |
||
| 27 | public function setFilesystem(FilesystemInterface $filesystem) |
||
| 28 | { |
||
| 29 | $this->filesystem = $filesystem; |
||
| 30 | |||
| 31 | return $this; |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Retrieve the Filesystem object. |
||
| 36 | * |
||
| 37 | * @return FilesystemInterface|FileDisk |
||
| 38 | */ |
||
| 39 | public function getFilesystem() |
||
| 42 | } |
||
| 43 | |||
| 44 | } |
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