Test Failed
Push — master ( 99762a...27f9c8 )
by Kirill
02:27
created
src/Client.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Gitter;
11 11
 
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
      */
183 183
     public function __get(string $resource)
184 184
     {
185
-        $resolve = function (string $resource) {
185
+        $resolve = function(string $resource) {
186 186
             switch ($resource) {
187 187
                 // == RESOURCES ==
188 188
                 case 'users':
@@ -322,7 +322,7 @@  discard block
 block discarded – undo
322 322
             case 'groups':
323 323
             case 'messages':
324 324
             case 'rooms':
325
-                throw new \LogicException('Resource ' . $name . ' can not be removed');
325
+                throw new \LogicException('Resource '.$name.' can not be removed');
326 326
         }
327 327
     }
328 328
 
Please login to merge, or discard this patch.
src/Resources/ResourceInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Gitter\Resources;
11 11
 
Please login to merge, or discard this patch.
src/Support/Observer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Gitter\Support;
11 11
 
Please login to merge, or discard this patch.
src/Adapters/AdapterInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Gitter\Adapters;
11 11
 
Please login to merge, or discard this patch.
src/Adapters/SyncAdapterInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Gitter\Adapters;
11 11
 
Please login to merge, or discard this patch.
src/Adapters/AbstractClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Gitter\Adapters;
11 11
 
Please login to merge, or discard this patch.
src/Resources/Messages.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
  * For the full copyright and license information, please view the LICENSE
5 5
  * file that was distributed with this source code.
6 6
  */
7
-declare(strict_types=1);
7
+declare(strict_types = 1);
8 8
 
9 9
 namespace Gitter\Resources;
10 10
 
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
     {
92 92
         $route = Route::get('rooms/{roomId}/chatMessages')
93 93
             ->with('roomId', $roomId)
94
-            ->with('limit', (string)$limit);
94
+            ->with('limit', (string) $limit);
95 95
 
96 96
         if ($query !== null) {
97 97
             $route->with('q', $query);
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
                 $route->with('afterId', $afterId);
124 124
             }
125 125
 
126
-            $response = (array)$this->fetch($route);
126
+            $response = (array) $this->fetch($route);
127 127
 
128 128
             foreach ($response as $message) {
129 129
                 yield $message;
Please login to merge, or discard this patch.