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