-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor #424 Update plugin to sylius 1.13. (BartoszWojdalowicz)
This PR was merged into the 1.5 branch. Discussion ---------- | Q | A | --------------- | ----- | Branch? | 1.5 (new features) | Bug fix? | no/ | New feature? | no | Related tickets | - Commits ------- Sylius 1.13 - Update composer.json Sylius 1.13 - Add workflow configuration Sylius 1.13 - Remove deprecation Sylius 1.13 - Update gh actions config Sylius 1.13 - Update bundles.php in test application Sylius 1.13 - Update bundles.php in test application Sylius 1.13 - add workflow configuration only in 1.13, add workflow to the gh actions Sylius 1.13 - add mailer configuration to the 1.13 version Sylius 1.13 - add mailer configuration in the global config of test app Sylius 1.13 - adapt state machine configuration per version Sylius 1.13 - fix composer.json problem Sylius 1.13 - try to fix problem with not existing service Sylius 1.13 - unlock sylius 13 version in gh actions Sylius 1.13 - fix behats scenarios Sylius 1.13 - Add info about state machine adapter in gh actions Sylius 1.13 - Add missing info about symfony workflow in readme Sylius 1.13 - Fix duplicated configuration key [Maintenance] Slight fixes of 1.13 support [Maintenance] Update builds
- Loading branch information
Showing
23 changed files
with
111 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use Symfony\Component\DependencyInjection\ContainerBuilder; | ||
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; | ||
|
||
return static function (ContainerConfigurator $configurator, ContainerBuilder $container): void { | ||
if (class_exists('\Symfony\Component\Workflow\Workflow')) { | ||
$configurator->import('../integrations/workflow.yaml'); | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
framework: | ||
workflows: | ||
sylius_refund_refund_payment: | ||
type: state_machine | ||
marking_store: | ||
type: method | ||
property: state | ||
supports: | ||
- Sylius\RefundPlugin\Entity\RefundPayment | ||
initial_marking: new | ||
places: | ||
- !php/const Sylius\RefundPlugin\Entity\RefundPaymentInterface::STATE_NEW | ||
- !php/const Sylius\RefundPlugin\Entity\RefundPaymentInterface::STATE_COMPLETED | ||
transitions: | ||
complete: | ||
from: !php/const Sylius\RefundPlugin\Entity\RefundPaymentInterface::STATE_NEW | ||
to: !php/const Sylius\RefundPlugin\Entity\RefundPaymentInterface::STATE_COMPLETED |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 2 additions & 0 deletions
2
...fig/sylius/1.12/packages/test/mailer.yaml → ...lication/config/packages/test/mailer.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
framework: | ||
mailer: | ||
dsn: 'null://null' | ||
cache: | ||
pools: | ||
test.mailer_pool: | ||
|
File renamed without changes.
2 changes: 0 additions & 2 deletions
2
tests/Application/config/sylius/1.11/packages/dev/swiftmailer.yaml
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
tests/Application/config/sylius/1.11/packages/staging/swiftmailer.yaml
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
tests/Application/config/sylius/1.11/packages/swiftmailer.yaml
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
tests/Application/config/sylius/1.11/packages/test/swiftmailer.yaml
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
tests/Application/config/sylius/1.11/packages/test_cached/swiftmailer.yaml
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.