Passed
Branch master (2647cf)
by Shiyu
04:02 queued 16s
created
Category
src/Service/SDetectors/ASS.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      */
21 21
     protected function assigning(Router $router, string $contracts, array $namespaces) : bool
22 22
     {
23
-        $nss = array_map(static function ($p) {
23
+        $nss = array_map(static function($p) {
24 24
             return lcfirst($p);
25 25
         }, $namespaces);
26 26
 
Please login to merge, or discard this patch.
src/Service/SDetectors/AST.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
      */
120 120
     private function psr4init() : void
121 121
     {
122
-        if (defined('CWD') && is_file($cj = CWD . '/composer.json')) {
122
+        if (defined('CWD') && is_file($cj = CWD.'/composer.json')) {
123 123
             $conf = json_decode(file_get_contents($cj), true);
124 124
             foreach ($conf['autoload']['psr-4'] ?? [] as $nsp => $path) {
125 125
                 $slot = &$this->psr4al;
Please login to merge, or discard this patch.
src/Service/Scanner.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
      */
88 88
     public function serving() : void
89 89
     {
90
-        array_walk($this->services, function (string $implementer) {
90
+        array_walk($this->services, function(string $implementer) {
91 91
             $this->detector->analyzing($this->router, self::CONTRACTS_NAME, $implementer);
92 92
         });
93 93
     }
@@ -96,11 +96,11 @@  discard block
 block discarded – undo
96 96
      */
97 97
     public function analyzing() : void
98 98
     {
99
-        array_walk($this->services, function (string $implementer) {
99
+        array_walk($this->services, function(string $implementer) {
100 100
             $ref = new ReflectionClass($implementer);
101 101
 
102 102
             foreach ($ref->getInterfaces() as $inf) {
103
-                $nss = array_map(static function ($p) {
103
+                $nss = array_map(static function($p) {
104 104
                     return lcfirst($p);
105 105
                 }, explode('\\', $inf->getNamespaceName()));
106 106
 
Please login to merge, or discard this patch.
src/Chips/NamedKit.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      */
19 19
     private function namedServer(string $class) : string
20 20
     {
21
-        $segments = array_map(static function ($p) {
21
+        $segments = array_map(static function($p) {
22 22
             return lcfirst($p);
23 23
         }, explode('\\', $class));
24 24
 
Please login to merge, or discard this patch.
src/Chips/Protocol/Tags.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      */
21 21
     public function hasTags() : bool
22 22
     {
23
-        return ! empty($this->tags);
23
+        return !empty($this->tags);
24 24
     }
25 25
 
26 26
     /**
Please login to merge, or discard this patch.
src/Handlers/ServiceInvoker.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      */
43 43
     public function inbound($request, Context $ctx) : Promised
44 44
     {
45
-        return race(async(function ($request) {
45
+        return race(async(function($request) {
46 46
             return $this->dispatcher->invoke($request);
47 47
         }, $ctx, $request), timeout(5000));
48 48
     }
Please login to merge, or discard this patch.