Failed Conditions
Pull Request — master (#191)
by Emanuele
03:09
created
src/FacebookAds/Object/TargetingSearch.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,8 @@
 block discarded – undo
41 41
      */
42 42
     public static function search(
43 43
         $type,
44
-        $class=null,
45
-        $query=null,
44
+        $class = null,
45
+        $query = null,
46 46
         array $params = array(),
47 47
         Api $api = null
48 48
     ) {
Please login to merge, or discard this patch.
src/FacebookAds/Object/AdAccount.php 1 patch
Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -1,26 +1,26 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
4
- *
5
- * You are hereby granted a non-exclusive, worldwide, royalty-free license to
6
- * use, copy, modify, and distribute this software in source code or binary
7
- * form for use in connection with the web services and APIs provided by
8
- * Facebook.
9
- *
10
- * As with any software that integrates with the Facebook platform, your use
11
- * of this software is subject to the Facebook Developer Principles and
12
- * Policies [http://developers.facebook.com/policy/]. This copyright notice
13
- * shall be included in all copies or substantial portions of the software.
14
- *
15
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21
- * DEALINGS IN THE SOFTWARE.
22
- *
23
- */
3
+     * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
4
+     *
5
+     * You are hereby granted a non-exclusive, worldwide, royalty-free license to
6
+     * use, copy, modify, and distribute this software in source code or binary
7
+     * form for use in connection with the web services and APIs provided by
8
+     * Facebook.
9
+     *
10
+     * As with any software that integrates with the Facebook platform, your use
11
+     * of this software is subject to the Facebook Developer Principles and
12
+     * Policies [http://developers.facebook.com/policy/]. This copyright notice
13
+     * shall be included in all copies or substantial portions of the software.
14
+     *
15
+     * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+     * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+     * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18
+     * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+     * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20
+     * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21
+     * DEALINGS IN THE SOFTWARE.
22
+     *
23
+     */
24 24
 
25 25
 namespace FacebookAds\Object;
26 26
 
@@ -75,11 +75,11 @@  discard block
 block discarded – undo
75 75
         return $this->getManyByConnection(AdUser::className(), $fields, $params);
76 76
     }
77 77
 
78
-     /**
79
-     * @param array $fields
80
-     * @param array $params
81
-     * @return Cursor
82
-     */
78
+      /**
79
+       * @param array $fields
80
+       * @param array $params
81
+       * @return Cursor
82
+       */
83 83
     public function getCampaigns(
84 84
         array $fields = array(), array $params = array())
85 85
     {
Please login to merge, or discard this patch.
src/FacebookAds/Object/Values/AdAccountRoles.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
  */
32 32
 class AdAccountRoles extends AbstractEnum
33 33
 {
34
-    const ADMIN    = 'ADMIN';
34
+    const ADMIN = 'ADMIN';
35 35
     const GENERAL_USER = 'GENERAL_USER';
36 36
     const REPORTS_ONLY = 'REPORTS_ONLY';
37 37
 }
Please login to merge, or discard this patch.
src/FacebookAds/Object/Values/AdFormats.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,5 +38,5 @@
 block discarded – undo
38 38
     const MOBILE_INTERSTITIAL = 'MOBILE_INTERSTITIAL';
39 39
     const MOBILE_FEED_BASIC = 'MOBILE_FEED_BASIC';
40 40
     const MOBILE_NATIVE = 'MOBILE_NATIVE';
41
-    const INSTAGRAM_STANDARD= 'INSTAGRAM_STANDARD';
41
+    const INSTAGRAM_STANDARD = 'INSTAGRAM_STANDARD';
42 42
 }
Please login to merge, or discard this patch.
src/FacebookAds/Object/Values/PageRoles.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
  */
32 32
 class PageRoles extends AbstractEnum
33 33
 {
34
-    const ADVERTISER    = 'ADVERTISER';
34
+    const ADVERTISER = 'ADVERTISER';
35 35
     const CONTENT_CREATOR = 'CONTENT_CREATOR';
36 36
     const MANAGER = 'MANAGER';
37 37
     const MODERATOR = 'MODERATOR';
Please login to merge, or discard this patch.
src/FacebookAds/Object/Values/AdBuyingTypes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
  */
32 32
 class AdBuyingTypes extends AbstractEnum
33 33
 {
34
-    const AUCTION    = 'AUCTION';
34
+    const AUCTION = 'AUCTION';
35 35
     const FIXED_PRICE = 'FIXED_PRICE';
36 36
     const RESERVED = 'RESERVED';
37 37
 }
Please login to merge, or discard this patch.
src/FacebookAds/Object/Values/UserPermissionRoles.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,6 +31,6 @@
 block discarded – undo
31 31
  */
32 32
 class UserPermissionRoles extends AbstractEnum
33 33
 {
34
-    const ADMIN    = 'ADMIN';
35
-    const EMPLOYEE    = 'EMPLOYEE';
34
+    const ADMIN = 'ADMIN';
35
+    const EMPLOYEE = 'EMPLOYEE';
36 36
 }
Please login to merge, or discard this patch.
src/FacebookAds/Object/Values/TermsOfService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
  */
32 32
 class TermsOfService extends AbstractEnum
33 33
 {
34
-    const CUSTOM_AUDIENCE    = 'custom_audience';
34
+    const CUSTOM_AUDIENCE = 'custom_audience';
35 35
     const WEBSITE_CUSTOM_AUDIENCE = 'website_custom_audience';
36 36
     const MOBILE_APP_CUSTOM_AUDIENCE = 'mobile_app_custom_audience';
37 37
 }
Please login to merge, or discard this patch.
src/FacebookAds/Object/Values/FeedEncoding.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
  */
32 32
 class FeedEncoding extends AbstractEnum
33 33
 {
34
-    const AUTODETECT    = 'AUTODETECT';
34
+    const AUTODETECT = 'AUTODETECT';
35 35
     const ASCII = 'ASCII';
36 36
     const UTF_8 = 'UTF_8';
37 37
     const UTF_16 = 'UTF_16';
Please login to merge, or discard this patch.