Test Setup Failed
Push — master ( 27e190...d50e4b )
by Jonathan
17:24
created
src/Hydrator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,11 +43,11 @@  discard block
 block discarded – undo
43 43
      */
44 44
     private function populateData(string $key, $value)
45 45
     {
46
-        if (! property_exists($this->object, $key)) {
46
+        if (!property_exists($this->object, $key)) {
47 47
             return;
48 48
         }
49 49
 
50
-        if (! $this->isPublic($key)) {
50
+        if (!$this->isPublic($key)) {
51 51
             throw HydratorException::cannotPopulateNonPublicProperty($key);
52 52
         }
53 53
 
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
         }
76 76
 
77 77
         if ($dataType === 'bool') {
78
-            return ! empty($value);
78
+            return !empty($value);
79 79
         }
80 80
 
81 81
         if ($dataType === 'float') {
Please login to merge, or discard this patch.
rector.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -5,10 +5,10 @@
 block discarded – undo
5 5
 use Rector\Config\RectorConfig;
6 6
 use Rector\Set\ValueObject\SetList;
7 7
 
8
-return static function (RectorConfig $rectorConfig): void {
8
+return static function(RectorConfig $rectorConfig): void {
9 9
     $rectorConfig->paths([
10
-        __DIR__ . '/src',
11
-        __DIR__ . '/tests',
10
+        __DIR__.'/src',
11
+        __DIR__.'/tests',
12 12
     ]);
13 13
 
14 14
     $rectorConfig->sets([
Please login to merge, or discard this patch.