symfony / recipes-contrib

Symfony Contrib Recipes Repositories
https://github.com/symfony/recipes-contrib/blob/flex/main/RECIPES.md
MIT License
528 stars 630 forks source link

Fix: hints #1693

Closed OskarStark closed 4 weeks ago

OskarStark commented 4 weeks ago
Q A
License MIT
Packagist https://packagist.org/packages/sensiolabs-de/storyblok-bundle
github-actions[bot] commented 4 weeks ago

Thanks for the PR 😍

How to test these changes in your application

  1. Define the SYMFONY_ENDPOINT environment variable:

    # On Unix-like (BSD, Linux and macOS)
    export SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1693/index.json
    # On Windows
    SET SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1693/index.json
  2. Install the package(s) related to this recipe:

    composer req 'symfony/flex:^1.16'
    composer req 'sensiolabs-de/storyblok-bundle:^0.3'
  3. Don't forget to unset the SYMFONY_ENDPOINT environment variable when done:

    # On Unix-like (BSD, Linux and macOS)
    unset SYMFONY_ENDPOINT
    # On Windows
    SET SYMFONY_ENDPOINT=

Diff between recipe versions

In order to help with the review stage, I'm in charge of computing the diff between the various versions of patched recipes. I'm going keep this comment up to date with any updates of the attached patch.

sensiolabs-de/storyblok-bundle

0.1 vs 0.2 ```diff diff --git a/sensiolabs-de/storyblok-bundle/0.1/config/packages/storyblok.yaml b/sensiolabs-de/storyblok-bundle/0.2/config/packages/storyblok.yaml index e60c7e28..7615ba87 100644 --- a/sensiolabs-de/storyblok-bundle/0.1/config/packages/storyblok.yaml +++ b/sensiolabs-de/storyblok-bundle/0.2/config/packages/storyblok.yaml @@ -2,3 +2,4 @@ storyblok: base_uri: '%env(STORYBLOK_API_BASE_URI)%' token: '%env(STORYBLOK_API_TOKEN)%' # assets_token: '%env(STORYBLOK_ASSETS_API_TOKEN)%' +# webhook_secret: '%env(STORYBLOK_WEBHOOK_SECRET)%' diff --git a/sensiolabs-de/storyblok-bundle/0.2/config/routes/storyblok.yaml b/sensiolabs-de/storyblok-bundle/0.2/config/routes/storyblok.yaml new file mode 100644 index 00000000..17d9f3c2 --- /dev/null +++ b/sensiolabs-de/storyblok-bundle/0.2/config/routes/storyblok.yaml @@ -0,0 +1,2 @@ +storyblok: + resource: '@StoryblokBundle/config/routes.php' diff --git a/sensiolabs-de/storyblok-bundle/0.1/manifest.json b/sensiolabs-de/storyblok-bundle/0.2/manifest.json index e94bd732..331afda5 100644 --- a/sensiolabs-de/storyblok-bundle/0.1/manifest.json +++ b/sensiolabs-de/storyblok-bundle/0.2/manifest.json @@ -8,6 +8,7 @@ "env": { "STORYBLOK_API_BASE_URI": "https://api.storyblok.com", "STORYBLOK_API_TOKEN": "", - "#1": "STORYBLOK_ASSETS_API_TOKEN=" + "#1": "STORYBLOK_ASSETS_API_TOKEN=", + "#2": "STORYBLOK_WEBHOOK_SECRET=" } } ```
0.2 vs 0.3 ```diff diff --git a/sensiolabs-de/storyblok-bundle/0.2/config/packages/storyblok.yaml b/sensiolabs-de/storyblok-bundle/0.3/config/packages/storyblok.yaml index 7615ba87..a4f24faf 100644 --- a/sensiolabs-de/storyblok-bundle/0.2/config/packages/storyblok.yaml +++ b/sensiolabs-de/storyblok-bundle/0.3/config/packages/storyblok.yaml @@ -1,5 +1,6 @@ storyblok: base_uri: '%env(STORYBLOK_API_BASE_URI)%' token: '%env(STORYBLOK_API_TOKEN)%' +# version: '%env(STORYBLOK_VERSION)%' # assets_token: '%env(STORYBLOK_ASSETS_API_TOKEN)%' # webhook_secret: '%env(STORYBLOK_WEBHOOK_SECRET)%' diff --git a/sensiolabs-de/storyblok-bundle/0.2/manifest.json b/sensiolabs-de/storyblok-bundle/0.3/manifest.json index 331afda5..4db4e29f 100644 --- a/sensiolabs-de/storyblok-bundle/0.2/manifest.json +++ b/sensiolabs-de/storyblok-bundle/0.3/manifest.json @@ -8,7 +8,8 @@ "env": { "STORYBLOK_API_BASE_URI": "https://api.storyblok.com", "STORYBLOK_API_TOKEN": "", - "#1": "STORYBLOK_ASSETS_API_TOKEN=", - "#2": "STORYBLOK_WEBHOOK_SECRET=" + "#1": "STORYBLOK_VERSION=", + "#2": "STORYBLOK_ASSETS_API_TOKEN=", + "#3": "STORYBLOK_WEBHOOK_SECRET=" } } ```