Skip to content

Commit

Permalink
1.3.36
Browse files Browse the repository at this point in the history
- `chore`: `kiwilan/php-xml-reader` to 0.2.30
  • Loading branch information
ewilan-riviere committed Jun 28, 2023
1 parent 5e9d993 commit 819a662
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "kiwilan/php-ebook",
"description": "PHP package to read metadata and extract covers from eBooks (.epub, .cbz, .cbr, .cb7, .cbt, .pdf) and audiobooks (.mp3, .m4a, .m4b, .flac, .ogg).",
"version": "1.3.35",
"version": "1.3.36",
"keywords": [
"php",
"ebook",
Expand Down Expand Up @@ -36,7 +36,7 @@
"php": "^8.1",
"kiwilan/php-archive": "^1.4.02",
"kiwilan/php-audio": "^2.0.0",
"kiwilan/php-xml-reader": "^0.2.22"
"kiwilan/php-xml-reader": "^0.2.30"
},
"require-dev": {
"laravel/pint": "^1.7",
Expand Down
1 change: 0 additions & 1 deletion src/Formats/Epub/EpubContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ private function parseOpfPath(): ?string
return null;
}

$rootfile = reset($rootfile);
$rootAttr = XmlReader::getAttributes($rootfile);

if (! $rootAttr) {
Expand Down
4 changes: 2 additions & 2 deletions tests/CbaTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
expect($comicMeta->alternateCount())->toBeNull();
expect($comicMeta->alternateNumber())->toBeNull();
expect($comicMeta->seriesGroup())->toBe('Fantastic Four');
expect($comicMeta->count())->toBe(24);
expect($comicMeta->count())->toBeNull();
expect($comicMeta->volume())->toBeNull();
expect($comicMeta->storyArc())->toBeNull();
expect($comicMeta->storyArcNumber())->toBeNull();
Expand Down Expand Up @@ -165,7 +165,7 @@
expect($cbam->alternateSeries())->toBeString();
expect($cbam->alternateNumber())->toBeNull();
expect($cbam->alternateCount())->toBeNull();
expect($cbam->count())->toBe(24);
expect($cbam->count())->toBeNull();
expect($cbam->volume())->toBeNull();
expect($cbam->storyArc())->toBeNull();
expect($cbam->storyArcNumber())->toBeNull();
Expand Down

0 comments on commit 819a662

Please sign in to comment.