Completed
Push — master ( 276db7...0bd148 )
by Rakesh
07:30 queued 03:39
created
lib/Zend/Gdata/Spreadsheets/CellFeed.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -48,31 +48,31 @@
 block discarded – undo
48 48
 {
49 49
 
50 50
     /**
51
-    * The classname for individual feed elements.
52
-    *
53
-    * @var string
54
-    */
51
+     * The classname for individual feed elements.
52
+     *
53
+     * @var string
54
+     */
55 55
     protected $_entryClassName = 'Zend_Gdata_Spreadsheets_CellEntry';
56 56
 
57 57
     /**
58
-    * The classname for the feed.
59
-    *
60
-    * @var string
61
-    */
58
+     * The classname for the feed.
59
+     *
60
+     * @var string
61
+     */
62 62
     protected $_feedClassName = 'Zend_Gdata_Spreadsheets_CellFeed';
63 63
 
64 64
     /**
65
-    * The row count for the feed.
66
-    *
67
-    * @var Zend_Gdata_Spreadsheets_Extension_RowCount
68
-    */
65
+     * The row count for the feed.
66
+     *
67
+     * @var Zend_Gdata_Spreadsheets_Extension_RowCount
68
+     */
69 69
     protected $_rowCount = null;
70 70
 
71 71
     /**
72
-    * The column count for the feed.
73
-    *
74
-    * @var Zend_Gdata_Spreadsheets_Extension_ColCount
75
-    */
72
+     * The column count for the feed.
73
+     *
74
+     * @var Zend_Gdata_Spreadsheets_Extension_ColCount
75
+     */
76 76
     protected $_colCount = null;
77 77
 
78 78
     /**
Please login to merge, or discard this patch.
lib/Zend/Gdata/Docs.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -258,9 +258,9 @@
 block discarded – undo
258 258
 
259 259
         // Set the mime type of the data.
260 260
         if ($mimeType === null) {
261
-          $filenameParts = explode('.', $fileLocation);
262
-          $fileExtension = end($filenameParts);
263
-          $mimeType = self::lookupMimeType($fileExtension);
261
+            $filenameParts = explode('.', $fileLocation);
262
+            $fileExtension = end($filenameParts);
263
+            $mimeType = self::lookupMimeType($fileExtension);
264 264
         }
265 265
 
266 266
         // Set the mime type for the upload request.
Please login to merge, or discard this patch.
lib/Zend/Gdata/Extension/When.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
             return $this->_valueString;
119 119
         else {
120 120
             return 'Starts: ' . $this->getStartTime() . ' ' .
121
-                   'Ends: ' .  $this->getEndTime();
121
+                    'Ends: ' .  $this->getEndTime();
122 122
         }
123 123
     }
124 124
 
Please login to merge, or discard this patch.
lib/Zend/Gdata/Books/VolumeFeed.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -51,12 +51,12 @@
 block discarded – undo
51 51
         parent::__construct($element);
52 52
     }
53 53
 
54
-     /**
55
-      * The classname for individual feed elements.
56
-      *
57
-      * @var string
58
-      */
59
-     protected $_entryClassName = 'Zend_Gdata_Books_VolumeEntry';
54
+        /**
55
+         * The classname for individual feed elements.
56
+         *
57
+         * @var string
58
+         */
59
+        protected $_entryClassName = 'Zend_Gdata_Books_VolumeEntry';
60 60
 
61 61
 }
62 62
 
Please login to merge, or discard this patch.
lib/Zend/Gdata/HttpClient.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
      * @return void
96 96
      */
97 97
     public function setAuthSubPrivateKeyFile($file, $passphrase = null,
98
-                                             $useIncludePath = false) {
98
+                                                $useIncludePath = false) {
99 99
         $fp = @fopen($file, "r", $useIncludePath);
100 100
         if (!$fp) {
101 101
             require_once 'Zend/Gdata/App/InvalidArgumentException.php';
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
         return $this->adapter;
262 262
     }
263 263
 
264
-   /**
264
+    /**
265 265
      * Load the connection adapter
266 266
      *
267 267
      * @param Zend_Http_Client_Adapter_Interface $adapter
@@ -272,7 +272,7 @@  discard block
 block discarded – undo
272 272
         if ($adapter == null) {
273 273
             $this->adapter = $adapter;
274 274
         } else {
275
-              parent::setAdapter($adapter);
275
+                parent::setAdapter($adapter);
276 276
         }
277 277
     }
278 278
 
Please login to merge, or discard this patch.
lib/Zend/Gdata/MimeBodyString.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -65,17 +65,17 @@  discard block
 block discarded – undo
65 65
      */
66 66
     public function read($bytesRequested)
67 67
     {
68
-      $len = strlen($this->_sourceString);
69
-      if($this->_bytesRead == $len) {
70
-          return FALSE;
71
-      } else if($bytesRequested > $len - $this->_bytesRead) {
72
-          $bytesRequested = $len - $this->_bytesRead;
73
-      }
68
+        $len = strlen($this->_sourceString);
69
+        if($this->_bytesRead == $len) {
70
+            return FALSE;
71
+        } else if($bytesRequested > $len - $this->_bytesRead) {
72
+            $bytesRequested = $len - $this->_bytesRead;
73
+        }
74 74
 
75
-      $buffer = substr($this->_sourceString, $this->_bytesRead, $bytesRequested);
76
-      $this->_bytesRead += $bytesRequested;
75
+        $buffer = substr($this->_sourceString, $this->_bytesRead, $bytesRequested);
76
+        $this->_bytesRead += $bytesRequested;
77 77
 
78
-      return $buffer;
78
+        return $buffer;
79 79
     }
80 80
 
81 81
     /**
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
      */
86 86
     public function getSize()
87 87
     {
88
-      return strlen($this->_sourceString);
88
+        return strlen($this->_sourceString);
89 89
     }
90 90
 
91 91
 
Please login to merge, or discard this patch.
lib/Zend/Gdata/Feed.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -115,8 +115,8 @@
 block discarded – undo
115 115
         if ($majorVersion >= 2) {
116 116
             if ($this->_etag != null) {
117 117
                 $element->setAttributeNS($this->lookupNamespace('gd'),
118
-                                         'gd:etag',
119
-                                         $this->_etag);
118
+                                            'gd:etag',
119
+                                            $this->_etag);
120 120
             }
121 121
         }
122 122
 
Please login to merge, or discard this patch.
lib/Zend/Gdata/MimeFile.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
      */
61 61
     public function read($bytesRequested)
62 62
     {
63
-      return fread($this->_fileHandle, $bytesRequested);
63
+        return fread($this->_fileHandle, $bytesRequested);
64 64
     }
65 65
 
66 66
 }
Please login to merge, or discard this patch.
lib/Zend/Gdata/MediaMimeStream.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -136,19 +136,19 @@
 block discarded – undo
136 136
     public function read($bytesRequested)
137 137
     {
138 138
         if($this->_currentPart >= count($this->_parts)) {
139
-          return FALSE;
139
+            return FALSE;
140 140
         }
141 141
 
142 142
         $activePart = $this->_parts[$this->_currentPart];
143 143
         $buffer = $activePart->read($bytesRequested);
144 144
 
145 145
         while(strlen($buffer) < $bytesRequested) {
146
-          $this->_currentPart += 1;
147
-          $nextBuffer = $this->read($bytesRequested - strlen($buffer));
148
-          if($nextBuffer === FALSE) {
146
+            $this->_currentPart += 1;
147
+            $nextBuffer = $this->read($bytesRequested - strlen($buffer));
148
+            if($nextBuffer === FALSE) {
149 149
             break;
150
-          }
151
-          $buffer .= $nextBuffer;
150
+            }
151
+            $buffer .= $nextBuffer;
152 152
         }
153 153
 
154 154
         return $buffer;
Please login to merge, or discard this patch.