From f2abf2e6f0dca3d57fd6bf9f8dd3cb93a386cc0e Mon Sep 17 00:00:00 2001 From: James R Glasgow Date: Fri, 8 Jul 2022 11:06:17 -0600 Subject: [PATCH] #13 add support for monolog/monolog:^2.0, symfony/console:^4.2, and symfony/process:^4.2, and switched to phpexiftool/exiftool:^10.10 instead of exiftool/exiftool:^11 --- composer.json | 8 ++++---- lib/PHPExiftool/Exiftool.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) 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();