@@ -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 != '') { |
@@ -62,6 +62,9 @@ |
||
62 | 62 | $readline->setAutocomplete($filenameAutocompleter); |
63 | 63 | } |
64 | 64 | |
65 | + /** |
|
66 | + * @param integer $limit |
|
67 | + */ |
|
65 | 68 | protected function refreshScreenWithSuggestions($suggestions, $limit) |
66 | 69 | { |
67 | 70 | $firstSuggestions = array_slice($suggestions, 0 , $limit); |