Passed
Push — master ( 24ef5b...b57b12 )
by Jakub
02:11
created
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.
src/TAssertions.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
         if ($success) {
20 20
             return;
21 21
         }
22
-        throw new AssertionFailedException("Test $this->taskCount failed. $text");
22
+        throw new AssertionFailedException("test $this->taskCount failed. $text");
23 23
     }
24 24
 
25 25
     /**
@@ -332,7 +332,7 @@  discard block
 block discarded – undo
332 332
     {
333 333
         $expected = @file_get_contents($filename);
334 334
         if ($expected === false) {
335
-            $this->testResult("File $filename could not be loaded.", false);
335
+            $this->testResult("file $filename could not be loaded.", false);
336 336
             return;
337 337
         }
338 338
         $this->assertSame($expected, $actual);
Please login to merge, or discard this patch.