Skip to content

Commit

Permalink
Merge pull request #2606 from dpfaffenbauer/issue/2583
Browse files Browse the repository at this point in the history
[Core] fix priorities between bundles
  • Loading branch information
dpfaffenbauer committed Apr 25, 2024
2 parents 207541b + 6ebe3e3 commit 1c6cb71
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/CoreShop/Bundle/CoreBundle/CoreShopCoreBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ public static function registerDependentBundles(BundleCollection $collection): v
$collection->addBundle(new CoreShopProductQuantityPriceRulesBundle(), 1600);
$collection->addBundle(new CoreShopWishlistBundle(), 1500);
$collection->addBundle(new CoreShopClassDefinitionPatchBundle(), 1400);
$collection->addBundle(new PimcoreCustomReportsBundle(), 10);
$collection->addBundle(new PimcoreNewsletterBundle(), 10);
$collection->addBundle(new PimcoreCustomReportsBundle(), 20000);
$collection->addBundle(new PimcoreNewsletterBundle(), 20000);
}

public function getPackageName(): string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ final class CoreShopFrontendBundle extends AbstractPimcoreBundle implements Depe
{
public static function registerDependentBundles(BundleCollection $collection): void
{
$collection->addBundle(new CoreShopCoreBundle(), 1600);
$collection->addBundle(new CoreShopCoreBundle(), 100);
$collection->addBundle(new EmailizrBundle(), 1000);
}

Expand Down
2 changes: 1 addition & 1 deletion src/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function registerBundlesToCollection(BundleCollection $collection): void
{
parent::registerBundlesToCollection($collection);

$collection->addBundle(new \CoreShop\Bundle\CoreBundle\CoreShopCoreBundle(), 90);
$collection->addBundle(new \CoreShop\Bundle\CoreBundle\CoreShopCoreBundle(), 10);
$collection->addBundle(new \FriendsOfBehat\SymfonyExtension\Bundle\FriendsOfBehatSymfonyExtensionBundle());
$collection->addBundle(new \CoreShop\Bundle\TestBundle\CoreShopTestBundle(), 0);
}
Expand Down

0 comments on commit 1c6cb71

Please sign in to comment.