Skip to content
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

Upgrade Symfony 6.0 dependencies #1914

Commits on Nov 30, 2021

  1. feat(dependencies): nelmio#1913 - upgrade symfony 60 dependencies

    Fabiano Roberto committed Nov 30, 2021
    Configuration menu
    Copy the full SHA
    c6ee3ef View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2021

  1. fixed : add doc blocks to silence Symfony deprecations (nelmio#1922)

    * fixed : add doc blocks to silence Symfony deprecations
    
    Symfony 5.4 returning deprecations about 
    ```
    User Deprecated: Method "Twig\Extension\ExtensionInterface::getFunctions()" might add "array" as a native return type declaration in the future.
    Do the same in implementation "Nelmio\ApiDocBundle\Render\Html\GetNelmioAsset" now to avoid errors or add an explicit @return annotation to suppress this message.
    ```
    
    * fixed : native hint
    encreinformatique committed Dec 11, 2021
    Configuration menu
    Copy the full SHA
    4148dfd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a184cb8 View commit details
    Browse the repository at this point in the history
  3. try fix nelmio#1876 (nelmio#1919)

    Gemorroj committed Dec 11, 2021
    Configuration menu
    Copy the full SHA
    a041c69 View commit details
    Browse the repository at this point in the history
  4. Add support for zircore/swagger-php 4.0 (nelmio#1916)

    * add zircore/swagger-php v4 to composer.json
    
    * fix incompatibilities
    
    * add compatibility with 3.2
    
    * Apply fixes from StyleCI
    
    * mark SetsContextTrait as internal
    
    * Bump php version
    
    Co-authored-by: Alexey <alshenestky@icloud.com>
    Co-authored-by: Alexey Alshenetsky <alshenetsky@users.noreply.github.com>
    Co-authored-by: Guilhem Niot <guilhem@gniot.fr>
    4 people committed Dec 11, 2021
    Configuration menu
    Copy the full SHA
    14383f4 View commit details
    Browse the repository at this point in the history
  5. Proposal: Add header_block Twig Block (nelmio#1896)

    * Adding ``header_block`` Twig Block
    
    In attempting to remove the default green header from the API docs (I am integrating the docs into a site that already has a header), I have found that the only possible way to do so is to overwrite the entire ``index.html.twig`` file.  This is because the existing ``{% header %}`` twig tags are placed *inside* the ``<header>`` HTML tags.  So, if one overrides the ``{% header %}`` block, it only adjusts the header content, as opposed to allowing control over the entire header object.
    
    To resolve this problem I considered two methods:
    
    - Move the existing ``{% header %}`` tags _*outside*_ of the ``<header>`` tags.  This would resolve the problem in the simplest fashion, but would be a breaking change for those currently overriding the block.
    
    - Add a new twig block, placing its tags *_outside_* the existing ``<header>`` tags.  This would leave the existing functionality as-is, and would not break any current implementations.
    
    I chose the latter for the reasons specified above, and suggested the name ``{% header_block %}``.  Thanks for considering this proposal.
    
    * Add Location of Original Twig Template
    
    This doc page advises that one can `have a look at the original template to see which blocks can be overridden`, but does not say where the original template can be found.  This edit adds that information so that users don't have to resort to searching for keywords (like I just had to).
    
    Note that I haven't run any tests as this is a docs-only change.
    copiri-six committed Dec 11, 2021
    Configuration menu
    Copy the full SHA
    babf788 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2021

  1. Add missing null check to ControllerReflector::getReflectionMethod (n…

    …elmio#1918)
    
    * add null check
    
    nelmio#1909
    
    * less code is better
    
    * add tests for ControllerReflection::getReflectionMethod()
    
    * lint fix
    
    * style_ci fixes
    
    Co-authored-by: Alexey <alshenestky@icloud.com>
    alshenetsky and Alexey committed Dec 12, 2021
    Configuration menu
    Copy the full SHA
    7de49bb View commit details
    Browse the repository at this point in the history
  2. feat(dependencies): nelmio#1913 - upgrade symfony 60 dependencies

    Fabiano Roberto committed Dec 12, 2021
    Configuration menu
    Copy the full SHA
    969e2cd View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2021

  1. WIP: nelmio#1913 - update codebase to work with php 8.0 and drop supp…

    …ort to symfony < 5.3
    Fabiano Roberto committed Dec 13, 2021
    Configuration menu
    Copy the full SHA
    f035797 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'origin/feature/1913-upgrate-symfony-60-…

    …dependencies' into feature/1913-upgrate-symfony-60-dependencies
    
    # Conflicts:
    #	.github/workflows/continuous-integration.yml
    #	composer.json
    Fabiano Roberto committed Dec 13, 2021
    Configuration menu
    Copy the full SHA
    807e89b View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2021

  1. WIP: nelmio#1913 - apply patch of StyleCI

    Fabiano Roberto committed Dec 14, 2021
    Configuration menu
    Copy the full SHA
    b4eda4a View commit details
    Browse the repository at this point in the history