@@ -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) { |
@@ -2,13 +2,13 @@ |
||
2 | 2 | |
3 | 3 | namespace Spatie\PhpUnitWatcher; |
4 | 4 | |
5 | -use Symfony\Component\Yaml\Yaml; |
|
5 | +use Spatie\PhpUnitWatcher\Exceptions\InvalidConfigfile; |
|
6 | 6 | use Symfony\Component\Console\Command\Command; |
7 | -use Symfony\Component\Console\Style\SymfonyStyle; |
|
8 | 7 | use Symfony\Component\Console\Input\InputArgument; |
9 | 8 | use Symfony\Component\Console\Input\InputInterface; |
10 | 9 | use Symfony\Component\Console\Output\OutputInterface; |
11 | -use Spatie\PhpUnitWatcher\Exceptions\InvalidConfigfile; |
|
10 | +use Symfony\Component\Console\Style\SymfonyStyle; |
|
11 | +use Symfony\Component\Yaml\Yaml; |
|
12 | 12 | |
13 | 13 | class WatcherCommand extends Command |
14 | 14 | { |
@@ -5,10 +5,10 @@ |
||
5 | 5 | use Clue\React\Stdio\Stdio; |
6 | 6 | use React\EventLoop\Factory; |
7 | 7 | use React\Stream\ThroughStream; |
8 | -use Symfony\Component\Finder\Finder; |
|
9 | 8 | use Spatie\PhpUnitWatcher\Screens\Phpunit; |
10 | -use Yosymfony\ResourceWatcher\ResourceWatcher; |
|
9 | +use Symfony\Component\Finder\Finder; |
|
11 | 10 | use Yosymfony\ResourceWatcher\ResourceCacheMemory; |
11 | +use Yosymfony\ResourceWatcher\ResourceWatcher; |
|
12 | 12 | |
13 | 13 | class Watcher |
14 | 14 | { |