Passed
Push — main ( 01df28...a3d6ad )
by Eric
12:45
created
src/Utils.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     {
66 66
         static $availableMethods;
67 67
 
68
-        $availableMethods ??= ['HEAD', 'GET', 'DELETE', 'OPTIONS', 'PATCH', 'POST', 'PUT',];
68
+        $availableMethods ??= ['HEAD', 'GET', 'DELETE', 'OPTIONS', 'PATCH', 'POST', 'PUT', ];
69 69
 
70 70
         // Check for a valid method
71 71
         if (!in_array($method, $availableMethods, true)) {
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
 
123 123
         $invalidOptions = [];
124 124
 
125
-        array_filter($options, static function ($value, int|string $key) use (&$invalidOptions, $validOptions): bool {
125
+        array_filter($options, static function($value, int | string $key) use (&$invalidOptions, $validOptions): bool {
126 126
             if (!in_array($key, $validOptions, true)) {
127 127
                 $invalidOptions[] = $key;
128 128
 
Please login to merge, or discard this patch.
src/Client.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -300,7 +300,7 @@  discard block
 block discarded – undo
300 300
             $handlerStack->push(Middleware::retry($this->retryDecider(), $this->retryDelay()));
301 301
         }
302 302
 
303
-        $defaultOptions += ['handler' => $handlerStack,];
303
+        $defaultOptions += ['handler' => $handlerStack, ];
304 304
 
305 305
         // Attempt instantiating the client. Generally we should only run into issues if any options
306 306
         // passed to Guzzle are incorrectly defined/configured.
@@ -409,7 +409,7 @@  discard block
 block discarded – undo
409 409
      */
410 410
     private function retryDecider(): Closure
411 411
     {
412
-        return function (
412
+        return function(
413 413
             $retries,
414 414
             RequestInterface $request,
415 415
             ?ResponseInterface $response = null,
Please login to merge, or discard this patch.
rector.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 use Rector\Set\ValueObject\LevelSetList;
11 11
 use Rector\Set\ValueObject\SetList;
12 12
 
13
-return static function (RectorConfig $rectorConfig): void {
13
+return static function(RectorConfig $rectorConfig): void {
14 14
     $rectorConfig->paths([
15 15
         __DIR__ . '/src',
16 16
         __DIR__ . '/tests/src',
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
         SetList::STRICT_BOOLEANS,
29 29
         //SetList::PRIVATIZATION,
30 30
         //SetList::EARLY_RETURN,
31
-        SetList::INSTANCEOF,
31
+        SetList::instanceof,
32 32
         LevelSetList::UP_TO_PHP_82,
33 33
         PHPUnitSetList::PHPUNIT_100,
34 34
         PHPUnitSetList::PHPUNIT_CODE_QUALITY,
Please login to merge, or discard this patch.