Actualización

This commit is contained in:
Xes
2025-04-10 12:24:57 +02:00
parent 8969cc929d
commit 45420b6f0d
39760 changed files with 4303286 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
<?php
/**
* This file is part of the PHPExiftool package.
*
* (c) Alchemy <support@alchemy.fr>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Test\Command;
require_once __DIR__ . '/../AbstractPreviewExtractorTest.php';
use Monolog\Logger;
use Monolog\Handler\NullHandler;
use PHPExiftool\AbstractPreviewExtractorTest;
use PHPExiftool\Exiftool;
class PreviewExtractor extends AbstractPreviewExtractorTest
{
protected function getExiftool()
{
$logger = new Logger('Tests');
$logger->pushHandler(new NullHandler());
return new Exiftool($logger);
}
}

View File

@@ -0,0 +1,30 @@
<?php
/**
* This file is part of the PHPExiftool package.
*
* (c) Alchemy <support@alchemy.fr>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Test\Command;
require_once __DIR__ . '/../AbstractReaderTest.php';
use Monolog\Logger;
use Monolog\Handler\NullHandler;
use PHPExiftool\Test\AbstractReaderTest;
use PHPExiftool\Reader;
class ReaderTest extends AbstractReaderTest
{
protected function getReader()
{
$logger = new Logger('Test');
$logger->pushHandler(new NullHandler());
return Reader::create($logger);
}
}

View File

@@ -0,0 +1,30 @@
<?php
/**
* This file is part of the PHPExiftool package.
*
* (c) Alchemy <support@alchemy.fr>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Test\Command;
require_once __DIR__ . '/../AbstractWriterTest.php';
use Monolog\Logger;
use Monolog\Handler\NullHandler;
use PHPExiftool\Exiftool;
use PHPExiftool\Test\AbstractWriterTest;
class WriterTest extends AbstractWriterTest
{
protected function getExiftool()
{
$logger = new Logger('Tests');
$logger->pushHandler(new NullHandler());
return new Exiftool($logger);
}
}