| @@ -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 |  { | 
| @@ -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) { | 
| @@ -4,10 +4,10 @@ | ||
| 4 | 4 | |
| 5 | 5 | use Clue\React\Stdio\Stdio; | 
| 6 | 6 | use React\EventLoop\Factory; | 
| 7 | -use Symfony\Component\Finder\Finder; | |
| 8 | 7 | use Spatie\PhpUnitWatcher\Screens\Phpunit; | 
| 9 | -use Yosymfony\ResourceWatcher\ResourceWatcher; | |
| 8 | +use Symfony\Component\Finder\Finder; | |
| 10 | 9 | use Yosymfony\ResourceWatcher\ResourceCacheMemory; | 
| 10 | +use Yosymfony\ResourceWatcher\ResourceWatcher; | |
| 11 | 11 | |
| 12 | 12 | class Watcher | 
| 13 | 13 |  { | 
| @@ -62,6 +62,9 @@ | ||
| 62 | 62 | return $options; | 
| 63 | 63 | } | 
| 64 | 64 | |
| 65 | + /** | |
| 66 | + * @return string | |
| 67 | + */ | |
| 65 | 68 | protected function getConfigFileLocation() | 
| 66 | 69 |      { | 
| 67 | 70 | $configNames = [ | 
| @@ -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 |  { |