@@ -56,13 +56,11 @@ |
||
56 | 56 | * @class PlatineFileSystem |
57 | 57 | * @package Platine\Dev |
58 | 58 | */ |
59 | -class PlatineFileSystem extends FileSystem |
|
60 | -{ |
|
59 | +class PlatineFileSystem extends FileSystem { |
|
61 | 60 | /** |
62 | 61 | * Create new instance |
63 | 62 | */ |
64 | - public function __construct() |
|
65 | - { |
|
63 | + public function __construct() { |
|
66 | 64 | $this->scheme = 'platine-php'; |
67 | 65 | |
68 | 66 | /* injecting components */ |
@@ -62,8 +62,7 @@ discard block |
||
62 | 62 | * @class PlatineTestCase |
63 | 63 | * @package Platine\Dev |
64 | 64 | */ |
65 | -class PlatineTestCase extends TestCase |
|
66 | -{ |
|
65 | +class PlatineTestCase extends TestCase { |
|
67 | 66 | /** |
68 | 67 | * The Platine File system instance |
69 | 68 | * @var PlatineFileSystem |
@@ -289,8 +288,7 @@ discard block |
||
289 | 288 | * @param string $name |
290 | 289 | * @return mixed |
291 | 290 | */ |
292 | - public function getPropertyValue(string $class, object $instance, string $name) |
|
293 | - { |
|
291 | + public function getPropertyValue(string $class, object $instance, string $name) { |
|
294 | 292 | $reflection = $this->getPrivateProtectedAttribute($class, $name); |
295 | 293 | return $reflection->getValue($instance); |
296 | 294 | } |
@@ -303,8 +301,7 @@ discard block |
||
303 | 301 | * @param mixed $value |
304 | 302 | * @return void |
305 | 303 | */ |
306 | - public function setPropertyValue(string $class, object $instance, string $name, $value) |
|
307 | - { |
|
304 | + public function setPropertyValue(string $class, object $instance, string $name, $value) { |
|
308 | 305 | $reflection = $this->getPrivateProtectedAttribute($class, $name); |
309 | 306 | $reflection->setValue($instance, $value); |
310 | 307 | } |
@@ -70,10 +70,10 @@ |
||
70 | 70 | */ |
71 | 71 | protected PlatineFileSystem $fs; |
72 | 72 | |
73 | - /** |
|
74 | - * Enable support of virtual file system |
|
75 | - * @return $this |
|
76 | - */ |
|
73 | + /** |
|
74 | + * Enable support of virtual file system |
|
75 | + * @return $this |
|
76 | + */ |
|
77 | 77 | public function enableFileSystem(): self |
78 | 78 | { |
79 | 79 | $this->fs = new PlatineFileSystem(); |