From d1f135de1a5294a7e58dba3b6d6dc53418b332a1 Mon Sep 17 00:00:00 2001 From: arubacao Date: Sun, 4 Mar 2018 23:57:32 +0000 Subject: [PATCH] Apply fixes from StyleCI [ci skip] [skip ci] --- src/Commands/SyncCommand.php | 2 +- tests/Commands/SyncCommandTest.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Commands/SyncCommand.php b/src/Commands/SyncCommand.php index e93a297..a79369c 100644 --- a/src/Commands/SyncCommand.php +++ b/src/Commands/SyncCommand.php @@ -109,7 +109,7 @@ private function filesToSync(array $filesOnCdn, array $localFiles): array $md5OfLocal = md5_file($localFile->getRealPath()); - if($md5OfLocal != $md5OfCdn) { + if ($md5OfLocal != $md5OfCdn) { return true; } diff --git a/tests/Commands/SyncCommandTest.php b/tests/Commands/SyncCommandTest.php index f6b33c2..c3a17b8 100644 --- a/tests/Commands/SyncCommandTest.php +++ b/tests/Commands/SyncCommandTest.php @@ -2,7 +2,6 @@ namespace Arubacao\AssetCdn\Test\Commands; -use Carbon\Carbon; use Illuminate\Support\Facades\Artisan; use Illuminate\Support\Facades\Storage;