Skip to content

Commit

Permalink
support of sylius 1.13
Browse files Browse the repository at this point in the history
  • Loading branch information
dsbe-ak committed Apr 26, 2024
1 parent 9be7306 commit 11d3864
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Application/config/bundles.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

use Sylius\Bundle\CoreBundle\SyliusCoreBundle;
use Sylius\Bundle\CoreBundle\Application\Kernel;

$bundles = [
Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],
Expand Down Expand Up @@ -59,16 +59,16 @@
// Symplify\ConsoleColorDiff\ConsoleColorDiffBundle::class => ['dev' => true, 'test' => true]
];

if (SyliusCoreBundle::MINOR_VERSION <= 11) {
if (Kernel::MINOR_VERSION <= 11) {
$bundles[Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle::class] = ['all' => true];
}

if (SyliusCoreBundle::MINOR_VERSION >= 12) {
if (Kernel::MINOR_VERSION >= 12) {
$bundles[League\FlysystemBundle\FlysystemBundle::class] = ['all' => true];
$bundles[Sylius\Calendar\SyliusCalendarBundle::class ] = ['all' => true];
}

if (SyliusCoreBundle::MINOR_VERSION >= 13) {
if (Kernel::MINOR_VERSION >= 13) {
$bundles[Sylius\Abstraction\StateMachine\SyliusStateMachineAbstractionBundle::class ] = ['all' => true];
}

Expand Down

0 comments on commit 11d3864

Please sign in to comment.