| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 39 | public function prepareTestFolders() |
||
| 40 | { |
||
| 41 | $dir = sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'behat' . DIRECTORY_SEPARATOR . md5(microtime() . rand(0, 10000)); |
||
| 42 | |||
| 43 | mkdir($dir . '/features/bootstrap', 0777, true); |
||
| 44 | |||
| 45 | $this->workingDir = $dir; |
||
| 46 | $this->process = new Process(null); |
||
| 47 | $this->process->setTimeout(20); |
||
| 48 | } |
||
| 49 | } |
||
| 50 |
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.