Skip to content

Commit 0dda28f

Browse files
Pimcore 11 Support
1 parent d972fcd commit 0dda28f

File tree

4 files changed

+10636
-387
lines changed

4 files changed

+10636
-387
lines changed

ERDiagramXMLExportBundle/DependencyInjection/ERDiagramXMLExportExtension.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ class ERDiagramXMLExportExtension extends Extension
1515
public function load(array $configs, ContainerBuilder $container)
1616
{
1717
$loader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
18-
$loader->load('services.yml');
18+
if (file_exists(__DIR__ . '/../Resources/config/services.yaml')) {
19+
$loader->load('services.yaml');
20+
}
1921
}
2022
}

ERDiagramXMLExportBundle/ERDiagramXMLExportBundle.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ class ERDiagramXMLExportBundle extends AbstractPimcoreBundle
99
/**
1010
* @inheritDoc
1111
*/
12-
public function getDescription()
12+
public function getDescription(): string
1313
{
1414
return 'Provides an YED Compliant XML Representation of the Pimcore Class Structure';
1515
}
16-
}
16+
}

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44
"keywords": ["yed","xml","er diagram"],
55
"type": "pimcore-bundle",
66
"require": {
7-
"php": ">=7.4",
7+
"php": ">=8.1",
88
"ext-json": "*",
99
"symfony/console": "*",
1010
"spatie/array-to-xml": "^2.16",
11-
"pimcore/pimcore": ">=5.0"
11+
"pimcore/pimcore": "^11.0"
1212
},
1313
"license": "MIT",
1414
"authors": [
1515
{
16-
"name": "Hendrik Hofmann",
17-
"email": "hendrik.hofmann@basilicom.de",
16+
"name": "Alexander Heidrich",
17+
"email": "alexander.heidrich@basilicom.de",
1818
"role": "Developer"
1919
}
2020
],

0 commit comments

Comments
 (0)