File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ class CliTester
26
26
private ?string $ stdoutFormat = null ;
27
27
28
28
29
- public function run (): ? int
29
+ public function run (): int
30
30
{
31
31
Environment::setupColors ();
32
32
$ this ->setupErrors ();
@@ -43,7 +43,7 @@ public function run(): ?int
43
43
44
44
if ($ cmd ->isEmpty () || $ this ->options ['--help ' ]) {
45
45
$ cmd ->help ();
46
- return null ;
46
+ return 0 ;
47
47
}
48
48
49
49
$ this ->createPhpInterpreter ();
@@ -53,7 +53,7 @@ public function run(): ?int
53
53
$ job ->setTempDirectory ($ this ->options ['--temp ' ]);
54
54
$ job ->run ();
55
55
echo $ job ->getTest ()->stdout ;
56
- return null ;
56
+ return 0 ;
57
57
}
58
58
59
59
$ runner = $ this ->createRunner ();
@@ -74,7 +74,7 @@ public function run(): ?int
74
74
75
75
if ($ this ->options ['--watch ' ]) {
76
76
$ this ->watch ($ runner );
77
- return null ;
77
+ return 0 ;
78
78
}
79
79
80
80
$ result = $ runner ->run ();
You can’t perform that action at this time.
0 commit comments