diff --git a/composer.json b/composer.json index 75b31bb99b..8b3f372dce 100644 --- a/composer.json +++ b/composer.json @@ -34,10 +34,10 @@ "php": ">=5.5.9", "doctrine/cache": "^1.0", "doctrine/collections": "^1.0", - "monolog/monolog": "^1.3", - "exiftool/exiftool": "^11", - "symfony/console": "^2.1|^3.0", - "symfony/process": "^2.1|^3.0" + "monolog/monolog": "^1.3|^2.0", + "phpexiftool/exiftool": "^10.10", + "symfony/console": "^2.1|^3.0|^4.2", + "symfony/process": "^2.1|^3.0|^4.2" }, "suggest": { "jms/serializer": "To serialize tags", diff --git a/lib/PHPExiftool/Exiftool.php b/lib/PHPExiftool/Exiftool.php index 59b43ca822..d3e8dc72f3 100644 --- a/lib/PHPExiftool/Exiftool.php +++ b/lib/PHPExiftool/Exiftool.php @@ -51,7 +51,7 @@ public function executeCommand($command, $timeout = 60) $process = new Process($command); $process->setTimeout($timeout); - $this->logger->addInfo(sprintf('Exiftool executes command %s', $process->getCommandLine())); + $this->logger->info(sprintf('Exiftool executes command %s', $process->getCommandLine())); $process->run();