diff --git a/Makefile b/Makefile
index f916ff4..efb9f2d 100755
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,6 @@ PHP_MD_RULES=./phpmd.xml
test: vendor bin/validator-cli.jar
APP_ENV=test XDEBUG_MODE=coverage vendor/bin/phpunit
-
bin/validator-cli.jar:
bash download-validator.sh
diff --git a/config/packages/test/framework.yaml b/config/packages/test/framework.yaml
index d153e0d..3c43569 100755
--- a/config/packages/test/framework.yaml
+++ b/config/packages/test/framework.yaml
@@ -1,4 +1,5 @@
framework:
test: true
session:
- storage_id: session.storage.mock_file
+ storage_factory_id: session.storage.factory.mock_file
+
diff --git a/config/packages/test/monolog.yaml b/config/packages/test/monolog.yaml
index 2cb7d9e..d1c23b1 100644
--- a/config/packages/test/monolog.yaml
+++ b/config/packages/test/monolog.yaml
@@ -2,7 +2,7 @@ monolog:
handlers:
main:
type: fingers_crossed
- action_level: error
+ action_level: info
handler: nested
excluded_http_codes: [404, 405]
channels: ["!event"]
diff --git a/phpunit.xml.dist b/phpunit.xml.dist
index f560593..2d67c32 100644
--- a/phpunit.xml.dist
+++ b/phpunit.xml.dist
@@ -26,8 +26,8 @@
-
+
diff --git a/src/Command/Validations/ProcessOneCommand.php b/src/Command/Validations/ProcessOneCommand.php
index 910ea1f..e72329f 100644
--- a/src/Command/Validations/ProcessOneCommand.php
+++ b/src/Command/Validations/ProcessOneCommand.php
@@ -3,8 +3,6 @@
namespace App\Command\Validations;
use App\Validation\ValidationManager;
-use Doctrine\ORM\EntityManagerInterface;
-use Psr\Log\LoggerInterface;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
@@ -21,16 +19,11 @@ class ProcessOneCommand extends Command
*/
private $validationManager;
-
public function __construct(
- EntityManagerInterface $em,
- ValidationManager $validationManager,
- LoggerInterface $logger
+ ValidationManager $validationManager
) {
parent::__construct();
- $this->em = $em;
$this->validationManager = $validationManager;
- $this->logger = $logger;
}
protected function configure()