1 | <?php |
||
2 | namespace Nip\Filesystem; |
||
3 | |||
4 | use League\Flysystem\FilesystemInterface; |
||
0 ignored issues
–
show
|
|||
5 | |||
6 | /** |
||
7 | * Class File |
||
8 | * @package Nip\Filesystem |
||
9 | */ |
||
10 | class File |
||
11 | { |
||
12 | use File\HasFilesystem; |
||
13 | use File\HasInformation; |
||
14 | use File\HasOperations; |
||
15 | use File\HasPath; |
||
16 | |||
17 | /** |
||
18 | * @inheritdoc |
||
19 | */ |
||
20 | public function __construct(FilesystemInterface $filesystem = null, $path = null) |
||
21 | { |
||
22 | $this->parseNameFromPath($path); |
||
23 | $this->path = $path; |
||
24 | $this->setFilesystem($filesystem); |
||
25 | } |
||
26 | } |
||
27 |
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