Passed
Push — master ( 78328e...488bc1 )
by Nelson
03:01
created
tests/DataProviders/TypeTestProvider.php 1 patch
Spacing   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -130,18 +130,18 @@  discard block
 block discarded – undo
130 130
     public function methodIsProvider()
131 131
     {
132 132
         return [
133
-            [true,  (bool) true,    [true, false]],
134
-            [false, (bool) false,   [true, false, 0]],
135
-            [true,  (int) 123,      [11, 0, -34]],
136
-            [false, (int) 123,      [11, 0, -34.456]],
137
-            [true,  (float) 1.23,   [11.0, 0.0, -34.6]],
138
-            [false, (float) 1.23,   [11.0, 0, -34.4]],
139
-            [true,  (string) '',    ['', '0', 'i am not a string']],
140
-            [false, (string) '',    [11.2, '0', true]],
141
-            [true,  null,           [null, null]],
142
-            [false, null,           [[], null, false]],
143
-            [true,  new stdClass,   [new stdClass, new stdClass]],
144
-            [false, new stdClass,   [[], new stdClass, true]],
133
+            [true, (bool) true, [true, false]],
134
+            [false, (bool) false, [true, false, 0]],
135
+            [true, (int) 123, [11, 0, -34]],
136
+            [false, (int) 123, [11, 0, -34.456]],
137
+            [true, (float) 1.23, [11.0, 0.0, -34.6]],
138
+            [false, (float) 1.23, [11.0, 0, -34.4]],
139
+            [true, (string) '', ['', '0', 'i am not a string']],
140
+            [false, (string) '', [11.2, '0', true]],
141
+            [true, null, [null, null]],
142
+            [false, null, [[], null, false]],
143
+            [true, new stdClass, [new stdClass, new stdClass]],
144
+            [false, new stdClass, [[], new stdClass, true]],
145 145
         ];
146 146
     }
147 147
 
@@ -156,18 +156,18 @@  discard block
 block discarded – undo
156 156
     public function methodIsInProvider()
157 157
     {
158 158
         return [
159
-            [true,  (bool) true,    [true, false, 1, 'string']],
160
-            [false, (bool) false,   ['true', 'false', 0, 1]],
161
-            [true,  (int) 123,      [11, 0, -34]],
162
-            [false, (int) 123,      [11.2, '0', true]],
163
-            [true,  (float) 1.23,   [11, 0.5, -34]],
164
-            [false, (float) 1.23,   [11, '0', true]],
165
-            [true,  (string) '',    [11, '0', -34]],
166
-            [false, (string) '',    [11.2, 0, true]],
167
-            [true,  null,           [null, true, 4]],
168
-            [false, null,           [[], 'null', false]],
169
-            [true,  new stdClass,   [new stdClass, new A, 0]],
170
-            [false, new stdClass,   [[], 'stdClass', true]],
159
+            [true, (bool) true, [true, false, 1, 'string']],
160
+            [false, (bool) false, ['true', 'false', 0, 1]],
161
+            [true, (int) 123, [11, 0, -34]],
162
+            [false, (int) 123, [11.2, '0', true]],
163
+            [true, (float) 1.23, [11, 0.5, -34]],
164
+            [false, (float) 1.23, [11, '0', true]],
165
+            [true, (string) '', [11, '0', -34]],
166
+            [false, (string) '', [11.2, 0, true]],
167
+            [true, null, [null, true, 4]],
168
+            [false, null, [[], 'null', false]],
169
+            [true, new stdClass, [new stdClass, new A, 0]],
170
+            [false, new stdClass, [[], 'stdClass', true]],
171 171
         ];
172 172
     }
173 173
 }
Please login to merge, or discard this patch.