Passed
Push — master ( 09583e...b6bd30 )
by Shiyu
01:25
created
src/Anno/Loader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
         foreach ((new ReflectionClass($class))->getMethods(ReflectionMethod::IS_PUBLIC) as $method) {
42 42
             $builder = new Executor;
43 43
 
44
-            (new Annotation($method->getDocComment()))->rowing(function (string $key, $expr) use ($builder) {
44
+            (new Annotation($method->getDocComment()))->rowing(function(string $key, $expr) use ($builder) {
45 45
                 $this->acknowledge($builder, $key, $expr);
46 46
             });
47 47
 
Please login to merge, or discard this patch.
src/Sourcing/Protobuf.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
                 }
67 67
                 $iterates = [];
68 68
                 foreach ($nested as $data) {
69
-                    $iterates[] = function () use ($parts, $data) {
69
+                    $iterates[] = function() use ($parts, $data) {
70 70
                         return $data instanceof Message
71 71
                             ? $this->walking(implode('.', $parts), $data)[1]
72 72
                             : $data
Please login to merge, or discard this patch.
src/Valid/Cloning.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
             $expr = '';
29 29
         }
30 30
 
31
-        $fn = function (Rule $rule) use ($to, $field, $expr) {
31
+        $fn = function(Rule $rule) use ($to, $field, $expr) {
32 32
             $to->import(new Rule($field, $rule->v(), $rule->e()));
33 33
             $expr && $to->analyzing($expr);
34 34
         };
Please login to merge, or discard this patch.
src/Valid/Message.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
      */
47 47
     public function valid() : bool
48 48
     {
49
-        return ! empty($this->tips);
49
+        return !empty($this->tips);
50 50
     }
51 51
 
52 52
     /**
Please login to merge, or discard this patch.
src/Valid/Inherit.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,8 @@
 block discarded – undo
17 17
      */
18 18
     public function sync(string $group, Group $source, Executor $linker) : void
19 19
     {
20
-        $fn = static function () use ($group, $source, $linker) {
21
-            $source->traversing($group, function (Executor $origin, string $field) use ($linker) {
20
+        $fn = static function() use ($group, $source, $linker) {
21
+            $source->traversing($group, function(Executor $origin, string $field) use ($linker) {
22 22
                 $linker->import($origin->export($field));
23 23
             });
24 24
         };
Please login to merge, or discard this patch.
src/Valid/Executor.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -92,10 +92,10 @@
 block discarded – undo
92 92
         }
93 93
 
94 94
         $regex = [
95
-            '/^([\d]+)\|([\w\\\]+)\|(.*?)$/' => function (array $matches) {
95
+            '/^([\d]+)\|([\w\\\]+)\|(.*?)$/' => function(array $matches) {
96 96
                 return [$matches[2], $matches[1], $matches[3]];
97 97
             },
98
-            '/^([\w\\\]+)\|(.*?)$/' => function (array $matches) {
98
+            '/^([\w\\\]+)\|(.*?)$/' => function(array $matches) {
99 99
                 return [$matches[1], null, $matches[2]];
100 100
             },
101 101
         ];
Please login to merge, or discard this patch.