Skip to content

Commit 79ae6c5

Browse files
authored
[Improvement]: Add support to DBAL v4 (#462)
1 parent 135952d commit 79ae6c5

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

Diff for: composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
1717
"ext-fileinfo": "*",
1818
"ext-json": "*",
19-
"doctrine/dbal": "^2.12 || ^3.8",
19+
"doctrine/dbal": "^3.8 || ^4.0",
2020
"dragonmantank/cron-expression": "^3.1",
2121
"league/flysystem-sftp-v3": "^3.0",
2222
"mtdowling/jmespath.php": "^2.8",

Diff for: doc/03_Upgrade.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Update Notes
22

3+
## Update to Version 1.11
4+
### General
5+
- Added support of `doctrine/dbal` `v4`, dropped support of `doctrine/dbal` `v2`
6+
37
## Update to Version 1.10
48
### General
5-
- Dropped support of Pimcore 10, bumped minimum requirement of `pimcore/pimcore` to `^11.2`.
9+
- Dropped support of Pimcore 10, bumped minimum requirement of `pimcore/pimcore` to `^11.2`.

Diff for: src/DataSource/Loader/SqlLoader.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function loadData(): string
6363
$queryBuilder->groupBy($this->groupBy);
6464
}
6565

66-
$result = $queryBuilder->execute()->fetchAllAssociative();
66+
$result = $queryBuilder->executeQuery()->fetchAllAssociative();
6767

6868
$filesystemLocal = new Filesystem(new LocalFilesystemAdapter('/'));
6969
$stream = fopen('php://temp', 'r+');

0 commit comments

Comments
 (0)