Skip to content

Commit

Permalink
Fix for missing configuration tree root and incompatible Class in Pim…
Browse files Browse the repository at this point in the history
…core 6.9
  • Loading branch information
Kuba Płaskonka committed Aug 28, 2021
1 parent 78cdbc0 commit 84861e9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
],
"require": {
"php": ">=7.1",
"pimcore/pimcore": "^6 || ^10.0"
"pimcore/pimcore": "^6.9 || ^10.0"
},
"require-dev": {
"phpunit/phpunit": "^7.5",
Expand Down
3 changes: 2 additions & 1 deletion src/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ class Configuration implements ConfigurationInterface
public function getConfigTreeBuilder()
{
$treeBuilder = new TreeBuilder('pimcore_devkit');

$treeBuilder->root('pimcore_devkit');

// Here you should define the parameters that are allowed to
// configure your bundle. See the documentation linked above for
// more information on that topic.
Expand Down
2 changes: 1 addition & 1 deletion src/Document/Areabrick/WysiwygWithMetadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use PimcoreDevkitBundle\Service\Wysiwyg\WysiwygService;
use Pimcore\Extension\Document\Areabrick\AbstractTemplateAreabrick;
use Pimcore\Model\Asset;
use Pimcore\Model\Document\Editable\Area\Info;
use Pimcore\Model\Document\Tag\Area\Info;

/**
* Class WysiwygWithMetadata
Expand Down

0 comments on commit 84861e9

Please sign in to comment.