mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-18 18:46:48 +03:00
* Add sylius/paypal-plugin:1.7 recipe
* Revert "Remove sylius/refund-plugin:0.4 recipe"
This reverts commit 4870325478.
* Correct sylius/invoicing-plugin:1.0 recipe
* Correct sylius/paypal 2.0gs recipe
* Correct sylius/refund-plugin:2.0 recipe
* Remove sylius/refund-plugin:2.0 recipe
18 lines
780 B
JSON
18 lines
780 B
JSON
{
|
|
"bundles": {
|
|
"Sylius\\PayPalPlugin\\SyliusPayPalPlugin": ["all"]
|
|
},
|
|
"copy-from-recipe": {
|
|
"config/": "%CONFIG_DIR%/"
|
|
},
|
|
"add-lines": [
|
|
{
|
|
"file": "config/packages/fos_rest.yaml",
|
|
"position": "after_target",
|
|
"warn_if_missing": true,
|
|
"target": "fos_rest:",
|
|
"content": " ###> sylius/paypal-plugin ###\n exception: true\n view:\n formats:\n json: true\n xml: true\n empty_content: 204\n format_listener:\n rules:\n - { path: '^/api/.*', priorities: ['json', 'xml'], fallback_format: json, prefer_extension: true }\n - { path: '^/', stop: true }\n ###< sylius/paypal-plugin ###\n"
|
|
}
|
|
]
|
|
}
|