Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for PHP 8.4 and remove PHP 8.0 support #30

Merged
merged 1 commit into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [ "8.0", "8.1", "8.2", "8.3" ]
php: [ "8.1", "8.2", "8.3", "8.4" ]

runs-on: ubuntu-latest
name: PHP@${{ matrix.php }}
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.2.0] - 2024-12-05
### Added
- Support for PHP 8.4

### Removed
- Support for PHP 8.0

## [3.1.0] - 2024-02-05
### Added
- Support for PHP 8.3
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
}
],
"require": {
"php": "8.0.* | 8.1.* | 8.2.* | 8.3.*",
"php": "8.1.* | 8.2.* | 8.3.* | 8.4.*",
"tecnickcom/tcpdf": "^6.3"
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion tcpi/tcpdi.php
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ public function _putformxobjects()
$c = cos($angle);
$s = sin($angle);

switch($tpl['_rotationAngle']) {
switch ($tpl['_rotationAngle']) {
case -90:
$tx = -$tpl['box']['lly'];
$ty = $tpl['box']['urx'];
Expand Down
2 changes: 1 addition & 1 deletion tcpi/tcpdi_parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ protected function decodeXrefStream($startxref, $xref = array())
}
}
} elseif ($filltrailer) {
switch($key) {
switch ($key) {
case '/Size':
case '/Root':
case '/Info':
Expand Down
Loading