@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Spatie\PhpUnitWatcher\Screens; |
| 4 | 4 | |
| 5 | -use Symfony\Component\Process\Process; |
|
| 6 | 5 | use Spatie\PhpUnitWatcher\Notification; |
| 6 | +use Symfony\Component\Process\Process; |
|
| 7 | 7 | |
| 8 | 8 | class Phpunit extends Screen |
| 9 | 9 | { |
@@ -55,6 +55,9 @@ |
||
| 55 | 55 | return $this; |
| 56 | 56 | } |
| 57 | 57 | |
| 58 | + /** |
|
| 59 | + * @param string $level |
|
| 60 | + */ |
|
| 58 | 61 | public function write(string $message = '', $level = null) |
| 59 | 62 | { |
| 60 | 63 | if ($level != '') { |
@@ -44,6 +44,9 @@ |
||
| 44 | 44 | return $this; |
| 45 | 45 | } |
| 46 | 46 | |
| 47 | + /** |
|
| 48 | + * @param \Clue\React\Stdio\Readline $readline |
|
| 49 | + */ |
|
| 47 | 50 | protected function registerAutocompleter($readline) |
| 48 | 51 | { |
| 49 | 52 | $readline->setAutocomplete(function ($word, $startOffset, $endOffset) use ($readline) { |