Skip to content

Commit

Permalink
Merge pull request #216 from fbourigault/php-7.3
Browse files Browse the repository at this point in the history
Run tests against PHP 7.3
  • Loading branch information
smalot authored Jan 11, 2019
2 parents d640ef6 + 429078c commit c3a050f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ php:
- 7.0
- 7.1
- 7.2
- 7.3
- hhvm

matrix:
Expand Down
4 changes: 2 additions & 2 deletions src/Smalot/PdfParser/PDFObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ public function getText(Page $page = null)
// Fallback
// TODO : Improve
$text .= $command[self::COMMAND][0][self::COMMAND];
continue;
break;
}

$sub_text = $current_font->decodeText($command[self::COMMAND]);
Expand Down Expand Up @@ -483,7 +483,7 @@ public function getTextArray(Page $page = null)
// Fallback
// TODO : Improve
$text[] = $command[self::COMMAND][0][self::COMMAND];
continue;
break;
}

$sub_text = $current_font->decodeText($command[self::COMMAND]);
Expand Down

0 comments on commit c3a050f

Please sign in to comment.