Conditions | 3 |
Paths | 3 |
Total Lines | 11 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | public function __construct(string $savePath) |
||
16 | { |
||
17 | if (!$this->ensureDirectory($savePath)) { |
||
18 | throw new \InvalidArgumentException(sprintf('Directory "%s" was not created', $savePath)); |
||
19 | } |
||
20 | |||
21 | if (!is_writable($savePath)) { |
||
22 | throw new \InvalidArgumentException(sprintf('The directory "%s" is invalid', $savePath)); |
||
23 | } |
||
24 | |||
25 | $this->savePath = rtrim($savePath, '\\/'); |
||
26 | } |
||
50 |
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