* 1.13: (82 commits)
CreateAdminUserCommandTest class - sorting of used classes
InformAboutGUSCommand class - fix a typo
Update upgrade file
[AdminBundle] Change namespace of CreateAdminUser
[CoreBundle] Move classes from Command to Console/Command
[UserBundle] Move classes from Command to Console/Command
[UiBundle] Move classes from Command to Console/Command
[PromotionBundle] Move classes from Command to Console/Command
[OrderBundle] Move classes from Command to Console/Command
[AdminBundle] Move classes from Command to Console/Command
[ECS] Apply ecs fixes
[Addressing] Support BC for ZoneMatcher
[Upgrade] Note ZoneRepository addition and ZoneMatcher constructor changes
[DX] Update OrderRepository
[Statistics] Refactor GetStatisticsAction
Change new orders name to paid orders to not mix up names
fix unit test
Apply changes from comments and improve outdated StatisticsModifier
fix behat tests
Remove specs for unexisting classes and add existing ones
...
* 1.12:
[CS][DX] Refactor
Resolve phpstan issues
Resolve psalm issues
Fix Spec tests
Update src/Sylius/Component/Product/Resolver/DefaultProductVariantResolver.php
Using findBy to avoid PSALM error
Add Scenario to test default variant
Add orderBy position and id to get the same sets used on ->getEnabledVariants()
mention about service new argument
Add deprecation notice mention by @diimpp
This PR was merged into the 1.13 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.13
| Bug fix? | no
| New feature? | yes |
| BC breaks? | no
| Deprecations? | no
| Related tickets |
| License | MIT |
<!--
- Bug fixes must be submitted against the 1.12 branch
- Features and deprecations must be submitted against the 1.13 branch
- Make sure that the correct base branch is set
To be sure you are not breaking any Backward Compatibilities, check the documentation:
https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->
Commits
-------
[API][Admin] Extend GET endpoints for getting product variants
[API][Admin] Extend POST endpoint for creating a product variant
[API][Admin] Extend PUT endpoint for updating the product variant
[API][Admin] Add DELETE endpoint for product variant resource
[Behat][API] Cover scenarios for adding a product variant
[Behat][API] Cover scenarios for browsing product variants
[Behat][API] Cover scenarios for deleting a product variant
[API][Behat] Mark scenarios for generating product variants as no-api
[API][Behat] Cover scenarios for editing and validating product variants
[API] Validate option values on product variants
Fix CS and static analysis
[API] Fix contract tests after changing fixtures for product variants
[Behat][API] Extract some steps to separate contexts to resolve duplications
[Behat][API] Change setting code on option value to resolve problem with case sensitive PostgreSQL