Skip to content

Commit d25f34e

Browse files
committed
Add support for doctrine/collections 3.x
1 parent 1a18358 commit d25f34e

5 files changed

Lines changed: 17 additions & 3 deletions

File tree

.github/workflows/run-tests.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,16 @@ jobs:
5353
- php: '8.1'
5454
composer-flags: '--prefer-stable --prefer-dist --prefer-lowest'
5555
next-php: false
56+
- php: '8.4'
57+
collections: '^3.0'
58+
composer-flags: '--prefer-stable --prefer-dist'
59+
next-php: false
60+
patch-packages: false
61+
- php: '8.5'
62+
collections: '^3.0'
63+
composer-flags: '--prefer-stable --prefer-dist'
64+
next-php: false
65+
patch-packages: false
5666
- php: '8.5'
5767
composer-flags: '--prefer-stable --prefer-dist'
5868
next-php: false

.github/workflows/static-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup PHP
1616
uses: shivammathur/setup-php@v2
1717
with:
18-
php-version: '8.4'
18+
php-version: '8.5'
1919
tools: composer:v2
2020
extensions: curl, iconv, mbstring, mongodb, pdo, pdo_sqlite, sqlite, zip
2121
coverage: none

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 4.8.0 (2026-01-22)
4+
5+
- Add support for `doctrine/collections` 3.x
6+
37
## 4.7.2 (2025-10-12)
48

59
- [#62](https://github.com/BabDev/Pagerfanta/issues/62) Remove some PHPStan annotations from `Pagerfanta\PagerfantaInterface` and `Pagerfanta\Pagerfanta` to resolve downstream compatibility issues

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"symfony/deprecation-contracts": "^2.1 || ^3.0"
1111
},
1212
"require-dev": {
13-
"doctrine/collections": "^1.8 || ^2.0",
13+
"doctrine/collections": "^1.8 || ^2.0 || ^3.0",
1414
"doctrine/dbal": "^3.5 || ^4.0",
1515
"doctrine/mongodb-odm": "^2.4",
1616
"doctrine/orm": "^2.14 || ^3.0",

lib/Adapter/Doctrine/Collections/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"license": "MIT",
77
"require": {
88
"php": "^8.1",
9-
"doctrine/collections": "^1.8 || ^2.0",
9+
"doctrine/collections": "^1.8 || ^2.0 || ^3.0",
1010
"pagerfanta/core": "^3.7 || ^4.0"
1111
},
1212
"require-dev": {

0 commit comments

Comments
 (0)