| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | public function setUp() |
||
| 14 | { |
||
| 15 | $this->directory = __DIR__.DIRECTORY_SEPARATOR.'filesystem'; |
||
| 16 | @mkdir($this->directory.DIRECTORY_SEPARATOR.'subdir', 0777, true); |
||
|
|
|||
| 17 | $this->filesystem = new Filesystem(new Local($this->directory, true)); |
||
| 18 | |||
| 19 | $this->registerLocalFilesystemInStream(); |
||
| 20 | } |
||
| 21 | |||
| 38 |
If you suppress an error, we recommend checking for the error condition explicitly: