Skip to content

Commit 67db966

Browse files
wimpichjolentex
authored andcommitted
Add support for PHP 8.4 and remove PHP 8.0 support
1 parent 22773b8 commit 67db966

File tree

5 files changed

+11
-4
lines changed

5 files changed

+11
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: true
1414
matrix:
15-
php: [ "8.0", "8.1", "8.2", "8.3" ]
15+
php: [ "8.1", "8.2", "8.3", "8.4" ]
1616

1717
runs-on: ubuntu-latest
1818
name: PHP@${{ matrix.php }}

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [3.2.0] - 2024-12-05
8+
### Added
9+
- Support for PHP 8.4
10+
11+
### Removed
12+
- Support for PHP 8.0
13+
714
## [3.1.0] - 2024-02-05
815
### Added
916
- Support for PHP 8.3

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
}
1212
],
1313
"require": {
14-
"php": "8.0.* | 8.1.* | 8.2.* | 8.3.*",
14+
"php": "8.1.* | 8.2.* | 8.3.* | 8.4.*",
1515
"tecnickcom/tcpdf": "^6.3"
1616
},
1717
"require-dev": {

tcpi/tcpdi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ public function _putformxobjects()
490490
$c = cos($angle);
491491
$s = sin($angle);
492492

493-
switch($tpl['_rotationAngle']) {
493+
switch ($tpl['_rotationAngle']) {
494494
case -90:
495495
$tx = -$tpl['box']['lly'];
496496
$ty = $tpl['box']['urx'];

tcpi/tcpdi_parser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ protected function decodeXrefStream($startxref, $xref = array())
530530
}
531531
}
532532
} elseif ($filltrailer) {
533-
switch($key) {
533+
switch ($key) {
534534
case '/Size':
535535
case '/Root':
536536
case '/Info':

0 commit comments

Comments
 (0)