Completed
Push — master ( cf3219...0b31bd )
by Rakesh
03:52
created
lib/Facebook/FacebookApp.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
     public function __construct($id, $secret)
48 48
     {
49 49
         if (!is_string($id)
50
-          // Keeping this for BC. Integers greater than PHP_INT_MAX will make is_int() return false
50
+            // Keeping this for BC. Integers greater than PHP_INT_MAX will make is_int() return false
51 51
           && !is_int($id)) {
52 52
             throw new FacebookSDKException('The "app_id" must be formatted as a string since many app ID\'s are greater than PHP_INT_MAX on some systems.');
53 53
         }
Please login to merge, or discard this patch.
lib/Facebook/Facebook.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -602,8 +602,8 @@
 block discarded – undo
602 602
         } while (!$chunk->isLastChunk());
603 603
 
604 604
         return [
605
-          'video_id' => $chunk->getVideoId(),
606
-          'success' => $uploader->finish($endpoint, $chunk->getUploadSessionId(), $metadata),
605
+            'video_id' => $chunk->getVideoId(),
606
+            'success' => $uploader->finish($endpoint, $chunk->getUploadSessionId(), $metadata),
607 607
         ];
608 608
     }
609 609
 
Please login to merge, or discard this patch.
fb-callback.php 2 patches
Indentation   +1 added lines, -6 removed lines patch added patch discarded remove patch
@@ -75,9 +75,4 @@
 block discarded – undo
75 75
     var_dump($accessToken->getValue());
76 76
 }
77 77
 
78
-$_SESSION['fb_access_token'] = (string)$accessToken;
79
-
80
-header('Location: member.php');
81
-?>
82
-</body>
83
-</html>
84 78
\ No newline at end of file
79
+$_SESSION['fb_access_token'] = (string)$accessToken
85 80
\ No newline at end of file
Please login to merge, or discard this patch.
Switch Indentation   +1 added lines, -6 removed lines patch added patch discarded remove patch
@@ -75,9 +75,4 @@
 block discarded – undo
75 75
     var_dump($accessToken->getValue());
76 76
 }
77 77
 
78
-$_SESSION['fb_access_token'] = (string)$accessToken;
79
-
80
-header('Location: member.php');
81
-?>
82
-</body>
83
-</html>
84 78
\ No newline at end of file
79
+$_SESSION['fb_access_token'] = (string)$accessToken
85 80
\ No newline at end of file
Please login to merge, or discard this patch.
lib/Zend/Exception.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,8 +77,8 @@
 block discarded – undo
77 77
         if (version_compare(PHP_VERSION, '5.3.0', '<')) {
78 78
             if (null !== ($e = $this->getPrevious())) {
79 79
                 return $e->__toString()
80
-                       . "\n\nNext "
81
-                       . parent::__toString();
80
+                        . "\n\nNext "
81
+                        . parent::__toString();
82 82
             }
83 83
         }
84 84
         return parent::__toString();
Please login to merge, or discard this patch.
lib/Zend/Uri/Http.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -254,13 +254,13 @@
 block discarded – undo
254 254
         $fragment = strlen($this->_fragment) > 0 ? "#$this->_fragment" : '';
255 255
 
256 256
         return $this->_scheme
257
-             . '://'
258
-             . $auth
259
-             . $this->_host
260
-             . $port
261
-             . $this->_path
262
-             . $query
263
-             . $fragment;
257
+                . '://'
258
+                . $auth
259
+                . $this->_host
260
+                . $port
261
+                . $this->_path
262
+                . $query
263
+                . $fragment;
264 264
     }
265 265
 
266 266
     /**
Please login to merge, or discard this patch.
lib/Zend/Gdata/Books.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
         $this->registerPackage('Zend_Gdata_Books_Extension');
91 91
         parent::__construct($client, $applicationId);
92 92
         $this->_httpClient->setParameterPost('service', self::AUTH_SERVICE_NAME);
93
-     }
93
+        }
94 94
 
95 95
     /**
96 96
      * Retrieves a feed of volumes.
Please login to merge, or discard this patch.
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 1 patch
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.
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.