@@ -22,7 +22,7 @@ |
||
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 | /** |
@@ -42,15 +42,15 @@ |
||
42 | 42 | try { |
43 | 43 | $reflection = new ReflectionMethod($class, $dataProvider); |
44 | 44 | if (!$reflection->isPublic()) { |
45 | - throw new InvalidDataProviderException("Method $className::$dataProvider is not public."); |
|
45 | + throw new InvalidDataProviderException("method $className::$dataProvider is not public."); |
|
46 | 46 | } |
47 | 47 | $result = call_user_func([$class, $dataProvider]); |
48 | 48 | if (!is_array($result)) { |
49 | - throw new InvalidDataProviderException("Method $className::$dataProvider has to return an array."); |
|
49 | + throw new InvalidDataProviderException("method $className::$dataProvider has to return an array."); |
|
50 | 50 | } |
51 | 51 | return $result; |
52 | 52 | } catch (\ReflectionException $e) { |
53 | - throw new InvalidDataProviderException("Method $className::$dataProvider does not exist.", 0, $e); |
|
53 | + throw new InvalidDataProviderException("method $className::$dataProvider does not exist.", 0, $e); |
|
54 | 54 | } |
55 | 55 | } |
56 | 56 | return []; |
@@ -28,6 +28,6 @@ |
||
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 | } |
@@ -13,7 +13,7 @@ |
||
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, |