| Conditions | 2 |
| Paths | 2 |
| Total Lines | 14 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 18 | final public function createPackageDotenv(string $environmentFile = '.env') |
||
| 19 | { |
||
| 20 | try { |
||
| 21 | $response = Dotenv::create( |
||
| 22 | Env::getRepository(), |
||
| 23 | $this->packageEnvRootPath(), |
||
| 24 | $environmentFile |
||
| 25 | ) |
||
| 26 | ->load(); |
||
| 27 | } catch (InvalidFileException $e) { |
||
| 28 | $response = $e->getMessage(); |
||
| 29 | } |
||
| 30 | |||
| 31 | return $response; |
||
| 32 | } |
||
| 34 |
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