Skip to content

Symfony Flex recipes missing for 4.x branch #6631

Closed
symfony/recipes
#1339
@lermontex

Description

@lermontex

API Platform version(s) affected: 4.0.0

Description
When trying to install a new version according to the guide, you will get an error because there are no recipes for the 4.x branch on the server, and the 3.3 recipes are not compatible

How to reproduce

symfony new bookshop-api
cd bookshop-api
symfony composer require api

Possible Solution
Update Symfony Flex recipes

Additional Context

Executing script cache:clear [KO]
 [KO]
Script cache:clear returned with error code 1
!!
!!  In ArrayNode.php line 304:
!!                                                                              
!!    Unrecognized option "keep_legacy_inflector" under "api_platform". Available options are "asset_package", "collectio
!!    n", "defaults", "description", "docs_formats", "doctrine", "doctrine_mongodb_odm", "eager_loading", "elasticsearch"
!!    , "enable_docs", "enable_entrypoint", "enable_link_security", "enable_profiler", "enable_re_doc", "enable_swagger",
!!     "enable_swagger_ui", "error_formats", "exception_to_status", "formats", "graphql", "handle_symfony_errors", "http_
!!    cache", "inflector", "jsonschema_formats", "maker", "mapping", "mercure", "messenger", "name_converter", "oauth", "
!!    openapi", "patch_formats", "path_segment_name_generator", "resource_class_directories", "serializer", "show_webby",
!!     "swagger", "title", "use_symfony_listeners", "validator", "version".     
!!                                                                              
!!
!!
Script @auto-scripts was called via post-update-cmd

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions