Completed
Push — master ( 85e358...cf3219 )
by Rakesh
04:24 queued 10s
created
lib/Zend/Gdata/Exif/Entry.php 1 patch
Switch Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -102,14 +102,14 @@
 block discarded – undo
102 102
     {
103 103
         $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
104 104
         switch ($absoluteNodeName) {
105
-        case $this->lookupNamespace('exif') . ':' . 'tags':
106
-            $tags = new Zend_Gdata_Exif_Extension_Tags();
107
-            $tags->transferFromDOM($child);
108
-            $this->_tags = $tags;
109
-            break;
110
-        default:
111
-            parent::takeChildFromDOM($child);
112
-            break;
105
+            case $this->lookupNamespace('exif') . ':' . 'tags':
106
+                $tags = new Zend_Gdata_Exif_Extension_Tags();
107
+                $tags->transferFromDOM($child);
108
+                $this->_tags = $tags;
109
+                break;
110
+            default:
111
+                parent::takeChildFromDOM($child);
112
+                break;
113 113
         }
114 114
     }
115 115
 
Please login to merge, or discard this patch.
lib/Zend/Gdata/YouTube/ActivityEntry.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -109,16 +109,16 @@
 block discarded – undo
109 109
     {
110 110
         $element = parent::getDOM($doc, $majorVersion, $minorVersion);
111 111
         if ($this->_videoId !== null) {
112
-          $element->appendChild($this->_videoId->getDOM(
113
-              $element->ownerDocument));
112
+            $element->appendChild($this->_videoId->getDOM(
113
+                $element->ownerDocument));
114 114
         }
115 115
         if ($this->_username !== null) {
116
-          $element->appendChild($this->_username->getDOM(
117
-              $element->ownerDocument));
116
+            $element->appendChild($this->_username->getDOM(
117
+                $element->ownerDocument));
118 118
         }
119 119
         if ($this->_rating !== null) {
120
-          $element->appendChild($this->_rating->getDOM(
121
-              $element->ownerDocument));
120
+            $element->appendChild($this->_rating->getDOM(
121
+                $element->ownerDocument));
122 122
         }
123 123
         return $element;
124 124
     }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -211,7 +211,7 @@
 block discarded – undo
211 211
     public function getActivityType()
212 212
     {
213 213
         $categories = $this->getCategory();
214
-        foreach($categories as $category) {
214
+        foreach ($categories as $category) {
215 215
             if ($category->getScheme() == self::ACTIVITY_CATEGORY_SCHEME) {
216 216
                 return $category->getTerm();
217 217
             }
Please login to merge, or discard this patch.
lib/Zend/Gdata/YouTube/PlaylistListEntry.php 1 patch
Switch Indentation   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -147,29 +147,29 @@
 block discarded – undo
147 147
     {
148 148
         $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
149 149
         switch ($absoluteNodeName) {
150
-        case $this->lookupNamespace('yt') . ':' . 'description':
151
-            $description = new Zend_Gdata_YouTube_Extension_Description();
152
-            $description->transferFromDOM($child);
153
-            $this->_description = $description;
154
-            break;
155
-        case $this->lookupNamespace('yt') . ':' . 'countHint':
156
-            $countHint = new Zend_Gdata_YouTube_Extension_CountHint();
157
-            $countHint->transferFromDOM($child);
158
-            $this->_countHint = $countHint;
159
-            break;
160
-        case $this->lookupNamespace('yt') . ':' . 'playlistId':
161
-            $playlistId = new Zend_Gdata_YouTube_Extension_PlaylistId();
162
-            $playlistId->transferFromDOM($child);
163
-            $this->_playlistId = $playlistId;
164
-            break;
165
-        case $this->lookupNamespace('gd') . ':' . 'feedLink':
166
-            $feedLink = new Zend_Gdata_Extension_FeedLink();
167
-            $feedLink->transferFromDOM($child);
168
-            $this->_feedLink[] = $feedLink;
169
-            break;
170
-        default:
171
-            parent::takeChildFromDOM($child);
172
-            break;
150
+            case $this->lookupNamespace('yt') . ':' . 'description':
151
+                $description = new Zend_Gdata_YouTube_Extension_Description();
152
+                $description->transferFromDOM($child);
153
+                $this->_description = $description;
154
+                break;
155
+            case $this->lookupNamespace('yt') . ':' . 'countHint':
156
+                $countHint = new Zend_Gdata_YouTube_Extension_CountHint();
157
+                $countHint->transferFromDOM($child);
158
+                $this->_countHint = $countHint;
159
+                break;
160
+            case $this->lookupNamespace('yt') . ':' . 'playlistId':
161
+                $playlistId = new Zend_Gdata_YouTube_Extension_PlaylistId();
162
+                $playlistId->transferFromDOM($child);
163
+                $this->_playlistId = $playlistId;
164
+                break;
165
+            case $this->lookupNamespace('gd') . ':' . 'feedLink':
166
+                $feedLink = new Zend_Gdata_Extension_FeedLink();
167
+                $feedLink->transferFromDOM($child);
168
+                $this->_feedLink[] = $feedLink;
169
+                break;
170
+            default:
171
+                parent::takeChildFromDOM($child);
172
+                break;
173 173
         }
174 174
     }
175 175
 
Please login to merge, or discard this patch.
lib/Zend/Gdata/YouTube/MediaEntry.php 1 patch
Switch Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -67,14 +67,14 @@
 block discarded – undo
67 67
     {
68 68
         $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
69 69
         switch ($absoluteNodeName) {
70
-        case $this->lookupNamespace('media') . ':' . 'group':
71
-            $mediaGroup = new Zend_Gdata_YouTube_Extension_MediaGroup();
72
-            $mediaGroup->transferFromDOM($child);
73
-            $this->_mediaGroup = $mediaGroup;
74
-            break;
75
-        default:
76
-            parent::takeChildFromDOM($child);
77
-            break;
70
+            case $this->lookupNamespace('media') . ':' . 'group':
71
+                $mediaGroup = new Zend_Gdata_YouTube_Extension_MediaGroup();
72
+                $mediaGroup->transferFromDOM($child);
73
+                $this->_mediaGroup = $mediaGroup;
74
+                break;
75
+            default:
76
+                parent::takeChildFromDOM($child);
77
+                break;
78 78
         }
79 79
     }
80 80
 
Please login to merge, or discard this patch.
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.