Completed
Push — master ( 96df1a...267f86 )
by Naveen
09:52
created
vendor/sebastian/comparator/tests/ResourceComparatorTest.php 1 patch
Braces   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -100,9 +100,7 @@
 block discarded – undo
100 100
 
101 101
         try {
102 102
             $this->comparator->assertEquals($expected, $actual);
103
-        }
104
-
105
-        catch (ComparisonFailure $exception) {
103
+        } catch (ComparisonFailure $exception) {
106 104
         }
107 105
 
108 106
         $this->assertNull($exception, 'Unexpected ComparisonFailure');
Please login to merge, or discard this patch.
vendor/sebastian/comparator/tests/ScalarComparatorTest.php 1 patch
Braces   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -136,9 +136,7 @@
 block discarded – undo
136 136
 
137 137
         try {
138 138
             $this->comparator->assertEquals($expected, $actual, 0.0, false, $ignoreCase);
139
-        }
140
-
141
-        catch (ComparisonFailure $exception) {
139
+        } catch (ComparisonFailure $exception) {
142 140
         }
143 141
 
144 142
         $this->assertNull($exception, 'Unexpected ComparisonFailure');
Please login to merge, or discard this patch.
vendor/sebastian/comparator/tests/SplObjectStorageComparatorTest.php 1 patch
Braces   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -114,9 +114,7 @@
 block discarded – undo
114 114
 
115 115
         try {
116 116
             $this->comparator->assertEquals($expected, $actual);
117
-        }
118
-
119
-        catch (ComparisonFailure $exception) {
117
+        } catch (ComparisonFailure $exception) {
120 118
         }
121 119
 
122 120
         $this->assertNull($exception, 'Unexpected ComparisonFailure');
Please login to merge, or discard this patch.
vendor/sebastian/comparator/tests/TypeComparatorTest.php 1 patch
Braces   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -84,9 +84,7 @@
 block discarded – undo
84 84
 
85 85
         try {
86 86
             $this->comparator->assertEquals($expected, $actual);
87
-        }
88
-
89
-        catch (ComparisonFailure $exception) {
87
+        } catch (ComparisonFailure $exception) {
90 88
         }
91 89
 
92 90
         $this->assertNull($exception, 'Unexpected ComparisonFailure');
Please login to merge, or discard this patch.
vendor/sebastian/exporter/src/Exporter.php 1 patch
Braces   +2 added lines, -6 removed lines patch added patch discarded remove patch
@@ -67,17 +67,13 @@
 block discarded – undo
67 67
             if (is_array($value)) {
68 68
                 if ($context->contains($data[$key]) !== false) {
69 69
                     $result[] = '*RECURSION*';
70
-                }
71
-
72
-                else {
70
+                } else {
73 71
                     $result[] = sprintf(
74 72
                         'array(%s)',
75 73
                         $this->shortenedRecursiveExport($data[$key], $context)
76 74
                     );
77 75
                 }
78
-            }
79
-
80
-            else {
76
+            } else {
81 77
                 $result[] = $exporter->shortenedExport($value);
82 78
             }
83 79
         }
Please login to merge, or discard this patch.
vendor/sebastian/recursion-context/src/Context.php 1 patch
Braces   +2 added lines, -6 removed lines patch added patch discarded remove patch
@@ -48,9 +48,7 @@  discard block
 block discarded – undo
48 48
     {
49 49
         if (is_array($value)) {
50 50
             return $this->addArray($value);
51
-        }
52
-
53
-        else if (is_object($value)) {
51
+        } else if (is_object($value)) {
54 52
             return $this->addObject($value);
55 53
         }
56 54
 
@@ -73,9 +71,7 @@  discard block
 block discarded – undo
73 71
     {
74 72
         if (is_array($value)) {
75 73
             return $this->containsArray($value);
76
-        }
77
-
78
-        else if (is_object($value)) {
74
+        } else if (is_object($value)) {
79 75
             return $this->containsObject($value);
80 76
         }
81 77
 
Please login to merge, or discard this patch.