Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,16 @@
],
"require": {
"php": "^7.4 || ^8.2",
"doctrine/cache": "^1.0",
"doctrine/collections": "^1.0",
"exiftool/exiftool": "*",
"symfony/console": "^5 || ^6.2",
"symfony/css-selector": "^5 || ^6.2",
"symfony/dom-crawler": "^5 || ^6.2",
"symfony/process": "^5 || ^6",
"symfony/console": "^5 || ^6.2 || ^7.0",
"symfony/css-selector": "^5 || ^6.2 || ^7.0",
"symfony/dom-crawler": "^5 || ^6.2 || ^7.0",
"symfony/process": "^5 || ^6 || ^7.0",
"ext-dom": "*",
"cache/array-adapter": "^1.2",
"ext-json": "*",
"symfony/monolog-bridge": "^5.4 || ^6.2"
"symfony/monolog-bridge": "^5.4 || ^6.2 || ^7.0",
"symfony/cache": "^5 || ^6.2 || ^7.0"
},
"suggest": {
"jms/serializer": "To serialize tags",
Expand All @@ -52,7 +51,7 @@
"jms/serializer": "~3",
"phpunit/phpunit": "^9.6.7",
"symfony/finder": "^5",
"symfony/yaml": "^5 || ^6"
"symfony/yaml": "^5 || ^6 || ^7.0"
},
"autoload": {
"psr-4": {
Expand Down
4 changes: 2 additions & 2 deletions lib/PHPExiftool/FileEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
namespace PHPExiftool;


use Cache\Adapter\PHPArray\ArrayCachePool;
use DOMDocument;
use Exception;
use IteratorAggregate;
use PHPExiftool\Driver\Metadata\MetadataBag;
use PHPExiftool\Driver\Value\ValueInterface;
use Psr\Cache\CacheItemPoolInterface;
use Psr\Cache\InvalidArgumentException;
use Symfony\Component\Cache\Adapter\ArrayAdapter;


/**
Expand Down Expand Up @@ -51,7 +51,7 @@ public function __construct(string $file, DOMDocument $dom, RDFParser $parser)
// $this->dom = $dom;
$this->file = $file;

$this->cache = new ArrayCachePool();
$this->cache = new ArrayAdapter();

$this->parser = $parser->open($dom->saveXML());

Expand Down