Skip to content

Commit

Permalink
refactor: append bundle prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
mike4git committed Aug 10, 2024
1 parent 1a55ae5 commit 5455b18
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Docker
/compose.override.yaml

# Composer
/composer.lock
/vendor/
Expand Down
4 changes: 4 additions & 0 deletions compose.override.yaml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
services:
php:
volumes:
- ~/.composer/:/.cache/composer/
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
},
"require": {
"php": "~8.1.0 || ~8.2.0",
"pimcore/pimcore": "^10.5 || ^11.0"
"pimcore/pimcore": "^10.5 || ^11.0",
"teamneusta/converter-bundle": "^1.6"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.11",
Expand All @@ -27,7 +28,6 @@
"phpstan/phpstan-phpunit": "^1.1",
"phpstan/phpstan-symfony": "^1.2",
"phpunit/phpunit": "^9.3",
"teamneusta/converter-bundle": "^1.6",
"teamneusta/pimcore-testing-framework": "^0.11.1"
},
"extra": {
Expand Down
3 changes: 1 addition & 2 deletions config/packages/neusta_converter.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
neusta_converter:
converter:
brick.converter:
pimcore.areabrick.config.brick.converter:
target: Neusta\Pimcore\AreabrickConfigBundle\Bricks\Model\BrickView
populators:
- Neusta\Pimcore\AreabrickConfigBundle\Bricks\Populator\BrickPagePopulator
properties:
name: ~
id: ~
tags: ~
2 changes: 1 addition & 1 deletion config/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:
class: Neusta\Pimcore\AreabrickConfigBundle\Controller\Admin\AreabrickOverviewController
public: true
arguments:
$brickConverter: '@brick.converter'
$brickConverter: '@pimcore.areabrick.config.brick.converter'
tags: [ 'controller.service_arguments' ]

Neusta\Pimcore\AreabrickConfigBundle\Bricks\Populator\BrickPagePopulator: ~
Expand Down

0 comments on commit 5455b18

Please sign in to comment.