Completed
Pull Request — master (#14)
by Stéphane
02:28
created
src/Testing/DataTestCase.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
         $caseDir = realpath($this->getDataDirectory());
26 26
         $caseNames = $this->getCaseFileNames();
27 27
         $caseExt = $caseNames ? '.json' : '';
28
-        $caseNames = $caseNames ?: array_diff(scandir($caseDir), ['..', '.']);;
28
+        $caseNames = $caseNames ?: array_diff(scandir($caseDir), ['..', '.']); ;
29 29
         $tests = [];
30 30
 
31 31
         foreach ($caseNames as $caseName) {
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
                             $set->instance,
71 71
                             $test->schema,
72 72
                             false,
73
-                            array_map(function ($violation) {
73
+                            array_map(function($violation) {
74 74
                                 return (array) $violation;
75 75
                             }, $set->violations),
76 76
                         ];
Please login to merge, or discard this patch.