Completed
Push — master ( 276db7...0bd148 )
by Rakesh
07:30 queued 03:39
created
lib/Zend/Gdata/YouTube/Extension/MediaGroup.php 1 patch
Switch Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -190,9 +190,9 @@
 block discarded – undo
190 190
                 $uploaded ->transferFromDOM($child);
191 191
                 $this->_uploaded = $uploaded;
192 192
                 break;
193
-        default:
194
-            parent::takeChildFromDOM($child);
195
-            break;
193
+            default:
194
+                parent::takeChildFromDOM($child);
195
+                break;
196 196
         }
197 197
     }
198 198
 
Please login to merge, or discard this patch.
lib/Zend/Gdata/YouTube/Extension/MediaContent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
     public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null)
71 71
     {
72 72
         $element = parent::getDOM($doc, $majorVersion, $minorVersion);
73
-        if ($this->_format!= null) {
73
+        if ($this->_format != null) {
74 74
             $element->setAttributeNS($this->lookupNamespace('yt'), 'yt:format', $this->_format);
75 75
         }
76 76
         return $element;
Please login to merge, or discard this patch.
lib/Zend/Gdata/YouTube/Extension/Racy.php 1 patch
Switch Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -82,11 +82,11 @@
 block discarded – undo
82 82
     protected function takeAttributeFromDOM($attribute)
83 83
     {
84 84
         switch ($attribute->localName) {
85
-        case 'state':
86
-            $this->_state = $attribute->nodeValue;
87
-            break;
88
-        default:
89
-            parent::takeAttributeFromDOM($attribute);
85
+            case 'state':
86
+                $this->_state = $attribute->nodeValue;
87
+                break;
88
+            default:
89
+                parent::takeAttributeFromDOM($attribute);
90 90
         }
91 91
     }
92 92
 
Please login to merge, or discard this patch.
lib/Zend/Gdata/YouTube/Extension/Duration.php 1 patch
Switch Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -82,11 +82,11 @@
 block discarded – undo
82 82
     protected function takeAttributeFromDOM($attribute)
83 83
     {
84 84
         switch ($attribute->localName) {
85
-        case 'seconds':
86
-            $this->_seconds = $attribute->nodeValue;
87
-            break;
88
-        default:
89
-            parent::takeAttributeFromDOM($attribute);
85
+            case 'seconds':
86
+                $this->_seconds = $attribute->nodeValue;
87
+                break;
88
+            default:
89
+                parent::takeAttributeFromDOM($attribute);
90 90
         }
91 91
     }
92 92
 
Please login to merge, or discard this patch.
lib/Zend/Gdata/YouTube/Extension/MediaCredit.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
      * @param string $role
69 69
      * @param string $scheme
70 70
      */
71
-    public function __construct($text = null, $role = null,  $scheme = null,
71
+    public function __construct($text = null, $role = null, $scheme = null,
72 72
         $yttype = null)
73 73
     {
74 74
         $this->registerAllNamespaces(Zend_Gdata_Media::$namespaces);
Please login to merge, or discard this patch.
lib/Zend/Gdata/YouTube/Extension/Statistics.php 1 patch
Switch Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -156,23 +156,23 @@
 block discarded – undo
156 156
     protected function takeAttributeFromDOM($attribute)
157 157
     {
158 158
         switch ($attribute->localName) {
159
-        case 'videoWatchCount':
160
-            $this->_videoWatchCount = $attribute->nodeValue;
161
-            break;
162
-        case 'viewCount':
163
-            $this->_viewCount = $attribute->nodeValue;
164
-            break;
165
-        case 'subscriberCount':
166
-            $this->_subscriberCount = $attribute->nodeValue;
167
-            break;
168
-        case 'lastWebAccess':
169
-            $this->_lastWebAccess = $attribute->nodeValue;
170
-            break;
171
-        case 'favoriteCount':
172
-            $this->_favoriteCount = $attribute->nodeValue;
173
-            break;
174
-        default:
175
-            parent::takeAttributeFromDOM($attribute);
159
+            case 'videoWatchCount':
160
+                $this->_videoWatchCount = $attribute->nodeValue;
161
+                break;
162
+            case 'viewCount':
163
+                $this->_viewCount = $attribute->nodeValue;
164
+                break;
165
+            case 'subscriberCount':
166
+                $this->_subscriberCount = $attribute->nodeValue;
167
+                break;
168
+            case 'lastWebAccess':
169
+                $this->_lastWebAccess = $attribute->nodeValue;
170
+                break;
171
+            case 'favoriteCount':
172
+                $this->_favoriteCount = $attribute->nodeValue;
173
+                break;
174
+            default:
175
+                parent::takeAttributeFromDOM($attribute);
176 176
         }
177 177
     }
178 178
 
Please login to merge, or discard this patch.
lib/Zend/Gdata/YouTube/Extension/Link.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -121,13 +121,13 @@
 block discarded – undo
121 121
     }
122 122
 
123 123
     /**
124
-    * Get the value of this element's token attribute.
125
-    *
126
-    * @return string The token's text value
127
-    */
124
+     * Get the value of this element's token attribute.
125
+     *
126
+     * @return string The token's text value
127
+     */
128 128
     public function getTokenValue()
129 129
     {
130
-      return $this->getToken()->getText();
130
+        return $this->getToken()->getText();
131 131
     }
132 132
 
133 133
 }
Please login to merge, or discard this patch.
Switch Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -87,14 +87,14 @@
 block discarded – undo
87 87
     {
88 88
         $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
89 89
         switch ($absoluteNodeName) {
90
-        case $this->lookupNamespace('yt') . ':' . 'token':
91
-            $token = new Zend_Gdata_YouTube_Extension_Token();
92
-            $token->transferFromDOM($child);
93
-            $this->_token = $token;
94
-            break;
95
-        default:
96
-            parent::takeChildFromDOM($child);
97
-            break;
90
+            case $this->lookupNamespace('yt') . ':' . 'token':
91
+                $token = new Zend_Gdata_YouTube_Extension_Token();
92
+                $token->transferFromDOM($child);
93
+                $this->_token = $token;
94
+                break;
95
+            default:
96
+                parent::takeChildFromDOM($child);
97
+                break;
98 98
         }
99 99
     }
100 100
 
Please login to merge, or discard this patch.
lib/Zend/Gdata/YouTube/Extension/MediaRating.php 1 patch
Switch Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -99,14 +99,14 @@
 block discarded – undo
99 99
     protected function takeAttributeFromDOM($attribute)
100 100
     {
101 101
         switch ($attribute->localName) {
102
-        case 'scheme':
103
-            $this->_scheme = $attribute->nodeValue;
104
-            break;
105
-        case 'country':
106
-            $this->_country = $attribute->nodeValue;
107
-            break;
108
-        default:
109
-            parent::takeAttributeFromDOM($attribute);
102
+            case 'scheme':
103
+                $this->_scheme = $attribute->nodeValue;
104
+                break;
105
+            case 'country':
106
+                $this->_country = $attribute->nodeValue;
107
+                break;
108
+            default:
109
+                parent::takeAttributeFromDOM($attribute);
110 110
         }
111 111
     }
112 112
 
Please login to merge, or discard this patch.
lib/Zend/Gdata/YouTube/Extension/Control.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -121,13 +121,13 @@
 block discarded – undo
121 121
     }
122 122
 
123 123
     /**
124
-    * Get the value of this element's state attribute.
125
-    *
126
-    * @return string The state's text value
127
-    */
124
+     * Get the value of this element's state attribute.
125
+     *
126
+     * @return string The state's text value
127
+     */
128 128
     public function getStateValue()
129 129
     {
130
-      return $this->getState()->getText();
130
+        return $this->getState()->getText();
131 131
     }
132 132
 
133 133
 }
Please login to merge, or discard this patch.
Switch Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -87,14 +87,14 @@
 block discarded – undo
87 87
     {
88 88
         $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
89 89
         switch ($absoluteNodeName) {
90
-        case $this->lookupNamespace('yt') . ':' . 'state':
91
-            $state = new Zend_Gdata_YouTube_Extension_State();
92
-            $state->transferFromDOM($child);
93
-            $this->_state = $state;
94
-            break;
95
-        default:
96
-            parent::takeChildFromDOM($child);
97
-            break;
90
+            case $this->lookupNamespace('yt') . ':' . 'state':
91
+                $state = new Zend_Gdata_YouTube_Extension_State();
92
+                $state->transferFromDOM($child);
93
+                $this->_state = $state;
94
+                break;
95
+            default:
96
+                parent::takeChildFromDOM($child);
97
+                break;
98 98
         }
99 99
     }
100 100
 
Please login to merge, or discard this patch.