recipes-contrib icon indicating copy to clipboard operation
recipes-contrib copied to clipboard

Adjust JWT Refresh Token Bundle recipe to use attributes

Open karpilin opened this issue 1 year ago • 1 comments

Use attributes on the entity instead of annotations as they are fully removed from ORM 3.0 and no will longer work with new setups

Q A
License MIT
Packagist https://packagist.org/packages/gesdinet/jwt-refresh-token-bundle

karpilin avatar Feb 29 '24 12:02 karpilin

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

    composer req 'symfony/flex:^1.16'
    composer req 'gesdinet/jwt-refresh-token-bundle:^1.0'
    
  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.

github-actions[bot] avatar Feb 29 '24 12:02 github-actions[bot]