Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
56 | private function getTestConfig(): array |
||
57 | { |
||
58 | // Load the user-defined test configuration file, if it exists; otherwise, load default |
||
59 | if (is_readable('test/TestConfig.php')) { |
||
60 | $testConfig = require 'test/testing.config.php'; |
||
61 | } else { |
||
62 | $testConfig = require 'test/testing.config.php.dist'; |
||
63 | } |
||
64 | |||
65 | return $testConfig; |
||
66 | } |
||
67 | } |
||
68 |