Skip to content

Commit c7d128b

Browse files
committed
Start working on compatibility with doctrine/persistence 4.0
1 parent dcde631 commit c7d128b

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/php.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- { php-version: '8.2', orm-version: '3.0', fixtures-version: '2.0' }
3131
- { php-version: '8.4', orm-version: '3.0', fixtures-version: '2.0' }
3232

33-
name: PHP ${{ matrix.php-version }} / ORM ${{ matrix.orm-version }}
33+
name: PHP ${{ matrix.php-version }} / ORM ${{ matrix.orm-version }} / Fixtures ${{ matrix.fixtures-version }}
3434
steps:
3535
- uses: actions/checkout@v2
3636

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"php": "^7.3|^8.0",
1717
"doctrine/data-fixtures": "^1.4|^2.0",
1818
"doctrine/instantiator": "^1.3|^2.0",
19-
"doctrine/persistence": "^1.3|^2.0|^3.0"
19+
"doctrine/persistence": "^1.3|^2.0|^3.0|^4.0"
2020
},
2121
"require-dev": {
2222
"doctrine/orm": "^2.7|^3.0",

tests/Stubs/ObjectManagerStub_php81.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ public function find(string $className, $id, LockMode|int|null $lockMode = null,
6464
{
6565
}
6666

67-
public function remove(object $object)
67+
public function remove(object $object): void
6868
{
6969
}
7070

71-
public function clear()
71+
public function clear(): void
7272
{
7373
}
7474

0 commit comments

Comments
 (0)