Completed
Push — master ( 96df1a...267f86 )
by Naveen
09:52
created
vendor/phpunit/php-text-template/src/Template.php 1 patch
Braces   +2 added lines, -6 removed lines patch added patch discarded remove patch
@@ -60,13 +60,9 @@
 block discarded – undo
60 60
 
61 61
         if (file_exists($file)) {
62 62
             $this->template = file_get_contents($file);
63
-        }
64
-
65
-        else if (file_exists($distFile)) {
63
+        } else if (file_exists($distFile)) {
66 64
             $this->template = file_get_contents($distFile);
67
-        }
68
-
69
-        else {
65
+        } else {
70 66
             throw new InvalidArgumentException(
71 67
               'Template file could not be loaded.'
72 68
             );
Please login to merge, or discard this patch.
vendor/phpunit/php-token-stream/tests/Token/InterfaceTest.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,8 +33,7 @@
 block discarded – undo
33 33
         foreach ($ts as $token) {
34 34
             if ($token instanceof PHP_Token_CLASS) {
35 35
                 $this->class = $token;
36
-            }
37
-            elseif ($token instanceof PHP_Token_INTERFACE) {
36
+            } elseif ($token instanceof PHP_Token_INTERFACE) {
38 37
                 $this->interfaces[$i] = $token;
39 38
                 $i++;
40 39
             }
Please login to merge, or discard this patch.
vendor/sebastian/comparator/tests/ArrayComparatorTest.php 1 patch
Braces   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -140,9 +140,7 @@
 block discarded – undo
140 140
 
141 141
         try {
142 142
             $this->comparator->assertEquals($expected, $actual, $delta, $canonicalize);
143
-        }
144
-
145
-        catch (ComparisonFailure $exception) {
143
+        } catch (ComparisonFailure $exception) {
146 144
         }
147 145
 
148 146
         $this->assertNull($exception, 'Unexpected ComparisonFailure');
Please login to merge, or discard this patch.
vendor/sebastian/comparator/tests/DOMNodeComparatorTest.php 1 patch
Braces   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -139,9 +139,7 @@
 block discarded – undo
139 139
 
140 140
         try {
141 141
             $this->comparator->assertEquals($expected, $actual);
142
-        }
143
-
144
-        catch (ComparisonFailure $exception) {
142
+        } catch (ComparisonFailure $exception) {
145 143
         }
146 144
 
147 145
         $this->assertNull($exception, 'Unexpected ComparisonFailure');
Please login to merge, or discard this patch.
vendor/sebastian/comparator/tests/DateTimeComparatorTest.php 1 patch
Braces   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -172,9 +172,7 @@
 block discarded – undo
172 172
 
173 173
         try {
174 174
             $this->comparator->assertEquals($expected, $actual, $delta);
175
-        }
176
-
177
-        catch (ComparisonFailure $exception) {
175
+        } catch (ComparisonFailure $exception) {
178 176
         }
179 177
 
180 178
         $this->assertNull($exception, 'Unexpected ComparisonFailure');
Please login to merge, or discard this patch.
vendor/sebastian/comparator/tests/DoubleComparatorTest.php 1 patch
Braces   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -112,9 +112,7 @@
 block discarded – undo
112 112
 
113 113
         try {
114 114
             $this->comparator->assertEquals($expected, $actual, $delta);
115
-        }
116
-
117
-        catch (ComparisonFailure $exception) {
115
+        } catch (ComparisonFailure $exception) {
118 116
         }
119 117
 
120 118
         $this->assertNull($exception, 'Unexpected ComparisonFailure');
Please login to merge, or discard this patch.
vendor/sebastian/comparator/tests/ExceptionComparatorTest.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/MockObjectComparatorTest.php 1 patch
Braces   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -144,9 +144,7 @@
 block discarded – undo
144 144
 
145 145
         try {
146 146
             $this->comparator->assertEquals($expected, $actual, $delta);
147
-        }
148
-
149
-        catch (ComparisonFailure $exception) {
147
+        } catch (ComparisonFailure $exception) {
150 148
         }
151 149
 
152 150
         $this->assertNull($exception, 'Unexpected ComparisonFailure');
Please login to merge, or discard this patch.
vendor/sebastian/comparator/tests/NumericComparatorTest.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, $delta);
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.