ReaderTest.php 667 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * This file is part of the PHPExiftool package.
  4. *
  5. * (c) Alchemy <support@alchemy.fr>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace PHPExiftool\Test\Command;
  11. require_once __DIR__ . '/../AbstractReaderTest.php';
  12. use Monolog\Logger;
  13. use Monolog\Handler\NullHandler;
  14. use PHPExiftool\Test\AbstractReaderTest;
  15. use PHPExiftool\Reader;
  16. class ReaderTest extends AbstractReaderTest
  17. {
  18. protected function getReader()
  19. {
  20. $logger = new Logger('Test');
  21. $logger->pushHandler(new NullHandler());
  22. return Reader::create($logger);
  23. }
  24. }