Skip to content

WIP Adapt recipe for new directory structure #1770

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

ajgarlag
Copy link
Contributor

@symfony-recipes-bot symfony-recipes-bot enabled auto-merge (squash) March 31, 2025 09:23
Copy link

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-1770/index.json
    # On Windows
    SET SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1770/index.json
  2. Install the package(s) related to this recipe:

    composer req symfony/flex
    composer req 'league/oauth2-server-bundle:^0.11'
  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.

league/oauth2-server-bundle

0.3 vs 0.11
diff --git a/league/oauth2-server-bundle/0.3/config/routes/league_oauth2.yaml b/league/oauth2-server-bundle/0.11/config/routes/league_oauth2.yaml
index 9299b3f3..4f9da301 100644
--- a/league/oauth2-server-bundle/0.3/config/routes/league_oauth2.yaml
+++ b/league/oauth2-server-bundle/0.11/config/routes/league_oauth2.yaml
@@ -1,3 +1,3 @@
 oauth2:
-    resource: '@LeagueOAuth2ServerBundle/Resources/config/routes.php'
+    resource: '@LeagueOAuth2ServerBundle/config/routes.php'
     type: php

@chalasr
Copy link
Member

chalasr commented Mar 31, 2025

On hold until I release 0.11 - will do tonight

@ajgarlag
Copy link
Contributor Author

ajgarlag commented Apr 7, 2025

Wrong repo. See symfony/recipes#1397

@ajgarlag ajgarlag closed this Apr 7, 2025
auto-merge was automatically disabled April 7, 2025 06:22

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants