Completed
Push — master ( 276db7...0bd148 )
by Rakesh
07:30 queued 03:39
created
lib/Zend/Gdata/Calendar/Extension/Color.php 1 patch
Switch Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -83,11 +83,11 @@
 block discarded – undo
83 83
     protected function takeAttributeFromDOM($attribute)
84 84
     {
85 85
         switch ($attribute->localName) {
86
-        case 'value':
87
-            $this->_value = $attribute->nodeValue;
88
-            break;
89
-        default:
90
-            parent::takeAttributeFromDOM($attribute);
86
+            case 'value':
87
+                $this->_value = $attribute->nodeValue;
88
+                break;
89
+            default:
90
+                parent::takeAttributeFromDOM($attribute);
91 91
         }
92 92
     }
93 93
 
Please login to merge, or discard this patch.
lib/Zend/Gdata/Calendar/Extension/Selected.php 1 patch
Switch Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -82,20 +82,20 @@
 block discarded – undo
82 82
     protected function takeAttributeFromDOM($attribute)
83 83
     {
84 84
         switch ($attribute->localName) {
85
-        case 'value':
86
-            if ($attribute->nodeValue == "true") {
87
-                $this->_value = true;
88
-            }
89
-            else if ($attribute->nodeValue == "false") {
90
-                $this->_value = false;
91
-            }
92
-            else {
93
-                require_once 'Zend/Gdata/App/InvalidArgumentException.php';
94
-                throw new Zend_Gdata_App_InvalidArgumentException("Expected 'true' or 'false' for gCal:selected#value.");
95
-            }
96
-            break;
97
-        default:
98
-            parent::takeAttributeFromDOM($attribute);
85
+            case 'value':
86
+                if ($attribute->nodeValue == "true") {
87
+                    $this->_value = true;
88
+                }
89
+                else if ($attribute->nodeValue == "false") {
90
+                    $this->_value = false;
91
+                }
92
+                else {
93
+                    require_once 'Zend/Gdata/App/InvalidArgumentException.php';
94
+                    throw new Zend_Gdata_App_InvalidArgumentException("Expected 'true' or 'false' for gCal:selected#value.");
95
+                }
96
+                break;
97
+            default:
98
+                parent::takeAttributeFromDOM($attribute);
99 99
         }
100 100
     }
101 101
 
Please login to merge, or discard this patch.
lib/Zend/Gdata/Calendar/Extension/QuickAdd.php 1 patch
Switch Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -82,19 +82,19 @@
 block discarded – undo
82 82
     protected function takeAttributeFromDOM($attribute)
83 83
     {
84 84
         switch ($attribute->localName) {
85
-        case 'value':
86
-            if ($attribute->nodeValue == "true") {
87
-                $this->_value = true;
88
-            }
89
-            else if ($attribute->nodeValue == "false") {
90
-                $this->_value = false;
91
-            }
92
-            else {
93
-                throw new Zend_Gdata_App_InvalidArgumentException("Expected 'true' or 'false' for gCal:selected#value.");
94
-            }
95
-            break;
96
-        default:
97
-            parent::takeAttributeFromDOM($attribute);
85
+            case 'value':
86
+                if ($attribute->nodeValue == "true") {
87
+                    $this->_value = true;
88
+                }
89
+                else if ($attribute->nodeValue == "false") {
90
+                    $this->_value = false;
91
+                }
92
+                else {
93
+                    throw new Zend_Gdata_App_InvalidArgumentException("Expected 'true' or 'false' for gCal:selected#value.");
94
+                }
95
+                break;
96
+            default:
97
+                parent::takeAttributeFromDOM($attribute);
98 98
         }
99 99
     }
100 100
 
Please login to merge, or discard this patch.
lib/Zend/Gdata/Calendar/Extension/Link.php 1 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('gCal') . ':' . 'webContent':
91
-            $webContent = new Zend_Gdata_Calendar_Extension_WebContent();
92
-            $webContent->transferFromDOM($child);
93
-            $this->_webContent = $webContent;
94
-            break;
95
-        default:
96
-            parent::takeChildFromDOM($child);
97
-            break;
90
+            case $this->lookupNamespace('gCal') . ':' . 'webContent':
91
+                $webContent = new Zend_Gdata_Calendar_Extension_WebContent();
92
+                $webContent->transferFromDOM($child);
93
+                $this->_webContent = $webContent;
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/Calendar/Extension/WebContent.php 1 patch
Switch Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,8 +103,8 @@
 block discarded – undo
103 103
                 case 'width':
104 104
                         $this->_width = $attribute->nodeValue;
105 105
                         break;
106
-        default:
107
-            parent::takeAttributeFromDOM($attribute);
106
+            default:
107
+                parent::takeAttributeFromDOM($attribute);
108 108
         }
109 109
     }
110 110
 
Please login to merge, or discard this patch.
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/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.