Passed
Push — master ( f3a6b9...243250 )
by Max
02:08
created
tests/EasyDictionary/DataProvider/CallbackTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      */
25 25
     public function testSetDataFromConfig()
26 26
     {
27
-        $callable = function ($b) {
27
+        $callable = function($b) {
28 28
             return [111, $b];
29 29
         };
30 30
 
Please login to merge, or discard this patch.
tests/EasyDictionary/BasicConfigTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
      */
71 71
     public function testSetGetDefaultView()
72 72
     {
73
-        $callable = function () {
73
+        $callable = function() {
74 74
         };
75 75
 
76 76
         $config = new BasicConfig();
Please login to merge, or discard this patch.
tests/EasyDictionary/Dictionary/SimpleTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
 
191 191
         $dictionary = new Simple('test');
192 192
         $dictionary->setDataProvider($dataProviderMock);
193
-        $dictionary->setDefaultView(function ($rows) {
193
+        $dictionary->setDefaultView(function($rows) {
194 194
             foreach ($rows as $key => $row) {
195 195
                 yield $key . ' ' . $row;
196 196
             }
@@ -365,7 +365,7 @@  discard block
 block discarded – undo
365 365
 
366 366
         self::assertEquals($data, $dictionary->toArray());
367 367
 
368
-        self::assertEquals(['a' => 0, 'b' => 2, 'c' => 4], $dictionary->toArray(function ($data) {
368
+        self::assertEquals(['a' => 0, 'b' => 2, 'c' => 4], $dictionary->toArray(function($data) {
369 369
             foreach ($data as $key => $value) {
370 370
                 yield $key => $value * 2;
371 371
             }
Please login to merge, or discard this patch.