Skip to content

Commit

Permalink
Remove Sylius < 1.3 old Kernel class (Sylius#13524)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmenozzi committed Jan 24, 2022
1 parent bc565db commit 060df36
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 186 deletions.
8 changes: 7 additions & 1 deletion UPGRADE-1.11.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ This obvious dev dependency was part of Sylius requirements. In 1.11 we've moved

Due to the drop of support PHP `7.4` Sylius also will not support it since version `1.11`.

### Potential BC-break
### Potential BC-breaks

#### WinzouStateMachine callbacks priorities

In Sylius we are using WinzouStateMachine where as example `sylius_order` state machine has declared 14 callbacks on one state.
If this will be customized and number of callbacks comes up to 16 and higher - the priority of callbacks will become randomized.
Expand All @@ -32,6 +34,10 @@ Please note that those priorities are being executed in ascending order. You can
Be aware that if those priorities were customized, this would lead to problems.
You should check and adjust priorities on your application.

#### Old Sylius < 1.3 Kernel class removed

The old Kernel class `Sylius\Bundle\CoreBundle\Application\Kernel` has been removed. This class was used before Sylius 1.3 as Kernel class for the application. If, for some reason, you're still using it upgrade to the new Sylius-Standard template which uses the Kernel inside the `src/` folder.

### Minimum price & Promotions

We added MinimumPrice to channelPricings entity, this price should be taken into account when customizing any promotions in Sylius.
Expand Down
8 changes: 0 additions & 8 deletions composer-require-checker.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,6 @@
"null", "true", "false",
"static", "self", "parent",
"array", "string", "int", "float", "bool", "iterable", "callable", "void", "object", "mixed", "never",
"Symfony\\Bundle\\DebugBundle\\DebugBundle",
"Symfony\\Bundle\\WebProfilerBundle\\WebProfilerBundle",
"Symfony\\Bundle\\WebServerBundle\\WebServerBundle",
"Doctrine\\Bundle\\DoctrineCacheBundle\\DoctrineCacheBundle",
"Doctrine\\Bundle\\FixturesBundle\\DoctrineFixturesBundle",
"Sonata\\CoreBundle\\SonataCoreBundle",
"Sonata\\IntlBundle\\SonataIntlBundle",
"PSS\\SymfonyMockerContainer\\DependencyInjection\\MockerContainer",
"Symfony\\Component\\HttpKernel\\Event\\GetResponseForExceptionEvent",
"Symfony\\Component\\HttpKernel\\EventListener\\ExceptionListener",
"Swift_Message",
Expand Down
177 changes: 0 additions & 177 deletions src/Sylius/Bundle/CoreBundle/Application/Kernel.php

This file was deleted.

0 comments on commit 060df36

Please sign in to comment.