Completed
Push — master ( 85e358...cf3219 )
by Rakesh
04:24 queued 10s
created
lib/Zend/Gdata/Calendar/ListEntry.php 1 patch
Switch Indentation   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -118,39 +118,39 @@
 block discarded – undo
118 118
     {
119 119
         $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
120 120
         switch ($absoluteNodeName) {
121
-        case $this->lookupNamespace('gCal') . ':' . 'accesslevel';
122
-            $accessLevel = new Zend_Gdata_Calendar_Extension_AccessLevel();
123
-            $accessLevel->transferFromDOM($child);
124
-            $this->_accessLevel = $accessLevel;
125
-            break;
126
-        case $this->lookupNamespace('gCal') . ':' . 'color';
127
-            $color = new Zend_Gdata_Calendar_Extension_Color();
128
-            $color->transferFromDOM($child);
129
-            $this->_color = $color;
130
-            break;
131
-        case $this->lookupNamespace('gCal') . ':' . 'hidden';
132
-            $hidden = new Zend_Gdata_Calendar_Extension_Hidden();
133
-            $hidden->transferFromDOM($child);
134
-            $this->_hidden = $hidden;
135
-            break;
136
-        case $this->lookupNamespace('gCal') . ':' . 'selected';
137
-            $selected = new Zend_Gdata_Calendar_Extension_Selected();
138
-            $selected->transferFromDOM($child);
139
-            $this->_selected = $selected;
140
-            break;
141
-        case $this->lookupNamespace('gCal') . ':' . 'timezone';
142
-            $timezone = new Zend_Gdata_Calendar_Extension_Timezone();
143
-            $timezone->transferFromDOM($child);
144
-            $this->_timezone = $timezone;
145
-            break;
146
-        case $this->lookupNamespace('gd') . ':' . 'where';
147
-            $where = new Zend_Gdata_Extension_Where();
148
-            $where->transferFromDOM($child);
149
-            $this->_where[] = $where;
150
-            break;
151
-        default:
152
-            parent::takeChildFromDOM($child);
153
-            break;
121
+            case $this->lookupNamespace('gCal') . ':' . 'accesslevel';
122
+                $accessLevel = new Zend_Gdata_Calendar_Extension_AccessLevel();
123
+                $accessLevel->transferFromDOM($child);
124
+                $this->_accessLevel = $accessLevel;
125
+                break;
126
+            case $this->lookupNamespace('gCal') . ':' . 'color';
127
+                $color = new Zend_Gdata_Calendar_Extension_Color();
128
+                $color->transferFromDOM($child);
129
+                $this->_color = $color;
130
+                break;
131
+            case $this->lookupNamespace('gCal') . ':' . 'hidden';
132
+                $hidden = new Zend_Gdata_Calendar_Extension_Hidden();
133
+                $hidden->transferFromDOM($child);
134
+                $this->_hidden = $hidden;
135
+                break;
136
+            case $this->lookupNamespace('gCal') . ':' . 'selected';
137
+                $selected = new Zend_Gdata_Calendar_Extension_Selected();
138
+                $selected->transferFromDOM($child);
139
+                $this->_selected = $selected;
140
+                break;
141
+            case $this->lookupNamespace('gCal') . ':' . 'timezone';
142
+                $timezone = new Zend_Gdata_Calendar_Extension_Timezone();
143
+                $timezone->transferFromDOM($child);
144
+                $this->_timezone = $timezone;
145
+                break;
146
+            case $this->lookupNamespace('gd') . ':' . 'where';
147
+                $where = new Zend_Gdata_Extension_Where();
148
+                $where->transferFromDOM($child);
149
+                $this->_where[] = $where;
150
+                break;
151
+            default:
152
+                parent::takeChildFromDOM($child);
153
+                break;
154 154
         }
155 155
     }
156 156
 
Please login to merge, or discard this patch.
lib/Zend/Gdata/Calendar/ListFeed.php 1 patch
Switch Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -77,14 +77,14 @@
 block discarded – undo
77 77
     {
78 78
         $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
79 79
         switch ($absoluteNodeName) {
80
-        case $this->lookupNamespace('gCal') . ':' . 'timezone';
81
-            $timezone = new Zend_Gdata_Calendar_Extension_Timezone();
82
-            $timezone->transferFromDOM($child);
83
-            $this->_timezone = $timezone;
84
-            break;
85
-        default:
86
-            parent::takeChildFromDOM($child);
87
-            break;
80
+            case $this->lookupNamespace('gCal') . ':' . 'timezone';
81
+                $timezone = new Zend_Gdata_Calendar_Extension_Timezone();
82
+                $timezone->transferFromDOM($child);
83
+                $this->_timezone = $timezone;
84
+                break;
85
+            default:
86
+                parent::takeChildFromDOM($child);
87
+                break;
88 88
         }
89 89
     }
90 90
 
Please login to merge, or discard this patch.
lib/Zend/Gdata/Extension/Visibility.php 1 patch
Switch Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -80,11 +80,11 @@
 block discarded – undo
80 80
     protected function takeAttributeFromDOM($attribute)
81 81
     {
82 82
         switch ($attribute->localName) {
83
-        case 'value':
84
-            $this->_value = $attribute->nodeValue;
85
-            break;
86
-        default:
87
-            parent::takeAttributeFromDOM($attribute);
83
+            case 'value':
84
+                $this->_value = $attribute->nodeValue;
85
+                break;
86
+            default:
87
+                parent::takeAttributeFromDOM($attribute);
88 88
         }
89 89
     }
90 90
 
Please login to merge, or discard this patch.
lib/Zend/Gdata/Extension/AttendeeType.php 1 patch
Switch Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -80,11 +80,11 @@
 block discarded – undo
80 80
     protected function takeAttributeFromDOM($attribute)
81 81
     {
82 82
         switch ($attribute->localName) {
83
-        case 'value':
84
-            $this->_value = $attribute->nodeValue;
85
-            break;
86
-        default:
87
-            parent::takeAttributeFromDOM($attribute);
83
+            case 'value':
84
+                $this->_value = $attribute->nodeValue;
85
+                break;
86
+            default:
87
+                parent::takeAttributeFromDOM($attribute);
88 88
         }
89 89
     }
90 90
 
Please login to merge, or discard this patch.
lib/Zend/Gdata/Extension/ExtendedProperty.php 1 patch
Switch Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -65,14 +65,14 @@
 block discarded – undo
65 65
     protected function takeAttributeFromDOM($attribute)
66 66
     {
67 67
         switch ($attribute->localName) {
68
-        case 'name':
69
-            $this->_name = $attribute->nodeValue;
70
-            break;
71
-        case 'value':
72
-            $this->_value = $attribute->nodeValue;
73
-            break;
74
-        default:
75
-            parent::takeAttributeFromDOM($attribute);
68
+            case 'name':
69
+                $this->_name = $attribute->nodeValue;
70
+                break;
71
+            case 'value':
72
+                $this->_value = $attribute->nodeValue;
73
+                break;
74
+            default:
75
+                parent::takeAttributeFromDOM($attribute);
76 76
         }
77 77
     }
78 78
 
Please login to merge, or discard this patch.
lib/Zend/Gdata/Extension/RecurrenceException.php 1 patch
Switch Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -103,19 +103,19 @@  discard block
 block discarded – undo
103 103
     protected function takeAttributeFromDOM($attribute)
104 104
     {
105 105
         switch ($attribute->localName) {
106
-        case 'specialized':
107
-            if ($attribute->nodeValue == "true") {
108
-                $this->_specialized = true;
109
-            }
110
-            else if ($attribute->nodeValue == "false") {
111
-                $this->_specialized = false;
112
-            }
113
-            else {
114
-                throw new Zend_Gdata_App_InvalidArgumentException("Expected 'true' or 'false' for gCal:selected#value.");
115
-            }
116
-            break;
117
-        default:
118
-            parent::takeAttributeFromDOM($attribute);
106
+            case 'specialized':
107
+                if ($attribute->nodeValue == "true") {
108
+                    $this->_specialized = true;
109
+                }
110
+                else if ($attribute->nodeValue == "false") {
111
+                    $this->_specialized = false;
112
+                }
113
+                else {
114
+                    throw new Zend_Gdata_App_InvalidArgumentException("Expected 'true' or 'false' for gCal:selected#value.");
115
+                }
116
+                break;
117
+            default:
118
+                parent::takeAttributeFromDOM($attribute);
119 119
         }
120 120
     }
121 121
 
@@ -129,19 +129,19 @@  discard block
 block discarded – undo
129 129
     {
130 130
         $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
131 131
         switch ($absoluteNodeName) {
132
-        case $this->lookupNamespace('gd') . ':' . 'entryLink':
133
-            $entryLink = new Zend_Gdata_Extension_EntryLink();
134
-            $entryLink->transferFromDOM($child);
135
-            $this->_entryLink = $entryLink;
136
-            break;
137
-        case $this->lookupNamespace('gd') . ':' . 'originalEvent':
138
-            $originalEvent = new Zend_Gdata_Extension_OriginalEvent();
139
-            $originalEvent->transferFromDOM($child);
140
-            $this->_originalEvent = $originalEvent;
141
-            break;
142
-        default:
143
-            parent::takeChildFromDOM($child);
144
-            break;
132
+            case $this->lookupNamespace('gd') . ':' . 'entryLink':
133
+                $entryLink = new Zend_Gdata_Extension_EntryLink();
134
+                $entryLink->transferFromDOM($child);
135
+                $this->_entryLink = $entryLink;
136
+                break;
137
+            case $this->lookupNamespace('gd') . ':' . 'originalEvent':
138
+                $originalEvent = new Zend_Gdata_Extension_OriginalEvent();
139
+                $originalEvent->transferFromDOM($child);
140
+                $this->_originalEvent = $originalEvent;
141
+                break;
142
+            default:
143
+                parent::takeChildFromDOM($child);
144
+                break;
145 145
         }
146 146
     }
147 147
 
Please login to merge, or discard this patch.
lib/Zend/Gdata/Extension/Who.php 1 patch
Switch Indentation   +29 added lines, -29 removed lines patch added patch discarded remove patch
@@ -126,17 +126,17 @@  discard block
 block discarded – undo
126 126
     protected function takeAttributeFromDOM($attribute)
127 127
     {
128 128
         switch ($attribute->localName) {
129
-        case 'email':
130
-            $this->_email = $attribute->nodeValue;
131
-            break;
132
-        case 'rel':
133
-            $this->_rel = $attribute->nodeValue;
134
-            break;
135
-        case 'valueString':
136
-            $this->_valueString = $attribute->nodeValue;
137
-            break;
138
-        default:
139
-            parent::takeAttributeFromDOM($attribute);
129
+            case 'email':
130
+                $this->_email = $attribute->nodeValue;
131
+                break;
132
+            case 'rel':
133
+                $this->_rel = $attribute->nodeValue;
134
+                break;
135
+            case 'valueString':
136
+                $this->_valueString = $attribute->nodeValue;
137
+                break;
138
+            default:
139
+                parent::takeAttributeFromDOM($attribute);
140 140
         }
141 141
     }
142 142
 
@@ -150,24 +150,24 @@  discard block
 block discarded – undo
150 150
     {
151 151
         $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
152 152
         switch ($absoluteNodeName) {
153
-        case $this->lookupNamespace('gd') . ':' . 'attendeeStatus':
154
-            $attendeeStatus = new Zend_Gdata_Extension_AttendeeStatus();
155
-            $attendeeStatus->transferFromDOM($child);
156
-            $this->_attendeeStatus = $attendeeStatus;
157
-            break;
158
-        case $this->lookupNamespace('gd') . ':' . 'attendeeType':
159
-            $attendeeType = new Zend_Gdata_Extension_AttendeeType();
160
-            $attendeeType->transferFromDOM($child);
161
-            $this->_attendeeType = $attendeeType;
162
-            break;
163
-        case $this->lookupNamespace('gd') . ':' . 'entryLink':
164
-            $entryLink = new Zend_Gdata_Extension_EntryLink();
165
-            $entryLink->transferFromDOM($child);
166
-            $this->_entryLink = $entryLink;
167
-            break;
168
-        default:
169
-            parent::takeChildFromDOM($child);
170
-            break;
153
+            case $this->lookupNamespace('gd') . ':' . 'attendeeStatus':
154
+                $attendeeStatus = new Zend_Gdata_Extension_AttendeeStatus();
155
+                $attendeeStatus->transferFromDOM($child);
156
+                $this->_attendeeStatus = $attendeeStatus;
157
+                break;
158
+            case $this->lookupNamespace('gd') . ':' . 'attendeeType':
159
+                $attendeeType = new Zend_Gdata_Extension_AttendeeType();
160
+                $attendeeType->transferFromDOM($child);
161
+                $this->_attendeeType = $attendeeType;
162
+                break;
163
+            case $this->lookupNamespace('gd') . ':' . 'entryLink':
164
+                $entryLink = new Zend_Gdata_Extension_EntryLink();
165
+                $entryLink->transferFromDOM($child);
166
+                $this->_entryLink = $entryLink;
167
+                break;
168
+            default:
169
+                parent::takeChildFromDOM($child);
170
+                break;
171 171
         }
172 172
     }
173 173
 
Please login to merge, or discard this patch.
lib/Zend/Gdata/Extension/AttendeeStatus.php 1 patch
Switch Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -80,11 +80,11 @@
 block discarded – undo
80 80
     protected function takeAttributeFromDOM($attribute)
81 81
     {
82 82
         switch ($attribute->localName) {
83
-        case 'value':
84
-            $this->_value = $attribute->nodeValue;
85
-            break;
86
-        default:
87
-            parent::takeAttributeFromDOM($attribute);
83
+            case 'value':
84
+                $this->_value = $attribute->nodeValue;
85
+                break;
86
+            default:
87
+                parent::takeAttributeFromDOM($attribute);
88 88
         }
89 89
     }
90 90
 
Please login to merge, or discard this patch.
lib/Zend/Gdata/Extension/Transparency.php 1 patch
Switch Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -80,11 +80,11 @@
 block discarded – undo
80 80
     protected function takeAttributeFromDOM($attribute)
81 81
     {
82 82
         switch ($attribute->localName) {
83
-        case 'value':
84
-            $this->_value = $attribute->nodeValue;
85
-            break;
86
-        default:
87
-            parent::takeAttributeFromDOM($attribute);
83
+            case 'value':
84
+                $this->_value = $attribute->nodeValue;
85
+                break;
86
+            default:
87
+                parent::takeAttributeFromDOM($attribute);
88 88
         }
89 89
     }
90 90
 
Please login to merge, or discard this patch.