Passed
Push — master ( ef3736...70d95d )
by Jakub
01:46
created
src/Bridges/NetteDI/TestsRunner.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
       if($skipped["reason"]) {
69 69
         $reason = ": {$skipped["reason"]}";
70 70
       }
71
-      Environment::printLine("Skipped {$skipped["name"]}$reason");
71
+      Environment::printLine("skipped {$skipped["name"]}$reason");
72 72
     }
73 73
     if($failed) {
74 74
       Environment::printLine("Failed");
Please login to merge, or discard this patch.
src/TestCase.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
       $skip = false;
32 32
       $reason = "";
33 33
       foreach($value as $k => $v) {
34
-        switch ($k) {
34
+        switch($k) {
35 35
           case "php":
36 36
             $skip = version_compare(PHP_VERSION, (string) $v, "<");
37 37
             if($skip) {
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
       $this->tearDown();
162 162
     }
163 163
     Environment::$currentJob = "";
164
-    switch ($job->result) {
164
+    switch($job->result) {
165 165
       case "passed":
166 166
         return ".";
167 167
       case "skipped":
Please login to merge, or discard this patch.
src/functions.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -3,12 +3,12 @@
 block discarded – undo
3 3
 
4 4
 function findVendorDirectory(): string {
5 5
   $recursionLimit = 10;
6
-  $findVendor = function ($dirName = "vendor/bin", $dir = __DIR__) use (&$findVendor, &$recursionLimit) {
7
-    if (!$recursionLimit--) {
6
+  $findVendor = function($dirName = "vendor/bin", $dir = __DIR__) use (&$findVendor, &$recursionLimit) {
7
+    if(!$recursionLimit--) {
8 8
       throw new \Exception("Cannot find vendor directory.");
9 9
     }
10 10
     $found = $dir . "/$dirName";
11
-    if (is_dir($found) || is_file($found)) {
11
+    if(is_dir($found) || is_file($found)) {
12 12
       return dirname($found);
13 13
     }
14 14
     return $findVendor($dirName, dirname($dir));
Please login to merge, or discard this patch.
src/Tester.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
       if($skipped["reason"]) {
69 69
         $reason = ": {$skipped["reason"]}";
70 70
       }
71
-      Environment::printLine("Skipped {$skipped["name"]}$reason");
71
+      Environment::printLine("skipped {$skipped["name"]}$reason");
72 72
     }
73 73
     if($failed) {
74 74
       Environment::printLine("Failed");
Please login to merge, or discard this patch.