Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | public function test_initFromEnviroment() |
||
20 | { |
||
21 | $dotenv = \Dotenv\Dotenv::createImmutable(TEST_FIXTURE_PATH, '.env.generic'); |
||
22 | $dotenv->load(); |
||
23 | |||
24 | $manager = GoogleRecaptcha::getManager(); |
||
25 | |||
26 | static::assertInstanceOf(RecaptchaManager::class, $manager); |
||
27 | self::assertTrue( $manager->isEnabled()); |
||
28 | self::assertSame('my-key', $manager->getSiteKey()); |
||
29 | self::assertSame('my-secret', $manager->getSecretKey()); |
||
30 | } |
||
32 |
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