Skip to content

Improve the Code BC guide #12113

Closed
Closed
@yceruto

Description

@yceruto

https://symfony.com/doc/current/contributing/code/bc.html#working-on-symfony-code

Currently we can know (in terms of BC) what is not allowed to do and why, but we are omitting that some BC breaks could be avoided with alternative solutions. For instance: symfony/symfony#33003 (comment)

I've two proposals to improve that:

  1. Add an example code + explanation where it's possible make the changes avoiding the "BC break", so contributors will know how to do it correctly. I can help to find in the codebase the workaround for each case.
  2. Add a permanent link to each BC topic, so we can easily share them.

WDYT?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions