Passed
Push — master ( 1957d7...7f8c5a )
by Nelson
05:09 queued 11s
created
tests/DataProviders/TypeTestProvider.php 1 patch
Spacing   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -92,8 +92,8 @@  discard block
 block discarded – undo
92 92
             'stdClass'                   => [new \stdClass()],
93 93
             __CLASS__                    => [$this],
94 94
 
95
-            'string: ' . ToString::class => [ToString::class, true],
96
-            'string: ' . stdClass::class => [stdClass::class, true],
95
+            'string: '.ToString::class => [ToString::class, true],
96
+            'string: '.stdClass::class => [stdClass::class, true],
97 97
             'non string as `$obj` arg'   => [new stdClass(), true],
98 98
         ];
99 99
     }
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
             'double'                     => [1.9999],
127 127
             'string'                     => ['str'],
128 128
             ToString::class              => [new ToString()],
129
-            'string: ' . ToString::class => [ToString::class, true],
129
+            'string: '.ToString::class => [ToString::class, true],
130 130
         ];
131 131
     }
132 132
 
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
             'array'                      => [[]],
137 137
             'stdClass'                   => [new \stdClass()],
138 138
             __CLASS__                    => [$this],
139
-            'string: ' . stdClass::class => [stdClass::class, true],
139
+            'string: '.stdClass::class => [stdClass::class, true],
140 140
         ];
141 141
     }
142 142
 
@@ -171,17 +171,17 @@  discard block
 block discarded – undo
171 171
     public function methodIsProvider(): array
172 172
     {
173 173
         return [
174
-            [true,  (bool) true,    [true, false]],
175
-            [false, (bool) false,   [true, false, 0]],
176
-            [true,  123,            [11, 0, -34]],
177
-            [false, 123,            [11, 0, -34.456]],
178
-            [true,  1.23,           [11.0, 0.0, -34.6]],
179
-            [false, 1.23,           [11.0, 0, -34.4]],
180
-            [true,  '',             ['', '0', 'i am not a string']],
181
-            [false, '',             [11.2, '0', true]],
182
-            [true,  null,           [null, null]],
183
-            [false, null,           [[], null, false]],
184
-            [true,  new stdClass(), [new stdClass(), new stdClass()]],
174
+            [true, (bool) true, [true, false]],
175
+            [false, (bool) false, [true, false, 0]],
176
+            [true, 123, [11, 0, -34]],
177
+            [false, 123, [11, 0, -34.456]],
178
+            [true, 1.23, [11.0, 0.0, -34.6]],
179
+            [false, 1.23, [11.0, 0, -34.4]],
180
+            [true, '', ['', '0', 'i am not a string']],
181
+            [false, '', [11.2, '0', true]],
182
+            [true, null, [null, null]],
183
+            [false, null, [[], null, false]],
184
+            [true, new stdClass(), [new stdClass(), new stdClass()]],
185 185
             [false, new stdClass(), [[], new stdClass(), true]],
186 186
         ];
187 187
     }
@@ -197,17 +197,17 @@  discard block
 block discarded – undo
197 197
     public function methodIsInProvider(): array
198 198
     {
199 199
         return [
200
-            [true,  (bool) true,    [true, false, 1, 'string']],
201
-            [false, (bool) false,   ['true', 'false', 0, 1]],
202
-            [true,  123,            [11, 0, -34]],
203
-            [false, 123,            [11.2, '0', true]],
204
-            [true,  1.23,           [11, 0.5, -34]],
205
-            [false, 1.23,           [11, '0', true]],
206
-            [true,  '',             [11, '0', -34]],
207
-            [false, '',             [11.2, 0, true]],
208
-            [true,  null,           [null, true, 4]],
209
-            [false, null,           [[], 'null', false]],
210
-            [true,  new stdClass(), [new stdClass(), new A(), 0]],
200
+            [true, (bool) true, [true, false, 1, 'string']],
201
+            [false, (bool) false, ['true', 'false', 0, 1]],
202
+            [true, 123, [11, 0, -34]],
203
+            [false, 123, [11.2, '0', true]],
204
+            [true, 1.23, [11, 0.5, -34]],
205
+            [false, 1.23, [11, '0', true]],
206
+            [true, '', [11, '0', -34]],
207
+            [false, '', [11.2, 0, true]],
208
+            [true, null, [null, true, 4]],
209
+            [false, null, [[], 'null', false]],
210
+            [true, new stdClass(), [new stdClass(), new A(), 0]],
211 211
             [false, new stdClass(), [[], 'stdClass', true]],
212 212
         ];
213 213
     }
Please login to merge, or discard this patch.