From aa4637ebf367c9a35d6d0154c4122194e181c425 Mon Sep 17 00:00:00 2001 From: Freek Van der Herten Date: Sat, 5 Aug 2017 12:45:53 +0200 Subject: [PATCH] Apply fixes from StyleCI (#24) --- src/WatcherCommand.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/WatcherCommand.php b/src/WatcherCommand.php index 6b667c0..f42531f 100644 --- a/src/WatcherCommand.php +++ b/src/WatcherCommand.php @@ -11,7 +11,7 @@ class WatcherCommand extends Command { - const PHPUNIT_WATCH_CONFIG_FILENAME = "/.phpunit-watcher.yml"; + const PHPUNIT_WATCH_CONFIG_FILENAME = '/.phpunit-watcher.yml'; protected function configure() { @@ -57,7 +57,7 @@ protected function getConfigFileLocation() $configDirectory = getcwd(); - while(is_dir($configDirectory)) { + while (is_dir($configDirectory)) { $configFullPath = "{$configDirectory}/{$configName}"; if (file_exists($configFullPath)) { @@ -68,7 +68,7 @@ protected function getConfigFileLocation() return; } $configDirectory = dirname($configDirectory); - }; + } } protected function displayOptions(array $options, InputInterface $input, OutputInterface $output)