From e121ca348121424eaa13d852c2a1ca40de1788a3 Mon Sep 17 00:00:00 2001
From: Predhumeau Manon <manon.predhumeau@irstea.fr>
Date: Fri, 20 Oct 2017 11:09:35 +0200
Subject: [PATCH] CS.

---
 Tests/Listener/VirusScannerListenerTest.php | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/Tests/Listener/VirusScannerListenerTest.php b/Tests/Listener/VirusScannerListenerTest.php
index 90319105..590dbffb 100644
--- a/Tests/Listener/VirusScannerListenerTest.php
+++ b/Tests/Listener/VirusScannerListenerTest.php
@@ -8,9 +8,9 @@ namespace Irstea\FileUploadBundle\Tests\Listener;
 
 use Irstea\FileUploadBundle\Event\FileUploadCompleteEvent;
 use Irstea\FileUploadBundle\Listener\VirusScannerListener;
+use Irstea\FileUploadBundle\Model\UploadedFileInterface;
 use PHPUnit_Framework_MockObject_MockObject;
 use PHPUnit_Framework_TestCase;
-use Irstea\FileUploadBundle\Model\UploadedFileInterface;
 use Xenolope\Quahog\Client;
 use Xenolope\Quahog\Exception\ConnectionException;
 
@@ -55,13 +55,12 @@ class VirusScannerListenerTest extends PHPUnit_Framework_TestCase
         $this->listener = new VirusScannerListener($this->client);
     }
 
-
     public function testOnFileUploadCompletedResultOk()
     {
         $result = [
             'filename' => 'footpath',
-            'reason' => null,
-            'status' => Client::RESULT_OK
+            'reason'   => null,
+            'status'   => Client::RESULT_OK,
         ];
 
         $this->client->expects($this->once())->method('scanFile')->with('foopath')->willReturn($result);
@@ -76,9 +75,9 @@ class VirusScannerListenerTest extends PHPUnit_Framework_TestCase
     public function testOnFileUploadCompletedVirusFound()
     {
         $result = [
-            'filename' => 'footpath',
-            'reason' => 'Terrible virus',
-            'status' => Client::RESULT_FOUND
+            'filename' => 'foopath',
+            'reason'   => 'Terrible virus',
+            'status'   => Client::RESULT_FOUND,
         ];
 
         $this->client->expects($this->once())
@@ -102,7 +101,6 @@ class VirusScannerListenerTest extends PHPUnit_Framework_TestCase
         $this->listener->onFileUploadCompleted($this->event);
     }
 
-
     public function testGetClientSucceed()
     {
         $this->client->expects($this->once())->method('ping')->willReturn(true);
-- 
GitLab