Passed
Push — develop ( 7c72a0...681479 )
by nguereza
02:23
created
src/StreamInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@
 block discarded – undo
54 54
  * a wrapper around the most common operations, including serialization of
55 55
  * the entire stream to a string.
56 56
  */
57
-interface StreamInterface
58
-{
57
+interface StreamInterface {
59 58
     /**
60 59
      * Reads all data from the stream into a string, from the beginning to end.
61 60
      *
Please login to merge, or discard this patch.
src/ServerRequestInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,8 +87,7 @@
 block discarded – undo
87 87
  * be implemented such that they retain the internal state of the current
88 88
  * message and return an instance that contains the changed state.
89 89
  */
90
-interface ServerRequestInterface extends RequestInterface
91
-{
90
+interface ServerRequestInterface extends RequestInterface {
92 91
     /**
93 92
      * Retrieve server parameters.
94 93
      *
Please login to merge, or discard this patch.
src/RequestInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,8 +68,7 @@
 block discarded – undo
68 68
  * be implemented such that they retain the internal state of the current
69 69
  * message and return an instance that contains the changed state.
70 70
  */
71
-interface RequestInterface extends MessageInterface
72
-{
71
+interface RequestInterface extends MessageInterface {
73 72
     /**
74 73
      * Retrieves the message's request target.
75 74
      *
Please login to merge, or discard this patch.
src/MessageInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,8 +61,7 @@
 block discarded – undo
61 61
  * @see http://www.ietf.org/rfc/rfc7230.txt
62 62
  * @see http://www.ietf.org/rfc/rfc7231.txt
63 63
  */
64
-interface MessageInterface
65
-{
64
+interface MessageInterface {
66 65
     /**
67 66
      * Retrieves the HTTP protocol version as a string.
68 67
      *
Please login to merge, or discard this patch.
src/ResponseInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,8 +62,7 @@
 block discarded – undo
62 62
  * be implemented such that they retain the internal state of the current
63 63
  * message and return an instance that contains the changed state.
64 64
  */
65
-interface ResponseInterface extends MessageInterface
66
-{
65
+interface ResponseInterface extends MessageInterface {
67 66
     /**
68 67
      * Gets the response status code.
69 68
      *
Please login to merge, or discard this patch.
src/UploadedFileInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@
 block discarded – undo
55 55
  * state of the current instance and return an instance that contains the
56 56
  * changed state.
57 57
  */
58
-interface UploadedFileInterface
59
-{
58
+interface UploadedFileInterface {
60 59
     /**
61 60
      * Retrieve a stream representing the uploaded file.
62 61
      *
Please login to merge, or discard this patch.
src/UriInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,8 +67,7 @@
 block discarded – undo
67 67
  *
68 68
  * @see http://tools.ietf.org/html/rfc3986 (the URI specification)
69 69
  */
70
-interface UriInterface
71
-{
70
+interface UriInterface {
72 71
     /**
73 72
      * Retrieve the scheme component of the URI.
74 73
      *
Please login to merge, or discard this patch.
src/Client/HttpCookie.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -51,8 +51,7 @@  discard block
 block discarded – undo
51 51
  * @class HttpCookie
52 52
  * @package Platine\Http\Client
53 53
  */
54
-class HttpCookie
55
-{
54
+class HttpCookie {
56 55
     /**
57 56
      * The name of cookie
58 57
      * @var string
@@ -112,8 +111,7 @@  discard block
 block discarded – undo
112 111
      * Create new instance
113 112
      * @param string $cookieString
114 113
      */
115
-    public function __construct(string $cookieString)
116
-    {
114
+    public function __construct(string $cookieString) {
117 115
         $parts = array_map('trim', explode(';', $cookieString));
118 116
         foreach ($parts as $partStr) {
119 117
             $part = array_map('trim', explode('=', $partStr));
Please login to merge, or discard this patch.
src/Client/HttpMethod.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,8 +51,7 @@
 block discarded – undo
51 51
  * @class HttpMethod
52 52
  * @package Platine\Http\Client
53 53
  */
54
-class HttpMethod
55
-{
54
+class HttpMethod {
56 55
     public const HEAD = 'HEAD';
57 56
     public const GET = 'GET';
58 57
     public const PUT = 'PUT';
Please login to merge, or discard this patch.