Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Lock] remove duplicated announcing of automatic scoping - #22526

Merged
javiereguiluz merged 1 commit into
symfony:8.1from
ayyoub-afwallah:patch-3
Aug 3, 2026
Merged

[Lock] remove duplicated announcing of automatic scoping#22526
javiereguiluz merged 1 commit into
symfony:8.1from
ayyoub-afwallah:patch-3

Conversation

@ayyoub-afwallah

Copy link
Copy Markdown
Contributor

Removes the versionadded block that simply repeats the same info in the note above it

image

@javiereguiluz javiereguiluz added this to the 8.1 milestone Aug 3, 2026
@javiereguiluz
javiereguiluz merged commit edf7ed6 into symfony:8.1 Aug 3, 2026
3 checks passed
@javiereguiluz

Copy link
Copy Markdown
Member

Thanks Ayyoub. You are right that this was weird. However, the full solution was a bit different and we did some changes in 0c25c8e:

  • Normal contents (like the ..note should never mention any Symfony version)
  • The versionadded directive should be the only one that mentions when something was added to or removed from Symfony

We do this because whenever Symfony releases a new major version (e.g. Symfony 9.0 (https://symfony.com/releases/9.0) in July 2028), we delete all the versionadded directives automatically:

  • Since versionadded only contains the mention to the Symfony version number and never real docs, it's safe to remove them.
  • Since the rest of contents never mention the Symfony version, we don't have to update any contents when a new Symfony version releases

@ayyoub-afwallah
ayyoub-afwallah deleted the patch-3 branch August 3, 2026 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants