Passed
Pull Request — master (#46)
by Baptiste
10:46
created
src/Debug/Dumper/Request/Echoer.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 
4 4
 use Psr\Http\Message\MessageInterface;
5 5
 use Psr\Http\Message\RequestInterface;
6
-
7 6
 use Behapi\Debug\Dumper;
8 7
 use Behapi\Debug\Dumper\UnsupportedMessage;
9 8
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 namespace Behapi\Debug\Dumper\Request;
3 3
 
4 4
 use Psr\Http\Message\MessageInterface;
Please login to merge, or discard this patch.
src/Debug/Dumper/Request/VarDumper.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,9 +3,7 @@
 block discarded – undo
3 3
 
4 4
 use Psr\Http\Message\MessageInterface;
5 5
 use Psr\Http\Message\RequestInterface;
6
-
7 6
 use Symfony\Component\VarDumper\VarDumper as SfDumper;
8
-
9 7
 use Behapi\Debug\Dumper;
10 8
 use Behapi\Debug\Dumper\UnsupportedMessage;
11 9
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 namespace Behapi\Debug\Dumper\Request;
3 3
 
4 4
 use Psr\Http\Message\MessageInterface;
Please login to merge, or discard this patch.
src/Debug/Dumper/Request/VarDumperJson.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,9 +3,7 @@
 block discarded – undo
3 3
 
4 4
 use Psr\Http\Message\MessageInterface;
5 5
 use Psr\Http\Message\RequestInterface;
6
-
7 6
 use Symfony\Component\VarDumper\VarDumper as SfDumper;
8
-
9 7
 use Behapi\Debug\Dumper;
10 8
 use Behapi\Debug\Dumper\UnsupportedMessage;
11 9
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 namespace Behapi\Debug\Dumper\Request;
3 3
 
4 4
 use Psr\Http\Message\MessageInterface;
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
             return false;
49 49
         }
50 50
 
51
-        [$contentType,] = explode(';', $message->getHeaderLine('Content-Type'), 2);
51
+        [$contentType, ] = explode(';', $message->getHeaderLine('Content-Type'), 2);
52 52
 
53 53
         return 'application/json' === $contentType;
54 54
     }
Please login to merge, or discard this patch.
src/Debug/Dumper/Response/Echoer.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 
4 4
 use Psr\Http\Message\MessageInterface;
5 5
 use Psr\Http\Message\ResponseInterface;
6
-
7 6
 use Behapi\Debug\Dumper;
8 7
 use Behapi\Debug\Dumper\UnsupportedMessage;
9 8
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 namespace Behapi\Debug\Dumper\Response;
3 3
 
4 4
 use Psr\Http\Message\MessageInterface;
Please login to merge, or discard this patch.
src/Debug/Dumper/Response/VarDumper.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,9 +3,7 @@
 block discarded – undo
3 3
 
4 4
 use Psr\Http\Message\MessageInterface;
5 5
 use Psr\Http\Message\ResponseInterface;
6
-
7 6
 use Symfony\Component\VarDumper\VarDumper as SfDumper;
8
-
9 7
 use Behapi\Debug\Dumper;
10 8
 use Behapi\Debug\Dumper\UnsupportedMessage;
11 9
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 namespace Behapi\Debug\Dumper\Response;
3 3
 
4 4
 use Psr\Http\Message\MessageInterface;
Please login to merge, or discard this patch.
src/Debug/Dumper/Response/VarDumperJson.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,9 +3,7 @@
 block discarded – undo
3 3
 
4 4
 use Psr\Http\Message\MessageInterface;
5 5
 use Psr\Http\Message\ResponseInterface;
6
-
7 6
 use Symfony\Component\VarDumper\VarDumper as SfDumper;
8
-
9 7
 use Behapi\Debug\Dumper;
10 8
 use Behapi\Debug\Dumper\UnsupportedMessage;
11 9
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 namespace Behapi\Debug\Dumper\Response;
3 3
 
4 4
 use Psr\Http\Message\MessageInterface;
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
             return false;
49 49
         }
50 50
 
51
-        [$contentType,] = explode(';', $message->getHeaderLine('Content-Type'), 2);
51
+        [$contentType, ] = explode(';', $message->getHeaderLine('Content-Type'), 2);
52 52
 
53 53
         return 'application/json' === $contentType;
54 54
     }
Please login to merge, or discard this patch.
src/Debug/Dumper/UnsupportedMessage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 namespace Behapi\Debug\Dumper;
3 3
 
4 4
 use InvalidArgumentException;
Please login to merge, or discard this patch.
src/Debug/Dumper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 namespace Behapi\Debug;
3 3
 
4 4
 use Psr\Http\Message\MessageInterface;
Please login to merge, or discard this patch.