Failed Conditions
Pull Request — master (#191)
by Emanuele
03:09
created
src/FacebookAds/Object/AdLabel.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -27,23 +27,20 @@
 block discarded – undo
27 27
 use FacebookAds\Object\Fields\AdLabelFields;
28 28
 use FacebookAds\Object\Traits\FieldValidation;
29 29
 
30
-class AdLabel extends AbstractCrudObject
31
-{
30
+class AdLabel extends AbstractCrudObject {
32 31
     use FieldValidation;
33 32
 
34 33
     /**
35 34
      * @return string
36 35
      */
37
-    protected function getEndpoint()
38
-    {
36
+    protected function getEndpoint() {
39 37
         return 'adlabels';
40 38
     }
41 39
 
42 40
     /**
43 41
      * @return AdLabelFields
44 42
      */
45
-    public static function getFieldsEnum()
46
-    {
43
+    public static function getFieldsEnum() {
47 44
         return AdLabelFields::getInstance();
48 45
     }
49 46
 }
Please login to merge, or discard this patch.
src/FacebookAds/Object/ReachEstimate.php 2 patches
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -1,26 +1,26 @@
 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\Fields;
26 26
 
Please login to merge, or discard this patch.
Braces   +5 added lines, -10 removed lines patch added patch discarded remove patch
@@ -27,15 +27,13 @@  discard block
 block discarded – undo
27 27
 use FacebookAds\Object\Fields\ReachEstimateFields;
28 28
 use FacebookAds\Object\Traits\FieldValidation;
29 29
 
30
-class ReachEstimate extends AbstractObject
31
-{
30
+class ReachEstimate extends AbstractObject {
32 31
     use FieldValidation;
33 32
 
34 33
     /**
35 34
      * @return ReachEstimateFields
36 35
      */
37
-    public static function getFieldsEnum()
38
-    {
36
+    public static function getFieldsEnum() {
39 37
         return ReachEstimateFields::getInstance();
40 38
     }
41 39
 
@@ -43,8 +41,7 @@  discard block
 block discarded – undo
43 41
      * @param array $data
44 42
      * @return array
45 43
      */
46
-    protected function normalizeData(array $data)
47
-    {
44
+    protected function normalizeData(array $data) {
48 45
         return array_key_exists('data', $data)
49 46
             ? $data['data']
50 47
             : $data;
@@ -54,8 +51,7 @@  discard block
 block discarded – undo
54 51
      * @param array
55 52
      * @return $this
56 53
      */
57
-    public function setData(array $data)
58
-    {
54
+    public function setData(array $data) {
59 55
         return parent::setData($this->normalizeData($data));
60 56
     }
61 57
 
@@ -63,8 +59,7 @@  discard block
 block discarded – undo
63 59
      * @param array
64 60
      * @return $this
65 61
      */
66
-    public function setDataWithoutValidation(array $data)
67
-    {
62
+    public function setDataWithoutValidation(array $data) {
68 63
         return parent::setDataWithoutValidation($this->normalizeData($data));
69 64
     }
70 65
 }
Please login to merge, or discard this patch.
src/FacebookAds/Object/Values/AdAccountRoles.php 3 patches
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -1,26 +1,26 @@
 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\Fields;
26 26
 
Please login to merge, or discard this 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.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,7 @@
 block discarded – undo
29 29
 /**
30 30
  * @method static AdAccountRoles getInstance()
31 31
  */
32
-class AdAccountRoles extends AbstractEnum
33
-{
32
+class AdAccountRoles extends AbstractEnum {
34 33
     const ADMIN    = 'ADMIN';
35 34
     const GENERAL_USER = 'GENERAL_USER';
36 35
     const REPORTS_ONLY = 'REPORTS_ONLY';
Please login to merge, or discard this patch.
src/FacebookAds/Object/Values/CallToActionTypes.php 2 patches
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -1,26 +1,26 @@
 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\Fields;
26 26
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,7 @@
 block discarded – undo
29 29
 /**
30 30
  * @method static CallToActionTypes getInstance()
31 31
  */
32
-class CallToActionTypes extends AbstractEnum
33
-{
32
+class CallToActionTypes extends AbstractEnum {
34 33
     const BOOK_TRAVEL = 'BOOK_TRAVEL';
35 34
     const BUY_NOW = 'BUY_NOW';
36 35
     const CALL_NOW = 'CALL_NOW';
Please login to merge, or discard this patch.
src/FacebookAds/Object/Values/AdFormats.php 3 patches
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -1,26 +1,26 @@
 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\Fields;
26 26
 
Please login to merge, or discard this 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.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,7 @@
 block discarded – undo
29 29
 /**
30 30
  * @method static AdFormats getInstance()
31 31
  */
32
-class AdFormats extends AbstractEnum
33
-{
32
+class AdFormats extends AbstractEnum {
34 33
     const RIGHT_COLUMN_STANDARD = 'RIGHT_COLUMN_STANDARD';
35 34
     const DESKTOP_FEED_STANDARD = 'DESKTOP_FEED_STANDARD';
36 35
     const MOBILE_FEED_STANDARD = 'MOBILE_FEED_STANDARD';
Please login to merge, or discard this patch.
src/FacebookAds/Object/Values/AdsPixelStatAggregations.php 2 patches
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -1,26 +1,26 @@
 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\Fields;
26 26
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,7 @@
 block discarded – undo
29 29
 /**
30 30
  * @method static AdsPixelStatAggregations getInstance()
31 31
  */
32
-class AdsPixelStatAggregations extends AbstractEnum
33
-{
32
+class AdsPixelStatAggregations extends AbstractEnum {
34 33
     const BROWSER_TYPE = 'browser_type';
35 34
     const CUSTOM_DATA_FIELD = 'custom_data_field';
36 35
     const DEVICE_TYPE = 'device_type';
Please login to merge, or discard this patch.
src/FacebookAds/Object/Values/InsightsOperators.php 2 patches
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -1,26 +1,26 @@
 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\Fields;
26 26
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,7 @@
 block discarded – undo
29 29
 /**
30 30
  * @method static InsightsOperators getInstance()
31 31
  */
32
-class InsightsOperators extends AbstractEnum
33
-{
32
+class InsightsOperators extends AbstractEnum {
34 33
     const ALL = 'ALL';
35 34
     const ANY = 'ANY';
36 35
     const CONTAIN = 'CONTAIN';
Please login to merge, or discard this patch.
src/FacebookAds/Object/Values/PageRoles.php 3 patches
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -1,26 +1,26 @@
 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\Fields;
26 26
 
Please login to merge, or discard this 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.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,7 @@
 block discarded – undo
29 29
 /**
30 30
  * @method static PageRoles getInstance()
31 31
  */
32
-class PageRoles extends AbstractEnum
33
-{
32
+class PageRoles extends AbstractEnum {
34 33
     const ADVERTISER    = 'ADVERTISER';
35 34
     const CONTENT_CREATOR = 'CONTENT_CREATOR';
36 35
     const MANAGER = 'MANAGER';
Please login to merge, or discard this patch.
src/FacebookAds/Object/Values/InsightsActionBreakdowns.php 2 patches
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -1,26 +1,26 @@
 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\Fields;
26 26
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,7 @@
 block discarded – undo
29 29
 /**
30 30
  * @method static InsightsActionBreakdowns getInstance()
31 31
  */
32
-class InsightsActionBreakdowns extends AbstractEnum
33
-{
32
+class InsightsActionBreakdowns extends AbstractEnum {
34 33
     const ACTION_CAROUSEL_CARD_ID = 'action_carousel_card_id';
35 34
     const ACTION_CAROUSEL_CARD_NAME = 'action_carousel_card_name';
36 35
     const ACTION_DESTINATION = 'action_destination';
Please login to merge, or discard this patch.