@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace ApiClients\Tools\ResourceTestUtilities; |
| 5 | 5 | |
@@ -24,11 +24,11 @@ discard block |
||
| 24 | 24 | { |
| 25 | 25 | parent::setUp(); |
| 26 | 26 | $crc32 = crc32(get_class($this)); |
| 27 | - $this->tmpDir = sys_get_temp_dir() . DIRECTORY_SEPARATOR . uniqid('act-' . $crc32, true) . DIRECTORY_SEPARATOR; |
|
| 27 | + $this->tmpDir = sys_get_temp_dir().DIRECTORY_SEPARATOR.uniqid('act-'.$crc32, true).DIRECTORY_SEPARATOR; |
|
| 28 | 28 | mkdir($this->tmpDir, 0777, true); |
| 29 | 29 | $this->tmpNamespace = sprintf( |
| 30 | 30 | static::DEFAULT_GENERATED_CLASS_NAMESPACE, |
| 31 | - crc32(uniqid((string)$crc32, true)) |
|
| 31 | + crc32(uniqid((string) $crc32, true)) |
|
| 32 | 32 | ); |
| 33 | 33 | } |
| 34 | 34 | |
@@ -46,13 +46,13 @@ discard block |
||
| 46 | 46 | continue; |
| 47 | 47 | } |
| 48 | 48 | |
| 49 | - if (is_dir($dir . $entry)) { |
|
| 50 | - $this->rmdir($dir . $entry . DIRECTORY_SEPARATOR); |
|
| 49 | + if (is_dir($dir.$entry)) { |
|
| 50 | + $this->rmdir($dir.$entry.DIRECTORY_SEPARATOR); |
|
| 51 | 51 | continue; |
| 52 | 52 | } |
| 53 | 53 | |
| 54 | - if (is_file($dir . $entry)) { |
|
| 55 | - unlink($dir . $entry); |
|
| 54 | + if (is_file($dir.$entry)) { |
|
| 55 | + unlink($dir.$entry); |
|
| 56 | 56 | continue; |
| 57 | 57 | } |
| 58 | 58 | } |