diff --git a/src/Illuminate/Console/Scheduling/Event.php b/src/Illuminate/Console/Scheduling/Event.php index c89ae05278b9..a7d69a577aa6 100644 --- a/src/Illuminate/Console/Scheduling/Event.php +++ b/src/Illuminate/Console/Scheduling/Event.php @@ -6,11 +6,9 @@ use Carbon\Carbon; use LogicException; use Cron\CronExpression; -use Illuminate\Console\Application; use GuzzleHttp\Client as HttpClient; use Illuminate\Contracts\Mail\Mailer; use Symfony\Component\Process\Process; -use Symfony\Component\Process\ProcessUtils; use Illuminate\Contracts\Container\Container; use Illuminate\Contracts\Cache\Repository as Cache; diff --git a/tests/Console/Scheduling/EventTest.php b/tests/Console/Scheduling/EventTest.php index 52b9f5be7312..aab613ef349f 100644 --- a/tests/Console/Scheduling/EventTest.php +++ b/tests/Console/Scheduling/EventTest.php @@ -19,8 +19,6 @@ public function testBuildCommand() $defaultOutput = (DIRECTORY_SEPARATOR == '\\') ? 'NUL' : '/dev/null'; $this->assertSame("php -i > {$quote}{$defaultOutput}{$quote} 2>&1", $event->buildCommand()); - - $quote = (DIRECTORY_SEPARATOR == '\\') ? '"' : "'"; $event = new Event(m::mock('Illuminate\Contracts\Cache\Repository'), 'php -i');