Skip to content

Commit

Permalink
c
Browse files Browse the repository at this point in the history
  • Loading branch information
mondrake committed Jan 24, 2024
1 parent 4743928 commit 138c3c0
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions specs/Exif/Exif.yaml → specs/Jpeg/Exif.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
collection: Exif\Exif
collection: Jpeg\Exif
title: 'JPEG Exif data'
class: FileEye\MediaProbe\Block\Exif\Exif
class: FileEye\MediaProbe\Block\Jpeg\Exif
DOMNode: exif
items:
Tiff:
Expand Down
2 changes: 1 addition & 1 deletion src/Block/Exif/Exif.php → src/Block/Jpeg/Exif.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace FileEye\MediaProbe\Block\Exif;
namespace FileEye\MediaProbe\Block\Jpeg;

use FileEye\MediaProbe\Model\BlockBase;
use FileEye\MediaProbe\Collection\CollectionFactory;
Expand Down
2 changes: 1 addition & 1 deletion src/Block/Jpeg/SegmentApp1.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace FileEye\MediaProbe\Block\Jpeg;

use FileEye\MediaProbe\Block\Exif\Exif;
use FileEye\MediaProbe\Block\Jpeg\Exif;
use FileEye\MediaProbe\Collection\CollectionFactory;
use FileEye\MediaProbe\Data\DataElement;
use FileEye\MediaProbe\Entry\Core\Undefined;
Expand Down
4 changes: 2 additions & 2 deletions src/Collection/CollectionIndex.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ public function getNamespace(): string
'ExifMakerNotes\\Canon\\VignettingCorr2' => 'ExifMakerNotes\\Canon\\VignettingCorr2',
'ExifMakerNotes\\Canon\\VignettingCorrUnknown' => 'ExifMakerNotes\\Canon\\VignettingCorrUnknown',
'ExifMakerNotes\\MakerNotes' => 'ExifMakerNotes\\MakerNotes',
'Exif\\Exif' => 'Exif\\Exif',
'Format' => 'Format',
'Jpeg\\Exif' => 'Jpeg\\Exif',
'Jpeg\\Jpeg' => 'Jpeg\\Jpeg',
'Jpeg\\Segment' => 'Jpeg\\Segment',
'Jpeg\\SegmentApp1' => 'Jpeg\\SegmentApp1',
Expand Down Expand Up @@ -301,13 +301,13 @@ public function getNamespace(): string
'ExifIFD' => 'Tiff\\IfdExif',
'ExifMakerNotes\\Canon\\Filter' => 'ExifMakerNotes\\Canon\\Filter',
'ExifMakerNotes\\MakerNotes' => 'ExifMakerNotes\\MakerNotes',
'Exif\\Exif' => 'Exif\\Exif',
'Format' => 'Format',
'GPS' => 'Tiff\\IfdGps',
'IFD0' => 'Tiff\\Ifd0',
'IFD1' => 'Tiff\\Ifd1',
'Interop' => 'Tiff\\IfdInteroperability',
'InteropIFD' => 'Tiff\\IfdInteroperability',
'Jpeg\\Exif' => 'Jpeg\\Exif',
'Jpeg\\Jpeg' => 'Jpeg\\Jpeg',
'Jpeg\\Segment' => 'Jpeg\\Segment',
'Main' => 'Tiff\\Ifd0',
Expand Down
6 changes: 3 additions & 3 deletions src/Collection/Exif/Exif.php → src/Collection/Jpeg/Exif.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@
*/
// phpcs:disable

namespace FileEye\MediaProbe\Collection\Exif;
namespace FileEye\MediaProbe\Collection\Jpeg;

use FileEye\MediaProbe\Collection\CollectionBase;

class Exif extends CollectionBase {

protected static $map = array (
'title' => 'JPEG Exif data',
'class' => 'FileEye\\MediaProbe\\Block\\Exif\\Exif',
'class' => 'FileEye\\MediaProbe\\Block\\Jpeg\\Exif',
'DOMNode' => 'exif',
'id' => 'Exif\\Exif',
'id' => 'Jpeg\\Exif',
'items' =>
array (
'Tiff' =>
Expand Down
2 changes: 1 addition & 1 deletion src/Command/DumpCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace FileEye\MediaProbe\Command;

use FileEye\MediaProbe\Block\Exif\Exif;
use FileEye\MediaProbe\Block\Jpeg\Exif;
use FileEye\MediaProbe\Block\Tiff\Ifd;
use FileEye\MediaProbe\Block\Jpeg\Jpeg;
use FileEye\MediaProbe\Block\Tiff\Tag;
Expand Down
2 changes: 1 addition & 1 deletion tests/Bug3017880Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace FileEye\MediaProbe\Test;

use FileEye\MediaProbe\Block\Exif\Exif;
use FileEye\MediaProbe\Block\Jpeg\Exif;
use FileEye\MediaProbe\Block\Tiff\Ifd;
use FileEye\MediaProbe\Block\Jpeg\Jpeg;
use FileEye\MediaProbe\Block\Tiff\Tag;
Expand Down
2 changes: 1 addition & 1 deletion tests/GH16Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace FileEye\MediaProbe\Test;

use FileEye\MediaProbe\Block\Exif\Exif;
use FileEye\MediaProbe\Block\Jpeg\Exif;
use FileEye\MediaProbe\Block\Tiff\Ifd;
use FileEye\MediaProbe\Block\Jpeg\Jpeg;
use FileEye\MediaProbe\Block\Tiff\Tag;
Expand Down
2 changes: 1 addition & 1 deletion tests/GH21Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace FileEye\MediaProbe\Test;

use FileEye\MediaProbe\Block\Exif\Exif;
use FileEye\MediaProbe\Block\Jpeg\Exif;
use FileEye\MediaProbe\Block\Jpeg\Jpeg;
use FileEye\MediaProbe\Block\Jpeg\SegmentApp1;
use FileEye\MediaProbe\Collection\CollectionFactory;
Expand Down
2 changes: 1 addition & 1 deletion tests/MisplacedExifTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace FileEye\MediaProbe\Test;

use FileEye\MediaProbe\Block\Exif\Exif;
use FileEye\MediaProbe\Block\Jpeg\Exif;
use FileEye\MediaProbe\Block\Jpeg\Jpeg;
use FileEye\MediaProbe\Block\Jpeg\SegmentApp1;
use FileEye\MediaProbe\Collection\CollectionFactory;
Expand Down
2 changes: 1 addition & 1 deletion tests/ReadWriteTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace FileEye\MediaProbe\Test;

use FileEye\MediaProbe\Block\Exif\Exif;
use FileEye\MediaProbe\Block\Jpeg\Exif;
use FileEye\MediaProbe\Block\Tiff\Ifd;
use FileEye\MediaProbe\Block\Jpeg\Jpeg;
use FileEye\MediaProbe\Block\Jpeg\SegmentApp1;
Expand Down

0 comments on commit 138c3c0

Please sign in to comment.