Test Failed
Push — master ( 7dbd0b...8a1129 )
by Jakub
12:04
created
src/TAssertions.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
         if ($success) {
23 23
             return;
24 24
         }
25
-        echo "Test $this->taskCount failed. $text\n";
25
+        echo "test $this->taskCount failed. $text\n";
26 26
     }
27 27
 
28 28
     /**
Please login to merge, or discard this patch.
src/SkippedTest.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,6 +28,6 @@
 block discarded – undo
28 28
         if ($this->reason) {
29 29
             $reason = ": $this->reason";
30 30
         }
31
-        return "Skipped $this->name$reason\n";
31
+        return "skipped $this->name$reason\n";
32 32
     }
33 33
 }
Please login to merge, or discard this patch.
src/mytester.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 
14 14
 $cmd = new Parser("", [
15 15
     "path" => [
16
-        Parser::Default => $vendorDirectory . "/../tests",
16
+        Parser::default => $vendorDirectory . "/../tests",
17 17
     ],
18 18
     "--colors" => [
19 19
         Parser::Optional => true,
Please login to merge, or discard this patch.
src/DataProvider.php 1 patch
Upper-Lower-Casing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -41,15 +41,15 @@
 block discarded – undo
41 41
             try {
42 42
                 $reflection = new ReflectionMethod($class, $dataProvider);
43 43
                 if (!$reflection->isPublic()) {
44
-                    throw new InvalidDataProviderException("Method $className::$dataProvider is not public.");
44
+                    throw new InvalidDataProviderException("method $className::$dataProvider is not public.");
45 45
                 }
46 46
                 $result = call_user_func([$class, $dataProvider]); // @phpstan-ignore argument.type
47 47
                 if (!is_array($result)) {
48
-                    throw new InvalidDataProviderException("Method $className::$dataProvider has to return an array.");
48
+                    throw new InvalidDataProviderException("method $className::$dataProvider has to return an array.");
49 49
                 }
50 50
                 return $result;
51 51
             } catch (\ReflectionException $e) {
52
-                throw new InvalidDataProviderException("Method $className::$dataProvider does not exist.", 0, $e);
52
+                throw new InvalidDataProviderException("method $className::$dataProvider does not exist.", 0, $e);
53 53
             }
54 54
         }
55 55
         return [];
Please login to merge, or discard this patch.