| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | 3 | protected static function init($path) |
|
| 13 | { |
||
| 14 | 3 | $adapter = new Local($path, LOCK_EX, Local::DISALLOW_LINKS, [ |
|
| 15 | 'file' => [ |
||
| 16 | 2 | 'public' => 0755, |
|
| 17 | 'private' => 0700 |
||
| 18 | 3 | ], |
|
| 19 | 'dir' => [ |
||
| 20 | 2 | 'public' => 0755, |
|
| 21 | 'private' => 0700 |
||
| 22 | 2 | ] |
|
| 23 | 2 | ]); |
|
| 24 | 3 | self::$filesystem = new Filesystem($adapter); |
|
| 25 | 3 | } |
|
| 26 | |||
| 33 |