An error occurred while fetching the assigned milestone of the selected merge_request.
All threads resolved!
+ 30
− 14
@@ -6,9 +6,10 @@
@@ -6,9 +6,10 @@
@@ -16,42 +17,57 @@ use Irstea\FileUploadBundle\Exception\RejectedFileException;
@@ -16,42 +17,57 @@ use Irstea\FileUploadBundle\Exception\RejectedFileException;
throw new RejectedFileException($file, $desc ? sprintf('Found the %s virus !', $desc) : 'Virus found !');
+ 22
− 6
@@ -10,6 +10,10 @@ parameters:
@@ -10,6 +10,10 @@ parameters:
@@ -70,12 +74,24 @@ services:
@@ -70,12 +74,24 @@ services:
@@ -6,12 +6,13 @@
@@ -6,12 +6,13 @@
@@ -26,7 +27,7 @@ class VirusScannerListenerTest extends PHPUnit_Framework_TestCase
@@ -26,7 +27,7 @@ class VirusScannerListenerTest extends PHPUnit_Framework_TestCase
@@ -39,23 +40,31 @@ class VirusScannerListenerTest extends PHPUnit_Framework_TestCase
@@ -39,23 +40,31 @@ class VirusScannerListenerTest extends PHPUnit_Framework_TestCase
$this->file->expects(static::once())->method('setMetadata')->with(['virus_scanner' => ['has_virus' => false]]);
@@ -65,36 +74,37 @@ class VirusScannerListenerTest extends PHPUnit_Framework_TestCase
@@ -65,36 +74,37 @@ class VirusScannerListenerTest extends PHPUnit_Framework_TestCase
+ 2
− 1
@@ -33,7 +33,8 @@
@@ -33,7 +33,8 @@
"ramsey/uuid": "~2.8",
"ramsey/uuid": "~2.8",
"xenolope/quahog": "^2.1"
"phpunit/phpunit": "^4.8"
"phpunit/phpunit": "^4.8"