Passed
Push — develop ( 96496e...268024 )
by nguereza
01:39
created
src/PlatineFileSystem.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -56,13 +56,11 @@
 block discarded – undo
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 */
Please login to merge, or discard this patch.
src/PlatineTestCase.php 2 patches
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -62,8 +62,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -70,10 +70,10 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.