Passed
Push — master ( 776628...96a53b )
by Filippo
01:45
created
src/Surfer/Adapter/SocketAdapter.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
   /**
48 48
    * @copydoc AbstractAdapter::__construct()
49 49
    * @param bool $persistent (optional) When `true` the client uses a persistent connection.
50
-  */
50
+   */
51 51
   public function __construct($server = parent::DEFAULT_SERVER, $userName = "", $password = "", $persistent = TRUE) {
52 52
     $this->initialize();
53 53
 
Please login to merge, or discard this patch.
src/Surfer/Message/Request.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -189,9 +189,9 @@  discard block
 block discarded – undo
189 189
    */
190 190
   const X_FORWARDED_FOR_HF = "X-Forwarded-For";
191 191
 
192
-  const DESTINATION_HF = "Destination";  //!< This header field is not supported by HTTP 1.1. It's a special header field used by CouchDB.
193
-  const X_COUCHDB_WWW_AUTHENTICATE_HF = "X-CouchDB-WWW-Authenticate";  //!< This header field is not supported by HTTP 1.1. It's a special method header field by CouchDB.
194
-  const X_COUCHDB_FULL_COMMIT_HF = "X-Couch-Full-Commit";  //!< This header field is not supported by HTTP 1.1. It's a special header field used by CouchDB.
192
+  const DESTINATION_HF = "Destination"; //!< This header field is not supported by HTTP 1.1. It's a special header field used by CouchDB.
193
+  const X_COUCHDB_WWW_AUTHENTICATE_HF = "X-CouchDB-WWW-Authenticate"; //!< This header field is not supported by HTTP 1.1. It's a special method header field by CouchDB.
194
+  const X_COUCHDB_FULL_COMMIT_HF = "X-Couch-Full-Commit"; //!< This header field is not supported by HTTP 1.1. It's a special header field used by CouchDB.
195 195
 
196 196
   //!@}
197 197
 
@@ -408,7 +408,7 @@  discard block
 block discarded – undo
408 408
       $params = explode('&', $query);
409 409
 
410 410
       foreach ($params as $param) {
411
-        @list($name, $value)  = explode('=', $param, 2);
411
+        @list($name, $value) = explode('=', $param, 2);
412 412
         $this->setQueryParam($name, $value);
413 413
       }
414 414
     }
Please login to merge, or discard this patch.