Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
1 | <?php |
||
31 | public function setUp() { |
||
32 | parent::setUp(); |
||
33 | SS_Datetime::clear_mock_now(); |
||
34 | Injector::nest(); |
||
35 | Injector::inst()->load(array( |
||
36 | 'DNProject' => 'DeploynautTest_Project', |
||
37 | )); |
||
38 | |||
39 | // Set temp location |
||
40 | $this->setTemporaryPath(TEMP_FOLDER . '/deploynaut_test/envs'); |
||
41 | } |
||
42 | |||
62 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.